/* General Body Styles  */
body {
    background-color: #ffffff;
    color: #495057; /* Grayish Black */
    font-family: 'Noto Sans JP', sans-serif;
}

/* Color Definitions */
:root {
    --primary-accent: #2b98d5; /* Blue */
    --secondary-accent: #d84b29; /* Red-Orange */
}

/* Landing Page Sections */
.hero-section {
    background-color: var(--primary-accent);
    color: #ffffff;
    padding: 6rem 2rem;
    text-align: center;
}

.hero-section h1 {
    font-weight: 700;
}

.section {
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
    color: var(--primary-accent);
}

/* Custom Components */
.upload-box {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    border: 2px dashed var(--primary-accent);
    border-radius: 10px;
    background-color: #f8f9fa;
}

.info-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-left: 5px solid var(--secondary-accent);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 5px;
}

.info-card h5 {
    color: var(--secondary-accent);
    font-weight: 600;
}

.sample-image-placeholder {
    border: 2px dashed #ced4da;
    padding: 1rem;
    text-align: center;
    background-color: #ffffff;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .375rem;
    min-height: 250px;
}

/* Bootstrap Overrides & Custom Buttons */
.btn-primary {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
}

.btn-primary:hover {
    background-color: #247dad;
    border-color: #247dad;
}

.btn-secondary {
    background-color: var(--secondary-accent);
    border-color: var(--secondary-accent);
}

.btn-secondary:hover {
    background-color: #b33f21;
    border-color: #b33f21;
}

.footer {
    background-color: #343a40;
    color: #ffffff;
    padding: 3rem 0;
    text-align: center;
}

/* Results Table Styling */
#results-container h2 {
    color: var(--primary-accent);
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 0.5rem;
    margin-top: 2rem;
}

.upload-box label {
    color: #495057; /* Set text color to grayish-black */
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Table header sorting indicators */
th .sort-indicator {
    color: #ccc; /* Default, faint color */
    float: right;
}
th[data-order='asc'] .sort-indicator,
th[data-order='desc'] .sort-indicator {
    color: #333; /* Active color */
}

/* Ensure sortable headers have pointer cursor */
table.table-sortable th {
    cursor: pointer;
}
