
body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #0e1118;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1504384308090-c894fdcc538d?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    position: relative;
}
body::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    z-index: 0;
}
/* === CONTAINER === */
.login-container {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 50px 40px;
    width: 100%;
    max-width: 850px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
@media (max-width: 600px) {
    .login-container {
        padding: 25px 20px;
        max-width: 100%;
    }
}
/* Animation apparition */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === LOGO / TITRE === */
.login-container .logo {
    font-size: 50px;
    color: #4ade80;
    margin-bottom: 10px;
}
.login-container h1 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #fff;
}
.login-container p {
    color: #ddd;
    font-size: 14px;
    margin-bottom: 25px;
}

/* === INPUTS === */
.input-group {
    position: relative;
}
.input-group i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}
.input-group input {
    width: 100%;
    padding: 12px 40px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border 0.3s;
}
.input-group input:focus {
    border: 1px solid #4ade80;
}

/* === BOUTONS === */
.login-btn {
    background: #4ade80;
    border: none;
    color: #fff;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}
.login-btn:hover {
    background: #0f172a;
    transform: translateY(-2px);
}

/* === OPTIONS === */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-top: 10px;
    color: #aaa;
}
.login-options a {
    color: #4ade80;
    transition: color 0.3s;
}
.login-options a:hover {
    color: #ff9b7f;
}

/* === ENTREPRISES (grille responsive) === */
.companies-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}


.company-card {
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    text-align: center;
    transition: 0.3s;
    width: 150px;
    height: 170px;
}
.company-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.company-avatar {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    margin-bottom: 8px;
}

/* Bouton entreprise */
.company-card .login-btn {
    width: 100%;
    padding: 7px;
    font-size: 12px;
    margin-top: 5px;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
    .company-card {
        width: 45%;
        height: auto;
    }
}
@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
        width: 90%;
    }

    .login-container h1 {
        font-size: 20px;
    }

    .companies-list {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .company-card {
        padding: 12px;
    }
}
@media (max-width: 400px) {
    .company-card {
        width: 100%;
    }
}

