body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #f4f4f4;
}
.login-container {
    display: flex;
    min-height: 100vh;
    flex-wrap: wrap;
}
.login-left {
    background-color: #0a1f44;
    color: white;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.logo {
    font-size: 36px;
    font-weight: bold;
    line-height: 1.2;
    color: #fff;
    text-align: center;
}
.login-right {
    flex: 1;
    background-color: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.login-right h2 {
    margin-bottom: 20px;
    color: #0a1f44;
}
form {
    display: flex;
    flex-direction: column;
}

input[type="email"],
input[type="password"] {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
button {
    background-color: #ff6b00;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}
button:hover {
    background-color: #e65c00;
}
a {
    color: #0a1f44;
    font-size: 0.9em;
    margin-top: 10px;
    text-decoration: none;
}
@media (max-width: 768px) {
    .login-left {
        display: none;
    }
    .login-right {
        flex: 1 1 100%;
        padding: 20px;
    }
}


.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #002147;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
}
.cookie-banner a {
    color: #FFA500;
    text-decoration: underline;
}
.cookie-banner button {
    background-color: #FFA500;
    color: black;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 3px;
}
.reset-cookies {
    margin-top: 20px;
    background-color: #FFA500;
    color: black;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 3px;
    font-weight: bold;
}


.responsive-logo {
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
}


.button {
    background-color: #FFA500;
    color: black;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s;
}
.button:hover {
    background-color: #e69500;
}


.responsive-logo {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.login-left {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media screen and (max-width: 768px) {
    .login-left {
        justify-content: center;
        padding: 1rem 0;
    }
}


.cookie-popin {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.cookie-popin-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    color: black;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.25);
}


/* Logo responsive avec limite PC + mobile */
.responsive-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media screen and (max-width: 768px) {
    .responsive-logo {
        max-width: 200px;
    }
}


.form-box {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 1rem auto;
}
.form-group {
    margin-bottom: 1rem;
}
.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="file"] {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.cookie-popin {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.8); /* léger assombrissement */
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-popin-content {
    background: #002147; /* bleu marine */
    border: 3px solid #FFA500; /* liseré orange */
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    padding: 2rem;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
    color: #FFA500; /* texte orange */
}

.cookie-popin-content h2,
.cookie-popin-content h3 {
    color: #FFA500;
}

.cookie-popin-content p,
.cookie-popin-content li {
    color: #FF6347; /* texte rouge orangé */
    font-weight: 500;
}

.cookie-popin-content strong {
    color: #FFA500;
}

.cookie-popin-content button {
    background: #FFA500;
    color: #002147;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 1rem;
    font-weight: bold;
}

.cookie-popin-content button:hover {
    background: #e69500;
}
        .lang-switcher {
            position: fixed;
            bottom: 1rem;
            right: 1rem;
            background: rgba(255,255,255,0.9);
            padding: 6px 10px;
            border-radius: 8px;
            display: flex;
            gap: 8px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.2);
            z-index: 999;
        }
.form-box input,
.form-box select,
.form-box textarea {
    border: 2px solid #FFA500; /* 🔶 Liseré orange */
    border-radius: 6px;
    padding: 8px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-box input:focus,
.form-box select:focus,
.form-box textarea:focus {
    border-color: #e69500; /* Un peu plus foncé au focus */
    box-shadow: 0 0 3px rgba(255, 165, 0, 0.6);
}

body.dark-mode {
    background-color: #121212;
    color: #f5f5f5;
}

/* Exemple pour tes boutons */
.dark-mode .form-box {
    background-color: #1e1e1e;
    border-color: #333;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.dark-mode input,
.dark-mode select,
.dark-mode textarea {
    background-color: #2a2a2a;
    color: #f5f5f5;
    border-color: #444;
}

.dark-mode .form-box button {
    background-color: #ffa500;
    color: #121212;
}

.dark-mode .admin-tabs button.active {
    background-color: #ffa500;
    color: #000;
}

.dark-mode .admin-tabs button {
    background-color: #333;
    color: #ffa500;
}

.dark-mode #company-list li {
    background-color: #1c1c1c;
    color: #ffa500;
}

.dark-mode #company-list li:hover {
    background-color: #2e2e2e;
}

.dark-mode #company-list li.selected {
    background-color: #ffa500;
    color: #121212;
}

.dark-mode .license-table th {
    background-color: #222;
    color: #ffa500;
}

.dark-mode .license-table td {
    background-color: #1a1a1a;
    color: #f5f5f5;
}