﻿.remember-me {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* راست‌چین */
    gap: 8px;
  /*  direction: rtl;*/
}

    .remember-me .form-check-input {
        margin-left: 0;
        margin-right: 0;
    }

.swal-success-toast {
    border-left: 6px solid #198754; /* سبز بوت‌استرپ */
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
}

/* ---------- Global ---------- */
body {
    font-family: 'Vazirmatn', sans-serif;
    background: linear-gradient(135deg, #0f1c48, #1a2a6c);
    margin: 0;
}

/* ---------- Auth Wrapper ---------- */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* ---------- Auth Card ---------- */
.auth-card {
    background: #fff;
    width: 100%;
    max-width: 580px; /* فرم عریض‌تر */
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    animation: fadeSlideUp .8s ease;
    border-top: 5px solid #b71c1c; /* جذاب‌تر شدن ظاهر */
}

/* ---------- Animations ---------- */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Logo ---------- */
.auth-logo {
    text-align: center;
    margin-bottom: 25px;
    margin-top: 10px;
}

    .auth-logo img {
        height: 90px;
    }

/* ---------- Titles ---------- */
.auth-title {
    text-align: center;
    font-weight: 700;
    color: #1a2a6c;
    font-size: 26px;
    margin-bottom: 5px;
}

.auth-subtitle {
    text-align: center;
    font-size: 15px;
    color: #555;
    margin-bottom: 35px;
}

/* ---------- Form Group ---------- */
.form-group {
    position: relative;
    margin-bottom: 22px;
    direction: rtl; /* راست‌چین */
}

    .form-group i {
        position: absolute;
        top: 50%;
        right: 15px; /* سمت راست */
        transform: translateY(-50%);
        color: #b71c1c;
        font-size: 20px;
    }

    .form-group input {
        width: 100%;
        padding: 15px 50px 15px 15px; /* فاصله راست برای آیکن، چپ برای متن */
        border-radius: 15px;
        border: 1px solid #ccc;
        transition: 0.3s;
        font-size: 16px;
        direction: rtl;
        text-align: right; /* placeholder و متن راست‌چین */
        box-sizing: border-box;
    }

        .form-group input::placeholder {
            color: #999;
            opacity: 1;
        }

        /* Focus */
        .form-group input:focus {
            border-color: #b71c1c;
            box-shadow: 0 0 0 4px rgba(183,28,28,0.15);
            outline: none;
        }

/* ---------- Validation Message ---------- */
span.text-danger {
    font-size: 0.875rem;
    margin-top: 5px;
    display: block;
    text-align: right;
}

/* ---------- Button ---------- */
.btn-auth {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #b71c1c, #ff5252);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.4s;
    box-shadow: 0 12px 35px rgba(183,28,28,0.35);
    font-size: 17px;
}

    .btn-auth:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 45px rgba(183,28,28,0.45);
    }

/* ---------- Footer ---------- */
.auth-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
}

    .auth-footer a {
        color: #b71c1c;
        font-weight: 600;
        text-decoration: none;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }




        /*New*/
.auth-header-special {
    text-align: center;
    margin-bottom: 35px;
}

.auth-title-special {
    margin-bottom: 15px;
}

.title-gradient {
    background: linear-gradient(135deg, #2c3e50 0%, #c0392b 50%, #2c3e50 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 30px;
    font-weight: 700;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.auth-subtitle-special {
    color: #6c757d;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

    .auth-subtitle-special i {
        color: #ffd700;
        animation: sparkle 2s infinite;
    }

@keyframes sparkle {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}
.welcome-hand {
    font-size: 18px;
    animation: waveHand 2s infinite;
}
@keyframes waveHand {
    0%, 60%, 100% {
        transform: rotate(0);
    }

    10%, 30% {
        transform: rotate(-15deg);
    }

    20%, 40% {
        transform: rotate(15deg);
    }
}
