/* Algemene paginastyling voor een rustige achtergrond */
body {
    background-color: #f8fafc;
}

/* De main login container */
#clientLogin {
    max-width: 800px; /* Brede opzet voor tekst en formulier */
    margin: 60px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    
    /* Moderne layout zodat de blokken netjes naast elkaar staan */
    display: flex;
    flex-wrap: wrap; 
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
}

/* Zorg dat de secties binnen de login box de ruimte eerlijk verdelen */
#clientLogin > div, 
#clientLogin > form {
    flex: 1;
    min-width: 300px; /* Zorgt dat het op mobiel of kleine schermen netjes onder elkaar valt */
}

/* Styling van de kopteksten */
#clientLogin h1, 
#clientLogin h2, 
#clientLogin h3 {
    color: #0f172a;
    font-size: 22px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 20px;
}

/* Styling voor eventuele platte tekst/instructies */
#clientLogin p {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
}

/* Fix de input velden en placeholders */
#clientLogin input[type="text"], 
#clientLogin input[type="email"],
#clientLogin input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    margin: 8px 0 20px 0;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box; /* Zorgt dat padding de breedte niet breekt */
    font-size: 15px;
    color: #334155;
    background-color: #fcfcfc;
    transition: all 0.2s ease;
}

/* Focus effect voor de velden */
#clientLogin input[type="text"]:focus, 
#clientLogin input[type="email"]:focus, 
#clientLogin input[type="password"]:focus {
    border-color: #008ed6;
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 142, 214, 0.15);
}

/* Styling voor de labels boven de input velden */
#clientLogin label {
    font-weight: 600;
    font-size: 14px;
    color: #334155;
    display: block;
    margin-bottom: 5px;
}

/* De login button (in de OpenGDS blauwe kleur) */
#clientLogin input[type="submit"], 
#clientLogin .button {
    width: 100%;
    background-color: #008ed6;
    color: #ffffff;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 10px;
}

#clientLogin input[type="submit"]:hover, 
#clientLogin .button:hover {
    background-color: #0077b5;
}

/* Links (zoals 'Wachtwoord vergeten') */
#clientLogin a {
    color: #008ed6;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

#clientLogin a:hover {
    text-decoration: underline;
}

/* --- OVERRIDE OS-TICKET TABELLEN --- 
Als osTicket de form-velden stiekem nog in een table gooit, 
slaan we die hier plat zodat ze netjes meegaan in onze layout */
#clientLogin table {
    width: 100% !important;
}

#clientLogin td {
    display: block;
    width: 100%;
    padding: 0;
}

#footer #poweredBy { display: none; }
