﻿body.auth-page {
    background: #ffffff;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
    margin: 0;
    direction: ltr
}

.auth-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 420px;
    transition: .3s;
    text-align: center
}

.auth-logo {
    width: 200px;
    margin-bottom: 10px;
    border-radius: 14px
}

.auth-title {
    font-weight: 800;
    color: #1f2d3d;
    font-size: 1.3rem;
    margin-bottom: 1rem
}

.auth-form-control {
    border-radius: 50px;
    border: 1px solid #ccc;
    background: #f9f9f9;
    color: #333;
    padding: 0.9rem 1.25rem 0.9rem 3rem;
    font-size: 1rem;
    margin-bottom: 1.3rem;
    transition: .3s;
    width: 100%
}

    .auth-form-control:focus {
        background: #fff;
        color: #000;
        border-color:grey;
        box-shadow: 0 0 5px rgba(255,59,63,0.3);
        outline: none
    }

.input-wrapper {
    position: relative
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.2rem;
    transition: .3s;
    cursor: pointer
}

.input-wrapper:focus-within .input-icon, .input-wrapper.filled .input-icon {
    color: grey
}

.auth-btn {
    background:#0e4b83;
    border: none;
    border-radius: 50px;
    padding: 0.9rem;
    font-weight: bold;
    font-size: 1.05rem;
    color: #fff;
    width: 100%;
    transition: .3s
}

    .auth-btn:hover {
        opacity: 0.9;
        background: #0e4b83;
        color:#fff;
        color:#fff;
    }

.auth-link {
    color: gray;
    text-align: center;
    display: block;
    margin-top: 1rem;
    font-weight: 500
}

    .auth-link:hover {
        text-decoration: underline
    }
.password-requirements {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    font-size: 0.75rem;
    color: #999;
    text-align: right; 
    direction: rtl; 
}

    .password-requirements li {
        margin-bottom: 0.25rem;
        display: flex;
        align-items: center;
        gap: 5px;
        justify-content: flex-start;
        flex-direction: row-reverse; 
    }

        .password-requirements li i {
            font-size: 0.85rem; 
            color: #999;
            flex-shrink: 0;
            transition: color 0.3s ease;
        }

        .password-requirements li.valid {
            color: #28a745;
            font-weight: 600;
        }

            .password-requirements li.valid i {
                color: #28a745;
            }

@media(max-width:576px) {
    .auth-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem
    }

    .auth-title {
        font-size: 1.5rem
    }

    .auth-form-control {
        padding: 0.85rem 1rem 0.85rem 2.5rem
    }

    .input-icon {
        font-size: 1rem;
        left: 10px
    }
}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear {
    display: none;
}