/* Page Layout Styles - Sticky Footer */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-body {
    flex: 1;
}

/* Header Component Styles */
.component-header {
    --header-bg-color: #1e3a5f;
    --header-link-color: #ffffff;
    --header-link-hover-bg: #2c5282;
    --header-padding: 14px 16px;
    --header-font-size: 16px;
}

.component-header .nav {
    background-color: var(--header-bg-color, #1e3a5f);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--header-padding, 14px 16px);
    box-sizing: border-box;
}

.component-header .nav-left {
    display: flex;
    align-items: center;
}

.component-header .nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
}

.component-header .nav-brand {
    color: var(--header-link-color, #ffffff);
    text-decoration: none;
    font-size: var(--header-font-size, 16px);
    font-weight: 600;
}

.component-header .nav-brand:hover {
    opacity: 0.9;
    text-decoration: none;
}

.component-header .nav-link {
    color: var(--header-link-color, #ffffff);
    text-decoration: none;
    font-size: var(--header-font-size, 16px);
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.component-header .nav-link:hover {
    background-color: var(--header-link-hover-bg, #2c5282);
    text-decoration: none;
}

/* Footer Component Styles */
.component-footer {
    --footer-bg-color: #1e3a5f;
    --footer-text-color: #ffffff;
    --footer-link-color: #ffffff;
    --footer-link-hover-color: #cbd5e0;
    --footer-padding: 20px 16px;
    --footer-font-size: 14px;
}

.component-footer .footer {
    background-color: var(--footer-bg-color, #1e3a5f);
    width: 100%;
    padding: var(--footer-padding, 20px 16px);
    box-sizing: border-box;
    text-align: center;
}

.component-footer .footer-nav {
    margin-bottom: 16px;
}

.component-footer .footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.component-footer .footer-nav li {
    display: inline-block;
}

.component-footer .footer-nav a {
    color: var(--footer-link-color, #ffffff);
    text-decoration: none;
    font-size: var(--footer-font-size, 14px);
    transition: color 0.2s ease;
}

.component-footer .footer-nav a:hover {
    color: var(--footer-link-hover-color, #cbd5e0);
    text-decoration: underline;
}

.component-footer .footer-copyright {
    color: var(--footer-text-color, #ffffff);
    font-size: var(--footer-font-size, 14px);
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero Component Styles */
.component-hero {
    --hero-padding: 48px 24px;
    --hero-max-width: 800px;
    --hero-title-font-size: 48px;
    --hero-title-font-weight: 700;
    --hero-title-color: #212529;
    --hero-description-font-size: 20px;
    --hero-description-color: #6c757d;
    --hero-description-line-height: 1.5;
    --hero-button-gap: 12px;
}

.component-hero .hero {
    padding: var(--hero-padding, 48px 24px);
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
}

.component-hero .hero-image {
    display: block;
    margin: 0 auto 32px;
    max-width: 100%;
    height: auto;
}

.component-hero .hero-title {
    font-size: var(--hero-title-font-size, 48px);
    font-weight: var(--hero-title-font-weight, 700);
    color: var(--hero-title-color, #212529);
    margin: 0 0 24px 0;
    line-height: 1.2;
}

.component-hero .hero-content {
    max-width: var(--hero-max-width, 800px);
    margin: 0 auto;
}

.component-hero .hero-description {
    font-size: var(--hero-description-font-size, 20px);
    color: var(--hero-description-color, #6c757d);
    line-height: var(--hero-description-line-height, 1.5);
    margin: 0 0 32px 0;
}

.component-hero .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--hero-button-gap, 12px);
}

/* Responsive hero styles */
@media (max-width: 768px) {
    .component-hero .hero {
        padding: 32px 16px;
    }
    
    .component-hero .hero-title {
        font-size: 36px;
    }
    
    .component-hero .hero-description {
        font-size: 18px;
    }
    
    .component-hero .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .component-hero .hero-buttons > * {
        width: 100%;
    }
}

/* Form field border styles - make borders darker for better visibility */
.form-control,
.form-select {
    border-color: #6c757d !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #495057 !important;
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.25);
}

/* Cancel button (secondary) - white background instead of dark gray */
.btn-secondary {
    background-color: #ffffff !important;
    border-color: #6c757d !important;
    color: #212529 !important;
}

.btn-secondary:hover {
    background-color: #f8f9fa !important;
    border-color: #6c757d !important;
    color: #212529 !important;
}

/* Dataframe table cell dividers - match form control border color */
.component-dataframetable table.table-bordered td,
.component-dataframetable table.table-bordered th {
    border-color: #8a939b !important;
}

