/**
 * IEEE Theme Custom Styles
 */

/* IEEE Blue Palette */
:root {
    --ieee-blue: #00629B;
    --ieee-dark-blue: #002855;
    --ieee-light-blue: #00B5E2;
}

body {
    font-family: "Open Sans", sans-serif;
    background-color: #f8f9fa;
}

/* Header */
.ieee-header {
    background-color: var(--ieee-dark-blue);
    color: white;
}

.ieee-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
}

.sub-header {
    font-size: 0.85rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section .form-select {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.hero-section .form-control {
    border-radius: 0;
}

.hero-section .btn-warning {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    color: var(--ieee-dark-blue);
    font-weight: bold;
}

/* Section Titles */
.section-title {
    color: var(--ieee-dark-blue);
    border-bottom: 2px solid var(--ieee-light-blue);
    display: inline-block;
}

/* Cards */
.card {
    transition: transform 0.2s;
}

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

.card-title {
    color: var(--ieee-blue);
}

/* Footer */
footer h5 {
    color: #fff;
    font-weight: bold;
}

footer a:hover {
    color: white !important;
    text-decoration: underline !important;
}

/* Search Page Date Filters */
.ieee-date-filter fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.ieee-date-filter legend {
    font-size: 0.875rem; /* .small */
    font-weight: 700;    /* .fw-bold */
    margin-bottom: 0.5rem;
    float: none;
    width: auto;
    padding: 0;
}

.ieee-date-filter label {
    display: none; /* Hide Year/Month/Day labels */
}

.ieee-date-filter select {
    display: inline-block;
    width: 32%; /* Fit 3 in a row */
    margin-right: 2%;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border: 1px solid #dee2e6;
    border-radius: 0.2rem;
    background-color: #fff;
    box-sizing: border-box;
}

.ieee-date-filter select:last-child {
    margin-right: 0;
}
