/* ========================================
   MEME Auth Pages - Professional Design
   صفحات المصادقة بألوان اللوجو
   Teal + Gold + Brown Theme/home/zizu/Desktop/memeproject/final29./final29/public_html/assets/css/auth.css
   ======================================== */

/* ========================================
   خلفية الصفحة - Background with Logo Colors
   ======================================== */

.auth-page {
    min-height: 100vh;
    background: #f8faf9;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(30, 107, 94, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 165, 116, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(107, 78, 61, 0.03) 0%, transparent 50%);
    position: relative;
    overflow-x: hidden;
}

/* شبكة خلفية بلون Teal خفيف */
.auth-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(30, 107, 94, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 107, 94, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
    pointer-events: none;
}

/* دائرة متحركة بتدرج ذهبي */
.auth-page::after {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.08), rgba(107, 78, 61, 0.06));
    border-radius: 50%;
    animation: floatCircle 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes floatCircle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(150px, -80px) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translate(250px, 120px) scale(0.9);
        opacity: 0.5;
    }
    75% {
        transform: translate(80px, 180px) scale(1.15);
        opacity: 0.7;
    }
}

/* ========================================
   الحاوية الرئيسية
   ======================================== */

.auth-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* ========================================
   الشعار - Logo Area
   ======================================== */

