 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow: hidden;
    height: 100vh;
    
    position: relative;
    /* backdrop-filter: blur(1px); */

    /* background-image: url('../img/DO1.jpg'); /* chemin relatif depuis le CSS 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */
    background-color: #1b2b4f;
}


.bg-panel
{
    background-image: url('../img/Range.jpg'); /* chemin relatif depuis le CSS */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

 /* Animated background elements */
 .background-elements {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     overflow: hidden;
     pointer-events: none;
 }

 .floating-icon {
     position: absolute;
     color: rgba(255, 255, 255, 0.1);
     font-size: 2rem;
     animation: floatIcon 15s infinite linear;
 }

 @keyframes floatIcon {
     0% {
         transform: translateY(100vh) rotate(0deg);
         opacity: 0;
     }

     10% {
         opacity: 0.6;
     }

     90% {
         opacity: 0.6;
     }

     100% {
         transform: translateY(-100px) rotate(360deg);
         opacity: 0;
     }
 }

 .geometric-shape {
     position: absolute;
     border-radius: 50%;
     background: rgba(255, 255, 255, 0.05);
     animation: pulse 4s ease-in-out infinite;
 }

 @keyframes pulse {

     0%,
     100% {
         transform: scale(1);
         opacity: 0.3;
     }

     50% {
         transform: scale(1.2);
         opacity: 0.1;
     }
 }

 /* Professional building silhouettes */
 .city-skyline {
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     height: 200px;
     background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
     z-index: 1;
 }

 .building {
     position: absolute;
     bottom: 0;
     background: rgba(0, 0, 0, 0.2);
     border-radius: 2px 2px 0 0;
 }

 .building::before {
     content: '';
     position: absolute;
     top: 10%;
     left: 20%;
     width: 60%;
     height: 80%;
     background:
         linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.1) 50%, transparent 52%),
         linear-gradient(0deg, transparent 48%, rgba(255, 255, 255, 0.1) 50%, transparent 52%);
     background-size: 20px 15px;
 }

 /* Main login container */
 .login-wrapper {
     position: relative;
     z-index: 10;
     height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 20px;
 }

 .login-container {
     background: rgba(255, 255, 255, 0.1);
     backdrop-filter: blur(160px);
     border: 1px solid rgba(255, 255, 255, 0.2);
     border-radius: 25px;
     padding: 0;
     width: 100%;
     max-width: 900px;
     box-shadow:
         0 25px 45px rgba(0, 0, 0, 0.3),
         inset 0 1px 0 rgba(255, 255, 255, 0.2);
     animation: slideInUp 1s ease;
     overflow: hidden;
 }

 @keyframes slideInUp {
     from {
         opacity: 0;
         transform: translateY(50px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 /* Left panel - Branding */
 .brand-panel {
     /* background: linear-gradient(135deg, rgb(255 255 255 / 4%) 0%, rgb(255 255 255 / 7%) 100%);*/
     padding: 60px 40px; 
     text-align: center;
     color: white;
     position: relative;
     overflow: hidden;
 }

 .brand-panel::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
     opacity: 0.1;
     pointer-events: none;
 }

 .brand-logo {
     font-size: 4rem;
     margin-bottom: 20px;
     background: linear-gradient(45deg, #3498db, #9b59b6);
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
     background-clip: text;
     animation: glow 2s ease-in-out infinite alternate;
 }

 @keyframes glow {
     from {
         text-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
     }

     to {
         text-shadow: 0 0 30px rgba(155, 89, 182, 0.8);
     }
 }

 .brand-title {
     font-size: 2.5rem;
     font-weight: 700;
     margin-bottom: 15px;
     opacity: 0;
     animation: fadeInUp 1s ease 0.3s forwards;
     text-shadow: 0 .125rem .25rem rgb(0 0 0 / 74%) !important
 }

 .brand-subtitle {
     font-size: 1.1rem;
     opacity: 0.9;
     margin-bottom: 30px;
     opacity: 0;
     animation: fadeInUp 1s ease 0.5s forwards;

 }

 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(20px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .feature-list {
     list-style: none;
     padding: 0;
     text-align: left;

 }

 .feature-item {
     display: flex;
     align-items: center;
     margin-bottom: 15px;
     opacity: 0;
     animation: fadeInLeft 0.8s ease forwards;
 }

 .text-shad {
     text-shadow: 0 .125rem .25rem rgb(0 0 0 / 74%) !important
 }

 .feature-item:nth-child(1) {
     animation-delay: 0.7s;
 }

 .feature-item:nth-child(2) {
     animation-delay: 0.9s;
 }

 .feature-item:nth-child(3) {
     animation-delay: 1.1s;
 }

 .feature-item:nth-child(4) {
     animation-delay: 1.3s;
 }

 @keyframes fadeInLeft {
     from {
         opacity: 0;
         transform: translateX(-20px);
     }

     to {
         opacity: 1;
         transform: translateX(0);
     }
 }

 .feature-icon {
     width: 40px;
     height: 40px;
     background: rgba(255, 255, 255, 0.2);
     border-radius: 10px;
     display: flex;
     align-items: center;
     justify-content: center;
     margin-right: 15px;
     font-size: 1.2rem;
 }

 /* Right panel - Login form */
 .login-panel {
     padding: 60px 40px;
     background: rgba(255, 255, 255, 0.05);
 }

 .form-title {
     color: white;
     font-size: 2rem;
     font-weight: 600;
     margin-bottom: 10px;
     text-align: center;
 }

 .form-subtitle {
     color: rgba(255, 255, 255, 0.8);
     text-align: center;
     margin-bottom: 40px;
 }

 .form-floating {
     margin-bottom: 25px;
 }

 .form-floating>.form-control {
     background: rgba(255, 255, 255, 0.1);
     border: 1px solid rgba(255, 255, 255, 0.3);
     border-radius: 15px;
     color: white;
     padding: 20px 15px 10px 15px;
     height: auto;
     transition: all 0.3s ease;
 }

 .form-floating>.form-control:focus {
     background: rgba(255, 255, 255, 0.15);
     border-color: rgba(255, 255, 255, 0.6);
     box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
     color: white;
 }

 .form-floating>.form-control::placeholder {
     color: transparent;
 }

 .form-floating>label {
     color: rgba(255, 255, 255, 0.7);
     padding: 15px;
 }

 .form-floating>.form-control:focus~label,
 .form-floating>.form-control:not(:placeholder-shown)~label {

     transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
 }

 .form-check {
     margin: 25px 0;
 }

 .form-check-input {
     background-color: rgba(255, 255, 255, 0.1);
     border-color: rgba(255, 255, 255, 0.3);
 }

 .form-check-input:checked {
     background-color: #3498db;
     border-color: #3498db;
 }

 .form-check-label {
     color: rgba(255, 255, 255, 0.9);
     margin-left: 8px;
 }

 .btn-login {
     width: 100%;
     padding: 15px;
     background: linear-gradient(45deg, #3498db, #9b59b6);
     border: none;
     border-radius: 15px;
     color: white;
     font-size: 1.1rem;
     font-weight: 600;
     transition: all 0.3s ease;
     margin: 20px 0;
     position: relative;
     overflow: hidden;
 }

 .btn-login::before {
     content: '';
     position: absolute;
     top: 0;
     left: -100%;
     width: 100%;
     height: 100%;
     background: linear-gradient(90deg,
             transparent,
             rgba(255, 255, 255, 0.2),
             transparent);
     transition: left 0.5s;
 }

 .btn-login:hover::before {
     left: 100%;
 }

 .btn-login:hover {
     transform: translateY(-2px);
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
     background: linear-gradient(45deg, #2980b9, #8e44ad);
     color: white
 }

 .forgot-password {
     color: rgba(255, 255, 255, 0.8);
     text-decoration: none;
     text-align: center;
     display: block;
     margin-top: 20px;
     transition: color 0.3s ease;
 }

 .forgot-password:hover {
     color: white;
     text-decoration: underline;
 }

 .divider {
     text-align: center;
     margin: 30px 0;
     position: relative;
     color: rgba(255, 255, 255, 0.6);
 }


 .social-login {
     display: flex;
     gap: 15px;
 }

 .btn-social {
     flex: 1;
     padding: 12px;
     background: rgba(255, 255, 255, 0.1);
     border: 1px solid rgba(255, 255, 255, 0.2);
     border-radius: 10px;
     color: white;
     text-decoration: none;
     text-align: center;
     transition: all 0.3s ease;
 }

 .btn-social:hover {
     background: rgba(255, 255, 255, 0.2);
     color: white;
     transform: translateY(-2px);
 }

 /* Responsive */
 @media (max-width: 768px) {
     .login-container {
         margin: 10px;
         max-width: none;
     }

     .brand-panel,
     .login-panel {
         padding: 40px 30px;
     }

     .brand-title {
         font-size: 2rem;
     }

     .brand-logo {
         font-size: 3rem;
     }
 }