/* public/style.css */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa; /* Light grey background */
    color: #333; /* Dark grey text for readability */
    padding-top: 56px; /* Adjust for fixed navbar height if navbar is fixed-top */
}

.navbar {
    border-bottom: 1px solid #e7e7e7;
}

.navbar-brand img {
    margin-right: 8px;
}

.footer {
    border-top: 1px solid #e7e7e7;
    background-color: #f1f1f1;
    flex-shrink: 0;
    font-size: 0.9em;
}

.footer img {
    margin-left: 5px;
}

.card {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card-header {
    background-color: #e9ecef; /* Slightly darker grey for card headers */
    color: #495057;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}

.btn-primary {
    background-color: #007bff; /* Standard Bootstrap primary */
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.btn-info {
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.table th, .table td {
    vertical-align: middle;
}

/* Styling to emulate helpen.fr (general feel) */
/* Helpen.fr uses a clean, professional look with a specific blue and orange accent. */
/* We'll stick to Bootstrap defaults for now but can customize further if specific brand colors are provided. */

.helpen-jumbotron {
    background-color: #004A7F; /* A deep blue, similar to Helpen's header */
    color: white;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    border-radius: .3rem;
}

.helpen-jumbotron h1 {
    font-weight: 300;
}

.helpen-section {
    padding: 40px 0;
}

.helpen-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #004A7F;
}

/* Login page specific styles */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
}

/* Form styling */
.form-check-label {
    margin-left: 0.25rem;
}

/* Ensure content area is not obscured by fixed top navbar */
body {
    padding-top: 70px; /* Match the padding-top div in navbar.php */
}

/* Make sure footer stays at the bottom if content is short */
html, body {
    height: 100%;
}

#page-container {
    position: relative;
    min-height: 100vh;
}

#content-wrap {
    padding-bottom: 5rem;    /* Footer height */
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 4.5rem; /* Footer height */
    line-height: 4.5rem; /* Vertically center text */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1rem;
    }
    .navbar-nav .nav-link {
        padding-right: .5rem;
        padding-left: .5rem;
    }
}