.auth-logo {
    text-align: center;
    margin-bottom: 36px;
    animation: fadeInDown 0.8s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-logo img {
    max-width: 160px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 6px 16px rgba(212, 165, 116, 0.25));
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.auth-logo img:hover {
    transform: scale(1.08) rotate(-2deg);
    filter: drop-shadow(0 8px 24px rgba(212, 165, 116, 0.4));
}

.auth-logo h1 {
    font-size: clamp(28px, 5vw, 38px);
    font-weight: 900;
    background: linear-gradient(135deg, #1e6b5e 0%, #d4a574 50%, #6b4e3d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.auth-logo p {
    font-size: clamp(14px, 2vw, 16px);
    color: #5a6f69;
    font-weight: 600;
    margin: 0;
}

/* ========================================
   صندوق المصادقة - Auth Box
   ======================================== */

.auth-box {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 28px;
    padding: 44px;
    box-shadow: 
        0 0 0 1px rgba(30, 107, 94, 0.08),
        0 12px 48px rgba(30, 107, 94, 0.12),
        0 24px 72px rgba(107, 78, 61, 0.08);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease 0.2s backwards;
    border: 2px solid rgba(212, 165, 116, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* تأثير لامع ذهبي */
.auth-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(212, 165, 116, 0.05) 50%,
        transparent 100%
    );
    transform: rotate(-45deg);
    pointer-events: none;
}

/* حد علوي بتدرج ذهبي */
.auth-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(
        90deg,
        #1e6b5e 0%,
        #d4a574 50%,
        #1e6b5e 100%
    );
    background-size: 200% 100%;
    animation: gradientFlow 4s ease-in-out infinite;
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* ========================================
   رأس الصندوق
   ======================================== */

.auth-header {
    text-align: center;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.auth-header h2 {
    font-size: clamp(24px, 4vw, 30px);
    font-weight: 800;
    color: #2c3e3a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.auth-header h2 i {
    font-size: 30px;
    background: linear-gradient(135deg, #1e6b5e, #3a9b8f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iconPulse 2.5s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.12);
    }
}

.auth-header p {
    font-size: 15px;
    color: #5a6f69;
    margin: 0;
    font-weight: 500;
}

/* ========================================
   النماذج - Forms
   ======================================== */

.form-group {
    margin-bottom: 26px;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 14px;
    color: #2c3e3a;
    transition: all 0.3s ease;
}

.form-group label i {
    font-size: 17px;
    width: 22px;
    text-align: center;
}

/* ألوان الأيقونات من اللوجو */
.form-group label i.fa-envelope {
    color: #d4a574; /* ذهبي */
}

.form-group label i.fa-lock,
.form-group label i.fa-key {
    color: #1e6b5e; /* Teal */
}

.form-group label i.fa-user {
    color: #3a9b8f; /* Teal فاتح */
}

.form-group label i.fa-mobile-alt,
.form-group label i.fa-phone {
    color: #6b4e3d; /* بني */
}

.form-group label i.fa-map-marker-alt,
.form-group label i.fa-home {
    color: #8a6752; /* بني فاتح */
}

.form-group label .required {
    color: #d96c6c;
    font-weight: 800;
}

/* الحقول */
.form-control {
    width: 100%;
    padding: 16px 20px;
    font-size: 15px;
    font-family: 'Cairo', sans-serif;
    color: #2c3e3a;
    background: #f8faf9;
    border: 2px solid #e0e8e5;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control:hover {
    border-color: #c7d6d0;
    background: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: #1e6b5e;
    background: #ffffff;
    box-shadow: 
        0 0 0 4px rgba(30, 107, 94, 0.12),
        0 4px 16px rgba(30, 107, 94, 0.18);
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: #8a9d96;
    font-weight: 400;
}

/* حالة الخطأ */
.form-control.is-invalid {
    border-color: #d96c6c;
    background: rgba(217, 108, 108, 0.04);
}

.form-control.is-invalid:focus {
    box-shadow: 
        0 0 0 4px rgba(217, 108, 108, 0.12),
        0 4px 16px rgba(217, 108, 108, 0.18);
}

/* حالة النجاح */
.form-control.is-valid {
    border-color: #3a9b8f;
    background: rgba(58, 155, 143, 0.04);
}

.form-control.is-valid:focus {
    box-shadow: 
        0 0 0 4px rgba(58, 155, 143, 0.12),
        0 4px 16px rgba(58, 155, 143, 0.18);
}

/* ========================================
   حقول كلمة المرور
   ======================================== */

.password-input {
    position: relative;
}

.password-input .form-control {
    padding-left: 52px;
}

.password-input .toggle-password {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #5a6f69;
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
}

.password-input .toggle-password:hover {
    background: rgba(212, 165, 116, 0.15);
    color: #d4a574;
}

.password-input .toggle-password:active {
    transform: translateY(-50%) scale(0.92);
}

/* ========================================
   مؤشر قوة كلمة المرور
   ======================================== */

.password-strength {
    margin-top: 10px;
    height: 5px;
    background: #e0e8e5;
    border-radius: 5px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    transition: all 0.4s ease;
    border-radius: 5px;
    position: relative;
}

.password-strength-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 100%
    );
    animation: shimmer 1.8s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.password-strength-bar.weak {
    width: 33.33%;
    background: linear-gradient(90deg, #d96c6c, #c45555);
}

.password-strength-bar.medium {
    width: 66.66%;
    background: linear-gradient(90deg, #e8a35a, #d4a574);
}

.password-strength-bar.strong {
    width: 100%;
    background: linear-gradient(90deg, #3a9b8f, #1e6b5e);
}

.password-strength-text {
    font-size: 12px;
    margin-top: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.password-strength-text.weak {
    color: #d96c6c;
}

.password-strength-text.medium {
    color: #d4a574;
}

.password-strength-text.strong {
    color: #3a9b8f;
}

/* ========================================
   الخيارات
   ======================================== */

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
    gap: 18px;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
    font-size: 14px;
    color: #5a6f69;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    color: #2c3e3a;
}

.checkbox-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #1e6b5e;
    border-radius: 6px;
}

/* رابط نسيت كلمة المرور - ذهبي */
.forgot-link {
    font-size: 14px;
    font-weight: 800;
    color: #d4a574;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.forgot-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background: #d4a574;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.forgot-link:hover {
    color: #b8945f;
}

.forgot-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ========================================
   الأزرار
   ======================================== */

.btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 28px;
    font-size: 17px;
    font-weight: 800;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary.btn-block {
    background: linear-gradient(135deg, #1e6b5e 0%, #3a9b8f 100%);
    color: #ffffff;
    border: none;
    box-shadow: 
        0 6px 18px rgba(30, 107, 94, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary.btn-block:hover {
    background: linear-gradient(135deg, #164d44 0%, #2d8b7a 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 10px 28px rgba(30, 107, 94, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary.btn-block:active {
    transform: translateY(0);
}

/* تأثير الموجة */
.btn-block::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-block:active::before {
    width: 400px;
    height: 400px;
}

/* حالة التحميل */
.btn-loading {
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ========================================
   تسجيل الدخول بالحسابات الاجتماعية
   ======================================== */

.social-login {
    margin-top: 36px;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 26px;
    color: #8a9d96;
    font-size: 14px;
    font-weight: 700;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(212, 165, 116, 0.3),
        transparent
    );
    margin: 0 18px;
}

/* أزرار Social */
.social-buttons {
    display: flex;
    gap: 14px;
    flex-direction: column;
}

.btn-google,
.btn-facebook {
    width: 100%;
    padding: 16px 22px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    border: 2px solid #e0e8e5;
    border-radius: 14px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.btn-google {
    color: #2c3e3a;
}

.btn-google:hover {
    background: #f8faf9;
    border-color: #d4a574;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.2);
}

.btn-google svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.btn-facebook {
    color: #ffffff;
    background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%);
    border-color: #1877f2;
}

.btn-facebook:hover {
    background: linear-gradient(135deg, #0d65d9 0%, #0952b8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.4);
}

.btn-facebook i {
    font-size: 22px;
}

/* ========================================
   التذييل
   ======================================== */

.auth-footer {
    text-align: center;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 2px solid rgba(212, 165, 116, 0.15);
}

.auth-footer p {
    color: #5a6f69;
    font-size: 15px;
    margin: 0;
    font-weight: 600;
}

.auth-footer a {
    color: #3a9b8f;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.auth-footer a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background: #3a9b8f;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.auth-footer a:hover {
    color: #1e6b5e;
}

.auth-footer a:hover::after {
    transform: scaleX(1);
}

/* ========================================
   العودة للرئيسية
   ======================================== */

.back-home {
    text-align: center;
    margin-top: 26px;
    animation: fadeIn 1s ease 0.4s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.back-home a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #5a6f69;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.back-home a:hover {
    background: rgba(212, 165, 116, 0.1);
    color: #d4a574;
    border-color: rgba(212, 165, 116, 0.3);
    transform: translateX(6px);
}

.back-home a i {
    transition: transform 0.3s ease;
}

.back-home a:hover i {
    transform: translateX(6px);
}

/* ========================================
   الرسائل - Alerts
   ======================================== */

.alert {
    padding: 18px 24px;
    border-radius: 14px;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    font-size: 14px;
    border-right: 5px solid;
    animation: slideInRight 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: alertShine 2.5s ease-in-out infinite;
}

@keyframes alertShine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.alert i {
    font-size: 22px;
    flex-shrink: 0;
}

.alert-success {
    background: linear-gradient(135deg, rgba(58, 155, 143, 0.12), rgba(30, 107, 94, 0.08));
    border-color: #3a9b8f;
    color: #1a5951;
}

.alert-success i {
    color: #3a9b8f;
}

.alert-error,
.alert-danger {
    background: linear-gradient(135deg, rgba(217, 108, 108, 0.12), rgba(200, 90, 90, 0.08));
    border-color: #d96c6c;
    color: #8a3838;
}

.alert-error i,
.alert-danger i {
    color: #d96c6c;
}

.alert-warning {
    background: linear-gradient(135deg, rgba(232, 163, 90, 0.12), rgba(212, 165, 116, 0.08));
    border-color: #e8a35a;
    color: #8a5c2e;
}

.alert-warning i {
    color: #e8a35a;
}

.alert-info {
    background: linear-gradient(135deg, rgba(58, 155, 143, 0.12), rgba(86, 191, 177, 0.08));
    border-color: #56bfb1;
    color: #2d7a6f;
}

.alert-info i {
    color: #56bfb1;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 992px) {
    .auth-container {
        padding: 32px 20px;
    }
    
    .auth-box {
        padding: 38px;
    }
}

@media (max-width: 768px) {
    .auth-page::after {
        width: 220px;
        height: 220px;
    }
    
    .auth-container {
        padding: 26px 18px;
    }
    
    .auth-logo {
        margin-bottom: 28px;
    }
    
    .auth-logo img {
        max-width: 130px;
    }
    
    .auth-box {
        padding: 32px 26px;
        border-radius: 24px;
    }
    
    .form-group {
        margin-bottom: 22px;
    }
}

@media (max-width: 480px) {
    .auth-box {
        padding: 26px 22px;
    }
    
    .btn-block {
        padding: 16px 22px;
        font-size: 16px;
    }
}

/* ========================================
   Accessibility
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ========================================
   تحسينات إضافية - اللوجو والأيقونات
   ======================================== */

/* Logo مع Border ذهبي */
.auth-logo img {
    border: 4px solid transparent;
    border-radius: 20px;
    padding: 12px;
    background: 
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, #d4a574 0%, #1e6b5e 50%, #6b4e3d 100%) border-box;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.auth-logo img:hover {
    transform: scale(1.1) rotate(-3deg);
    filter: drop-shadow(0 12px 32px rgba(212, 165, 116, 0.5));
    border-width: 5px;
}

/* ========================================
   تلوين أيقونات الروابط المميزة
   ======================================== */

/* نسيت كلمة المرور - ذهبي مع تأثير */
.forgot-link {
    font-size: 14px;
    font-weight: 800;
    color: #d4a574;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
}

.forgot-link i {
    font-size: 15px;
    animation: keyRotate 3s ease-in-out infinite;
}

@keyframes keyRotate {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    75% {
        transform: rotate(15deg);
    }
}

.forgot-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.1), rgba(184, 148, 95, 0.1));
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.forgot-link:hover::before {
    opacity: 1;
}

.forgot-link:hover {
    color: #b8945f;
    transform: translateY(-1px);
}

.forgot-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4a574, transparent);
    transition: transform 0.3s ease;
}

.forgot-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* إنشاء حساب جديد - Teal مع تأثير */
.auth-footer a {
    color: #3a9b8f;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 8px;
}

.auth-footer a i {
    font-size: 16px;
    animation: userPulse 2s ease-in-out infinite;
}

@keyframes userPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

.auth-footer a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(58, 155, 143, 0.1), rgba(30, 107, 94, 0.1));
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-footer a:hover::before {
    opacity: 1;
}

.auth-footer a:hover {
    color: #1e6b5e;
    transform: translateY(-1px);
}

.auth-footer a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 85%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3a9b8f, transparent);
    transition: transform 0.3s ease;
}

.auth-footer a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* العودة للرئيسية - Brown */
.back-home a {
    color: #6b4e3d;
    font-weight: 700;
    border: 2px solid rgba(107, 78, 61, 0.2);
    background: rgba(107, 78, 61, 0.03);
}

.back-home a i {
    transition: transform 0.3s ease;
    color: #8a6752;
}

.back-home a:hover {
    background: rgba(212, 165, 116, 0.12);
    color: #553d2e;
    border-color: rgba(212, 165, 116, 0.4);
    transform: translateX(6px);
}

.back-home a:hover i {
    transform: translateX(6px);
    color: #d4a574;
}

/* ========================================
   تحسين زر الإنشاء في صفحة Register
   ======================================== */

.btn-success.btn-block {
    background: linear-gradient(135deg, #3a9b8f 0%, #1e6b5e 100%);
    box-shadow: 
        0 6px 18px rgba(58, 155, 143, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-success.btn-block:hover {
    background: linear-gradient(135deg, #2d8b7a 0%, #164d44 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 10px 28px rgba(58, 155, 143, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ========================================
   تحسين الـ Checkbox
   ======================================== */

.checkbox-label {
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.checkbox-label:hover {
    background: rgba(30, 107, 94, 0.05);
}

.checkbox-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
    cursor: pointer;
    accent-color: #1e6b5e;
    border-radius: 6px;
}

.checkbox-label input[type="checkbox"]:checked {
    animation: checkBounce 0.3s ease;
}

@keyframes checkBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* ========================================
   تحسين روابط الشروط
   ======================================== */

.checkbox-label a {
    color: #3a9b8f;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.checkbox-label a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: #3a9b8f;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.checkbox-label a:hover {
    color: #1e6b5e;
}

.checkbox-label a:hover::after {
    transform: scaleX(1);
}

/* ========================================
   تأثيرات إضافية على الأيقونات
   ======================================== */

/* أيقونة تسجيل الدخول */
.auth-header h2 i.fa-sign-in-alt {
    background: linear-gradient(135deg, #1e6b5e, #3a9b8f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iconPulse 2.5s ease-in-out infinite;
}

/* أيقونة إنشاء حساب */
.auth-header h2 i.fa-user-plus {
    background: linear-gradient(135deg, #3a9b8f, #56bfb1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iconPulse 2.5s ease-in-out infinite;
}

/* ========================================
   تحسين الـ Divider
   ======================================== */

.divider {
    position: relative;
}

.divider::before,
.divider::after {
    background: linear-gradient(
        to right,
        transparent,
        rgba(212, 165, 116, 0.4),
        rgba(30, 107, 94, 0.4),
        transparent
    );
}

/* ========================================
   تحسين Google & Facebook Buttons
   ======================================== */

.btn-google:hover {
    border-color: #1e6b5e;
    box-shadow: 0 8px 24px rgba(30, 107, 94, 0.15);
}

.btn-facebook:hover {
    box-shadow: 0 8px 24px rgba(24, 119, 242, 0.4);
}

/* ========================================
   Mobile Enhancements
   ======================================== */

@media (max-width: 480px) {
    .forgot-link,
    .auth-footer a {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .back-home a {
        padding: 10px 18px;
        font-size: 13px;
    }
}
