/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #f7fafc;
}

/* Container principal */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Login container */
.login-container {
    background: #1a1a1a;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    border: 1px solid #2d2d2d;
    padding: 40px;
    width: 100%;
    max-width: 420px;
}

/* Logo */
.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(229, 62, 62, 0.3));
}

.logo svg {
    width: 64px;
    height: 64px;
    fill: #e53e3e;
    filter: drop-shadow(0 4px 12px rgba(229, 62, 62, 0.3));
}

/* Titres */
h1 {
    color: #f7fafc;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    color: #94a3b8;
    text-align: center;
    font-size: 14px;
    margin-bottom: 30px;
}

/* Formulaire */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    color: #cbd5e0;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.lock-icon {
    display: inline-block;
    margin-right: 8px;
    font-size: 16px;
}

input[type="password"] {
    width: 100%;
    padding: 14px 16px;
    background: #0a0a0a;
    border: 2px solid #2d2d2d;
    border-radius: 8px;
    color: #f7fafc;
    font-size: 15px;
    transition: all 0.2s;
    outline: none;
}

input[type="password"]:focus {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

/* Bouton */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: #e53e3e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

.btn-submit:hover {
    background: #c53030;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(229, 62, 62, 0.4);
}

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

/* Messages d'erreur */
.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #fca5a5;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

/* Footer dans le container */
.login-footer {
    text-align: center;
    margin-top: 30px;
    color: #64748b;
    font-size: 13px;
}

/* Container pour le footer */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Footer du site */
.footer {
    background: #000000;
    color: #cbd5e0;
    margin-top: auto;
}

.footer-content {
    border-top: 3px solid #e53e3e;
    padding: 30px 0;
    text-align: center;
}

.footer-contact {
    font-size: 13px;
    color: #cbd5e0;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.footer-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-footer {
    padding: 10px 24px;
    border: 2px solid #2d2d2d;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background: #1a1a1a;
    color: #cbd5e0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-footer:hover {
    background: #2d2d2d;
    border-color: #e53e3e;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-admin {
    border-color: #e53e3e;
    color: #e53e3e;
}

.btn-admin:hover {
    background: #e53e3e;
    color: #ffffff;
}

.footer-bottom {
    background: #000000;
    padding: 20px 0;
    text-align: center;
    border-top: 3px solid #e53e3e;
}

.footer-bottom .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.footer-bottom p {
    font-size: 12px;
    margin: 0;
    color: #718096;
}

.footer-bottom a {
    color: #e53e3e;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom a:hover {
    color: #c53030;
    text-decoration: underline;
}

.link-slayxi {
    color: #e53e3e;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        padding: 30px 20px;
    }

    h1 {
        font-size: 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        width: 100%;
    }
}
