/*-----------------------------------------------------------------------------------------
          FCBB v1.1
          James GERVIL-YAMBALA - Private Property
          2026/06/21 - FCBB v1.1 - Styles du portail intranet
-----------------------------------------------------------------------------------------*/

:root {
    --fcbb-red: #c8102e;
    --fcbb-dark-red: #8f0b20;
    --fcbb-blue: #0033a0;
    --fcbb-dark-blue: #071d49;
    --fcbb-yellow: #f4c430;
    --fcbb-light: #f7f8fb;
    --fcbb-border: #d9deea;

    --green-dark: var(--fcbb-dark-blue);
    --green-main: var(--fcbb-red);
    --green-light: var(--fcbb-red);
    --green-soft: #fff4f6;
    --green-border: var(--fcbb-border);
    --text-dark: #1f2937;
    --text-soft: #4b5563;
    --white: #ffffff;
    --danger: #b3261e;
    --shadow: rgba(7, 29, 73, 0.12);
}

* {
    box-sizing: border-box;
}

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

.portal-body {
    background: var(--fcbb-light);
}

.topband {
    background: linear-gradient(90deg, var(--fcbb-blue) 0%, var(--fcbb-dark-blue) 100%);
    color: #fff;
    text-align: center;
    padding: 11px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(7, 29, 73, 0.18);
}

.wrapper {
    max-width: 1180px;
    margin: 28px auto 40px;
    padding: 0 20px;
}

.hero {
    background: linear-gradient(135deg, #ffffff 0%, #fff4f6 100%);
    border: 1px solid var(--fcbb-border);
    border-radius: 20px;
    box-shadow: 0 12px 36px var(--shadow);
    overflow: hidden;
    margin-bottom: 24px;
}

.hero-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: 28px 30px;
    flex-wrap: wrap;
}

.hero-left {
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 280px;
    flex: 1;
}

.hero-left img {
    width: 110px;
    height: auto;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid var(--fcbb-border);
    padding: 8px;
}

.hero-text h1 {
    margin: 0 0 6px;
    font-size: 32px;
    color: var(--fcbb-dark-blue);
}

.hero-text p {
    margin: 0;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.6;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.welcome-badge {
    background: #fff4f6;
    color: var(--fcbb-dark-red);
    border: 1px solid rgba(200, 16, 46, 0.22);
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: bold;
}

.logout-btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--fcbb-red) 0%, var(--fcbb-dark-red) 100%);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 8px 18px rgba(200, 16, 46, 0.20);
}

.logout-btn:hover {
    filter: brightness(0.97);
}

.section {
    margin-bottom: 24px;
}

.section + .section {
    margin-top: 30px;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--fcbb-border);
}

.section-title h2 {
    margin: 0;
    font-size: 24px;
    color: var(--fcbb-dark-blue);
}

.section-title p {
    margin: 0;
    color: var(--text-soft);
    font-size: 14px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.card {
    background: #fff;
    border: 1px solid var(--fcbb-border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 24px var(--shadow);
}

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff4f6;
    border: 1px solid rgba(200, 16, 46, 0.22);
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}

.card .tag {
    display: inline-block;
    margin-bottom: 0;
    font-size: 12px;
    font-weight: bold;
    color: var(--fcbb-dark-red);
    background: #fff4f6;
    border: 1px solid rgba(200, 16, 46, 0.22);
    padding: 6px 10px;
    border-radius: 999px;
}

.card h3 {
    margin: 0 0 10px;
    font-size: 19px;
    color: var(--fcbb-dark-blue);
}

.card p {
    margin: 0 0 16px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.6;
    min-height: 64px;
}

.card a {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(180deg, var(--fcbb-red) 0%, var(--fcbb-dark-red) 100%);
    padding: 11px 14px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 14px;
}

.portal-note {
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
    border: 1px solid var(--fcbb-border);
    border-radius: 16px;
    padding: 18px 20px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.7;
    box-shadow: 0 8px 24px var(--shadow);
}

.footer {
    margin-top: 24px;
    text-align: center;
    color: #6b7280;
    font-size: 13px;
}

table th,
table td {
    font-size: 14px;
}

.section-blue .icon-badge,
.section-green .icon-badge,
.section-purple .icon-badge,
.section-orange .icon-badge {
    background: #eef3ff;
    border-color: #cdd9f5;
}

.section-blue .tag,
.section-green .tag,
.section-purple .tag,
.section-orange .tag {
    background: #eef3ff;
    color: var(--fcbb-dark-blue);
    border-color: #cdd9f5;
}

@media (max-width: 780px) {
    .hero-inner {
        align-items: flex-start;
    }

    .hero-right {
        align-items: flex-start;
    }

    .hero-text h1 {
        font-size: 27px;
    }
}  