@font-face {
    font-family: 'Vazir';
    src: url('../assets/fonts/vazir.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0f2027;
    background: linear-gradient(to right, #2c5364, #203a43, #0f2027);
}

.background {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.shape {
    display: none;
}

.shape:first-child {
    display: none;
}

.shape:last-child {
    display: none;
}

form {
    width: 100%;
    max-width: 400px;
    padding: 40px;
    margin: 20px;
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(8, 7, 16, 0.6);
    border-radius: 10px;
}

@media screen and (max-width: 480px) {
    form {
        margin: 0;
        height: 100vh;
        max-width: none;
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-radius: 0;
    }

    .background {
        height: 100vh;
    }

    .shape {
        height: 200px;
        width: 200px;
    }
}

h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: normal;
    color: #ffffff;
}

label {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
    color: #ffffff;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.07);
    border: none;
    outline: none;
    border-radius: 5px;
    color: #ffffff;
    transition: all 0.3s ease;
}

input::placeholder {
    color: #e5e5e5;
}

input:focus {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

button {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    background: #ffffff;
    color: #080710;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.error {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid rgba(255, 68, 68, 0.2);
    backdrop-filter: blur(5px);
}

.login-link {
    text-align: center;
    margin-top: 15px;
}

.login-link a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-link a:hover {
    color: #23a2f6;
    text-decoration: underline;
}

.confirm-password {
    margin-bottom: 1.5rem;
}

.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    direction: rtl;
}

.toast {
    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 10px;
    box-shadow: 0 0 40px rgba(8, 7, 16, 0.6);
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 320px;
    max-width: 400px;
    transform: translateX(150%);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.toast.show {
    transform: translateX(0);
}

.toast.error {
    border-right: 4px solid rgba(255, 68, 68, 0.5);
    background: linear-gradient(to left, rgba(255, 68, 68, 0.1), rgba(255, 255, 255, 0.13));
}

.toast.success {
    border-right: 4px solid rgba(0, 200, 81, 0.5);
    background: linear-gradient(to left, rgba(0, 200, 81, 0.1), rgba(255, 255, 255, 0.13));
}

.toast-content {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin-left: 10px;
    text-align: right;
    flex: 1;
}

.toast-close {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 20px;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

@media screen and (max-width: 480px) {
    .toast-container {
        right: 10px;
        left: 10px;
    }
    .toast {
        min-width: auto;
        width: 100%;
    }
}
.send-code-button {
    display: inline-block;
    margin-right: 8px;
    padding: 6px 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 0.9em;
    border-radius: 3px;
}
.send-code-button:disabled {
    background-color: #aaa;
    cursor: not-allowed;
}

.verification-code-container {
    margin-top: 10px;
}