/* Couleurs inspirées de la charte graphique du 3FPT */
:root {
    --yellow: #f4c20d;
    --green: #0b8f3d;
    --red: #d2232a;
    --dark: #2c2c2c;
    --light: #f8f8f8;
}

a {
    color: var(--vert-fonce);
}
a:hover {
    color: var(--jaune);
}

/* --- Guichet GFDI --- */
.gfdilogo {
    background: url('img/gfdi.jpg') center/cover no-repeat;
    border-left: 6px solid var(--vert-fonce);
    color: var(--vert-fonce);
}
.gfdilogo a:hover {
    color: var(--jaune);
}

/* --- Guichet GFEOP --- */
.gfeoplogo {
    background: url('img/gfeop.jpg') center/cover no-repeat;
    border-left: 6px solid var(--vert-clair);
}
.gfeoplogo a:hover {
    color: var(--vert-clair);
}

/* --- Guichet GFET --- */
.gfetlogo {
    background: url('img/gfet.jpg') center/cover no-repeat;
    border-left: 6px solid var(--rouge);
}
.gfetlogo a {
    color: var(--rouge);
}
.gfetlogo a:hover {
    color: var(--vert-fonce);
}

.logout-container {
    width: 90%;
    display: flex;
    justify-content: flex-end;
    padding: 15px 20px;
    padding-right: 0px; 
}

.logout-btn {
    background-color: #b30000; /* rouge institutionnel discret */
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.logout-btn:hover {
    background-color: #800000;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background: var(--light);
    color: var(--dark);
}

/* Header */
.header {
    text-align: center;
    padding: 0;
    background: url('img/banniere.webp') center/cover no-repeat;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.logo {
    width: 110px;
    margin-bottom: 10px;
}

.subtitle {
    color: #555;
    margin-top: 5px;
}

/* Contenu principal */
.container {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.guichet-card {
    border-left: 6px solid var(--green);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.guichet-card:hover {
    transform: translateY(-4px);
}

.guichet-card h2 {
    margin-top: 0;
    color: var(--green);
}

.links {
    width: 50%;         /* occupe la moitié de la section */
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start; 
}

/* Boutons */
.btn {
    text-decoration: none;
    background: var(--yellow);
    color: #000;
    padding: 12px 15px;
    border-radius: 6px;
    font-weight: bold;
    text-align: center;
    transition: background 0.3s ease;
}

.btn:hover {
    background: var(--green);
    color: white;
}

/* Pied de page */
 .header {
    text-align: center;
    padding: 0;
    background: url('img/banniere.webp') center/cover no-repeat;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}
.header-subtitle {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    margin-top: 15px;
    color: #015321; /* Vert foncé 3FPT */
    letter-spacing: 0.5px;
}

.login-container {
    max-width: 440px;
    margin: 40px auto;
    padding: 25px;
    background: #ffffffcc;
    border: 1px solid #c7c7c7;
    border-radius: 12px;
    box-shadow: 0px 0px 12px rgba(0,0,0,0.08);
}

.login-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #015321;
    margin-bottom: 20px;
}

.login-container input {
    width: 92%;
    padding: 14px;
    margin-top: 15px;
    border: 1px solid #b5b5b5;
    border-radius: 8px;
    font-size: 16px;
}

.login-btn {
    width: 100%;
    padding: 14px;
    margin-top: 25px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #016126, #02a045);
    color: white;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
}

.login-btn:hover {
    background: #02803b;
}

.error-msg {
    text-align: center;
    color: #c62828;
    margin-top: 10px;
}
.footer {
    text-align: center;
    padding: 58px;
    margin-top: 40px;
    background: #1e4d3c;
    font-size: 14px;
    color: white;
}