:root {
    --falcon-blue: #0056b3;
    --falcon-light-blue: #e6f2ff;
    --falcon-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --button-gradient: linear-gradient(to bottom, #b8e1fc 0%, #a9d2f3 10%, #90bae4 25%, #90bcea 37%, #90bff0 50%, #6ba8e5 51%, #a2daf5 83%, #bdf3fd 100%);
    /* Attempting to match the glossy button look from the slide */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('../images/securitefondecran1.jpg') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-container {
    flex: 1;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Header */
.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #004085;
    padding-bottom: 10px;
}

.logo-container img {
    height: 120px;
    object-fit: contain;
}

.header-text {
    text-align: center;
    flex-grow: 1;
    padding: 0 20px;
}

.header-text h1 {
    font-size: 1.5rem;
    color: #000;
    margin-bottom: 10px;
}

.header-text h1.slogan {
    margin: 0;
}

.slogan-wrapper {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.slogan {
    display: inline-block;
    animation: marquee 15s linear infinite;
    padding-left: 100%;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.slogan-static {
    font-family: 'Times New Roman', serif;
    font-weight: bold;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    text-shadow: 1px 1px 0 #fff;
    text-align: center;
    margin-top: 10px;
}

.flag-container img {
    height: 80px;
    width: auto;
    border: 1px solid #ddd;
}

/* Navigation Buttons */
.nav-grid {
    display: flex;
    margin-top: 0;
    /* Removed margin to connect with header line if needed */
    padding: 0;
    position: relative;
    min-height: 600px;
    /* Ensure height for the line */
}

.nav-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 20%;
    /* Narrower left column */
    padding: 40px 20px;
    border-right: 2px solid #004085;
    /* Vertical separator */
}

.nav-column-right {
    width: 80%;
    /* Wider right column */
    border-right: none;
    /* No border for right column */
    padding: 40px 100px;
    /* More padding for right column content */
    align-items: center;
    /* Center buttons in the right area */
}

.nav-column-right .falcon-btn {
    width: 60%;
    /* Make right buttons not span full width */
    text-transform: none;
    font-size: 1.3rem;
}

.falcon-btn {
    display: block;
    width: 100%;
    padding: 15px 20px;
    text-align: center;
    background: var(--button-gradient);
    border: 1px solid #4a90e2;
    border-radius: 10px;
    color: #000;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: transform 0.1s, box-shadow 0.1s;
    text-transform: uppercase;
}

.falcon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    color: #000;
    text-decoration: none;
}

.falcon-btn:active {
    transform: translateY(1px);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Specific button styles to match the image text alignment/style if needed */
/* .nav-column-right .falcon-btn rule moved above */

/* Footer */
.footer {
    text-align: right;
    padding: 20px;
    color: #666;
    font-size: 1rem;
    margin-top: auto;
}

/* Internal Pages */
.page-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.page-header .logo-small {
    height: 80px;
    margin-right: 20px;
}

.page-title {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    flex-grow: 1;
    text-transform: uppercase;
}

.back-btn {
    font-size: 3rem;
    color: #0056b3;
    text-decoration: none;
    transition: transform 0.2s;
}

.back-btn:hover {
    transform: scale(1.1);
    color: #004494;
}

/* Tables */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: white;
}

.custom-table th,
.custom-table td {
    border: 2px solid #666;
    padding: 15px;
    text-align: center;
    min-width: 100px;
    height: 50px;
}

.custom-table th.header-cell {
    background-color: #9ec5fe;
    /* Light blue */
    font-weight: bold;
    color: #000;
}

/* Content Layouts */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.info-section h3 {
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.info-list {
    list-style: none;
    padding-left: 20px;
}

.info-list li {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

/* File Browser Mockup */
.file-browser {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 4px;
}

.file-browser-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
    color: #0056b3;
}

.file-list-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.file-icon {
    margin-right: 10px;
    color: #f0ad4e;
}

/* Dossier List (Finances) */
.dossier-list {
    background: #e9ecef;
    padding: 10px;
}

.dossier-header {
    font-size: 1.5rem;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.dossier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.dossier-item {
    background: #fff;
    padding: 5px 10px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
    color: #0056b3;
    text-decoration: underline;
    cursor: pointer;
}