body {
    background: linear-gradient(52deg, #3400ffb5 0%, #764ba200 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}



/* main card container */
.glass-card {
    background: rgb(255 255 255 / 38%);
    backdrop-filter: blur(5px);
    border-radius: 2rem;
    box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.35), 0 8px 18px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 480px;
    padding: 2.2rem 2rem 2.5rem;
    transition: box-shadow 0.3s ease;
    border: 4px solid rgb(255 247 247 / 51%);
    border-style: outset;
    margin-bottom: 15rem;
}

.glass-card:hover {
    box-shadow: 0px 20px 50px 5px rgb(0 0 0 / 60%);
}

/* title area + styling original tags */
.title {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem 0.6rem;
    position: relative;
}

.title h2 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #2c3e4e;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #1e2a3a, #2c3e50);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin: 0;
}

.title h1 {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(125deg, #0077b6, #00b4d8, #0077b6);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin: 0;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    filter: drop-shadow(0px 0px 0px black);
}

/* elegant welcome subtitle */
.welcome-sub {
    text-align: center;
    font-size: 0.85rem;
    color: #4b6a7c;
    margin-top: -0.8rem;
    margin-bottom: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.2px;
    border-bottom: 1px dashed #dceaf2;
    display: inline-block;
    width: auto;
    padding-bottom: 0.5rem;
}

/* form group styling */
.form-group {
    margin-bottom: 1.5rem;
}

label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: #1f3a48;
    margin-bottom: 0.6rem;
    letter-spacing: -0.2px;
}

label i {
    font-size: 1rem;
    color: #2c7da0;
    width: 1.25rem;
    transition: color 0.2s;
}

/* modern input field */
.input-wrapper {
    position: relative;
    width: 100%;
}

input {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    font-family: 'Vazirmatn', 'Segoe UI', monospace;
    border: 2px solid #e2edf2;
    border-radius: 1.2rem;
    background-color: #ffffff;
    transition: all 0.25s ease;
    outline: none;
    color: #1e2f3a;
    font-weight: 500;
    letter-spacing: -0.2px;
}

input:focus {
    border-color: #2c7da0;
    box-shadow: 0 0 0 4px rgba(44, 125, 160, 0.15);
    background-color: #fefefe;
}

input::placeholder {
    color: #b2c9d4;
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* CTA button : modern gradient + animation */
button {
    width: 100%;
    background: linear-gradient(105deg, #1e6f5c, #289672, #1e6f5c);
    background-size: 200% auto;
    border: none;
    padding: 0.9rem 1rem;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Vazirmatn', sans-serif;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 0 8px 18px rgba(30, 111, 92, 0.25);
    letter-spacing: 0.3px;
}

button i {
    font-size: 1rem;
    transition: transform 0.2s;
}

button:hover {
    background-position: right center;
    transform: scale(1.01);
    box-shadow: 0 12px 22px rgba(30, 111, 92, 0.4);
}

button:hover i {
    transform: translateX(-4px);
}

button:active {
    transform: scale(0.98);
}

/* responsive for smaller devices */
@media (max-width: 500px) {
    .glass-card {
        padding: 1.5rem 1.2rem 2rem;
    }

    .title h1 {
        font-size: 1.6rem;
    }

    .title h2 {
        font-size: 1.2rem;
    }

    button {
        font-size: 1rem;
        padding: 0.75rem;
    }

    input {
        padding: 0.75rem 1rem;
    }
}

/* rtl fine-tune: icons in labels properly */
label i {
    margin-left: 0px;
}

/* custom focus ring accessibility */
input:focus-visible,
button:focus-visible {
    outline: 2px solid #0077b6;
    outline-offset: 2px;
}