 :root {
        --gold: #C5A47E;
        --turquoise: #40B0B6;
        --navy: #0A2342;
        --cream: #F5F3EF;
        --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        --space-unit: 1rem;
        --space-xxs: calc(var(--space-unit) * 0.25);
        --space-xs: calc(var(--space-unit) * 0.5);
        --space-sm: calc(var(--space-unit) * 0.75);
        --space-md: var(--space-unit);
        --space-lg: calc(var(--space-unit) * 1.5);
        --space-xl: calc(var(--space-unit) * 2);
        --space-xxl: calc(var(--space-unit) * 3);
		--space-yxl: calc(var(--space-unit) * 5);
		
		
		--font-footer: 'Cairo', sans-serif;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Plus Jakarta Sans', sans-serif;
        background: var(--cream);
        color: var(--navy);
        line-height: 1.7;
        scroll-behavior: smooth;
    }

    


    @keyframes float {
        0% { transform: translateY(0px); }
        50% { transform: translateY(-12px); }
        100% { transform: translateY(0px); }
    }

 

   

    /* Responsive Design */

   

       
    }

    @media (max-width: 576px) {
        

        footer {
            padding: var(--space-lg) 5%;
        }
    }
       














	   /* Login Wrapper */
        .login-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 80vh;
            background: var(--cream); /* Dégradé bleu marine */
            padding: 20px;
        }

        /* Login Container */
        .login-container {
			margin-top: var(--space-yxl);
            background: white;
            padding: 40px;
            border-radius: 12px;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
            width: 100%;
            max-width: 400px;
            text-align: center;
            animation: fadeIn 0.5s ease;
        }

        .login-container h1 {
            font-size: 28px;
            font-weight: bold;
            margin-bottom: 20px;
            color: #003366; /* Bleu marine */
        }

        /* Input Group */
        .input-group {
            margin-bottom: 20px;
            text-align: left;
        }

        .input-group label {
            display: block;
            font-size: 14px;
            font-weight: bold;
            margin-bottom: 8px;
            color: #555555;
        }
		
		

		html[dir="rtl"] .input-group label {
 text-align: right;      /* rentre à droite */
  
}
		

        .input-group input {
            width: 100%;
            padding: 12px;
            font-size: 14px;
            border: 1px solid #cccccc;
            border-radius: 8px;
            outline: none;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        .input-group input:focus {
            border-color: #FFD700; /* Orange doré */
            box-shadow: 0 0 8px rgba(255, 215, 0, 0.2);
        }

        /* Button */
        .login-container button {
            width: 100%;
            padding: 12px;
            font-size: 16px;
            background: linear-gradient(to right, #FFD700, #FFA500); /* Dégradé doré */
            color: #003366; /* Bleu marine */
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .login-container button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }

        /* Links */
        .forgot-info, .signup-info {
            margin-top: 20px;
            font-size: 14px;
            color: #555555;
        }

        .forgot-info a, .signup-info a {
            color: #FFD700; /* Orange doré */
            text-decoration: none;
            font-weight: bold;
            transition: color 0.3s ease;
        }

        .forgot-info a:hover, .signup-info a:hover {
            color: #FFA500; /* Orange plus foncé */
            text-decoration: underline;
        }

        /* Error Message */
        .error-message {
         
        }
		
		
		
		
		.alert {
  padding: 12px 16px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}




  /* Footer - Design abouti */
    .main-footer {
		font-family: var(--font-footer);
        background: var(--primary-dark);
        color: white;
        padding: var(--space-xl) 5% var(--space-md);
        position: relative;
    }

    .main-footer::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 4px;
        background: var(--gold-gradient);
    }

    .footer-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--space-xl);
        margin-bottom: var(--space-xl);
    }

    .footer-logo {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        margin-bottom: var(--space-md);
        text-decoration: none;
    }

    .footer-logo-text {
        font-size: var(--text-2xl);
        font-weight: var(--font-weight-bold);
        background: var(--gold-gradient);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .footer-about {
        max-width: 300px;
        opacity: 0.85;
        line-height: 1.8;
		 font-size: clamp(1rem, 2vw, 1.25rem);
        line-height: 1.8;
        margin-bottom: var(--space-md);
        color: #FAFCFE;
    }

    .footer-heading {
        font-size: var(--text-lg);
        font-weight: var(--font-weight-bold);
        margin-bottom: var(--space-md);
        color: white;
        position: relative;
        display: inline-block;
    }

    .footer-heading::after {
        content: '';
        position: absolute;
        bottom: -8px;
        right: 0;
        width: 50%;
        height: 2px;
        background: var(--gold-light);
        border-radius: 2px;
        transition: var(--transition-smooth);
    }

    .footer-heading:hover::after {
        width: 80%;
        background: var(--gold-accent);
    }

    .footer-links {
        list-style: none;
    }

    .footer-link-item {
        margin-bottom: var(--space-sm);
    }

    .footer-link {
        display: inline-block;
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        transition: var(--transition-smooth);
        padding: var(--space-xs) 0;
        position: relative;
    }

    .footer-link::before {
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        width: 0;
        height: 2px;
        background: var(--gold-light);
        transition: var(--transition-smooth);
    }

    .footer-link:hover {
        color: white;
        transform: translateX(-5px);
    }

    .footer-link:hover::before {
        width: 100%;
    }

    .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: var(--space-md);
        text-align: center;
        opacity: 0.7;
        font-size: var(--text-base);
		color: #FAFCFE;
    }

    /* Animations magistrales */
    @keyframes gradientFlow {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes float {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-10px);
        }
    }

    @keyframes pulse {
        0%, 100% {
            transform: scale(1);
            opacity: 1;
        }
        50% {
            transform: scale(1.05);
            opacity: 0.9;
        }
    }

