/* Login Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding-top: 120px;
    padding-bottom: 60px;
}

.logo {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 1000;
}

.logo img {
    width: 80px;
    height: auto;
}

.login-container {
    background: transparent;
    border: none;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.login-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
    text-align: left;
    margin-left: -10%;
}

.login-title-small {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
    text-align: left;
    margin-left: -10%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.login-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 32px;
    text-align: left;
    margin-left: -10%;
}

.login-tabs {
    display: flex;
    margin-bottom: 20px;
    gap: 20px;
}

.tab {
    padding: 12px 0;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    position: relative;
}

.tab.active {
    color: #fff;
    margin-left: -10%;
}

.tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: #fff;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
    position: relative;
}

.form-group label {
    text-align: left !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
    display: block !important;
}

.form-input {
    width: 120%;
    padding: 12px 16px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    margin-left: -10%;
}

.form-input::placeholder {
    color: #888;
}

.form-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

.clear-icon {
    position: absolute;
    right: 12px;
    top: 15px;
    width: 12px;
    height: 12px;
    color: #888;
    cursor: pointer;
    display: none;
    transition: color 0.3s ease;
    z-index: 10;
}

.clear-icon.email-step {
    right: -15px;
    top: 15px;
}

.clear-icon.password-step {
    right: 5px;
    top: 15px;
}

.password-toggle-icon {
    position: absolute;
    right: -15px;
    top: 13px;
    width: 16px;
    height: 16px;
    color: #888;
    cursor: pointer;
    display: none;
    transition: color 0.3s ease;
    z-index: 10;
}

.password-toggle-icon:hover {
    color: #fff;
}

.clear-icon:hover {
    color: #fff;
}

.clear-icon.show {
    display: block;
}

.password-toggle-icon.show {
    display: block;
}

.login-btn {
    width: 120%;
    padding: 12px 16px;
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #000;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    margin-left: -10%;
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.register-link {
    margin-top: 24px;
    font-size: 14px;
    color: #888;
}

.register-link a {
    color: #00D4AA;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

.forgot-password-container {
    text-align: right !important;
    margin-bottom: 10px !important;
    width: 120% !important;
    margin-left: -10% !important;
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 1000 !important;
}

.forgot-password-link {
    color: #007bff !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    display: inline-block !important;
    visibility: visible !important;
}

.forgot-password-link:hover {
    text-decoration: underline !important;
    color: #0056b3 !important;
}

/* Styles pour la vérification par code */
.verification-container {
    display: none;
}

.verification-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
    text-align: left;
    margin-left: -10%;
}

.verification-subtitle {
    font-size: 12px;
    color: #888;
    margin-bottom: 32px;
    text-align: left;
    margin-left: -10%;
}

.verification-subtitle .email-label {
    font-weight: bold;
    color: #fff;
    font-size: 14px;
}

.code-inputs {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    margin: 24px 0;
    margin-left: -5%;
}

.code-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.code-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.resend-container {
    text-align: left;
    margin: 20px 0;
    margin-left: -10%;
}

.resend-text {
    color: #888;
    font-size: 14px;
    margin-top: 40px;
    text-align: left;
    margin-left: -10%;
}

.resend-link {
    color: #ffffff;
    text-decoration: underline;
    cursor: pointer;
    font-size: 12px;
    position: absolute;
    right: 0;
    top: -95px;
}

.resend-link:hover {
    color: #cccccc;
}

.countdown-timer {
    color: #ffffff;
    font-size: 12px;
    position: absolute;
    right: 23px;
    top: -95px;
    text-decoration: underline;
}

.resend-container {
    position: relative;
    text-align: center;
    margin: 20px 0;
    margin-left: -10%;
    margin-bottom: -10px;
}

.method-unavailable {
    color: #888;
    font-size: 14px;
    margin-top: 16px;
    text-align: left;
    margin-left: -10%;
}

.notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 400;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
    z-index: 1000;
    transition: all 0.4s ease;
    min-width: 280px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification.show {
    top: 5%;
}

.notification.success {
    background: #1a1a1a;
    border-color: #333;
}

.notification.success::before {
    content: '✓';
    color: #4CAF50;
    font-weight: bold;
    font-size: 16px;
}

.notification.error {
    background: #1a1a1a;
    border-color: #333;
}

.notification.error::before {
     content: '✕';
     color: #F44336;
     font-weight: bold;
     font-size: 16px;
 }
 
 .login-footer {
     position: fixed;
     bottom: 0;
     left: 0;
     right: 0;
     background: #000;
     padding: 15px 0;
     z-index: 100;
 }
 
 .footer-content {
     display: flex;
     justify-content: center;
     align-items: center;
     gap: 30px;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 }
 
 .footer-copyright {
     color: #888;
     font-size: 14px;
     font-weight: 400;
 }
 
 .footer-links {
     display: flex;
     gap: 20px;
 }
 
 .footer-link {
     color: #888;
     text-decoration: none;
     font-size: 14px;
     font-weight: 400;
     transition: color 0.3s ease;
 }
 
 .footer-link:hover {
     color: #fff;
 }