/* FONT IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&family=Montserrat:wght@400;500;600&display=swap');

/* BASIC RESET & THEME */
:root {
    --primary-green: #556b2f;
    --dark-green: #2e4034;
    --light-blue-bg: #f0f8ff; /* Glacier Blue */
    --text-dark: #333;
    --border-color: #e0e0e0;
    --white-bg: #fff;
    --danger-red: #dc3545;
    --warning-yellow: #ffc107;
    --light-gray-bg: #f8f9fa;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light-blue-bg);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* VIDEO BACKGROUND & OVERLAY (Unchanged) */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
}
.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(240, 248, 255, 0.8); /* Light overlay for light theme */
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: -1;
}

/* --- NEW STYLES FOR SINGLE-SIGHTING LAYOUT --- */

/* MAIN CONTENT LAYOUT */
.hub-container {
    padding-top: 80px; /* Space for fixed header from ui-loader */
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.hub-header-content {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-shrink: 0;
}

.hub-header-content h1 {
    font-family: 'Merriweather', serif;
    font-size: 2.5rem;
    color: var(--dark-green);
    margin: 0;
}

.hub-header-content p {
    font-size: 1rem;
    color: #666;
    margin-top: 0.5rem;
}

.quiz-link-btn {
    background-color: var(--white-bg);
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
}

/* SIGHTING WORKSPACE */
.sighting-workspace {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 0 40px 40px 40px;
    flex-grow: 1;
}

.media-column, .details-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-sighting-image {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    background-color: #000;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sighting-map {
    width: 100%;
    height: 250px;
    background-color: #e0e0e0;
    border-radius: 8px;
}

/* DATA CARDS */
.data-card {
    background-color: var(--white-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.data-card h3 {
    margin-top: 0;
    font-family: 'Merriweather', serif;
    color: var(--dark-green);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

/* CLAIM COMPARISON */
.claim-comparison {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.claim {
    background-color: var(--light-gray-bg);
    padding: 0.75rem 1rem;
    border-radius: 5px;
}
.claim-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}
.claim-value {
    font-size: 1.1rem;
    font-weight: 500;
}
.claim-value .common-name {
    font-style: italic;
    color: #555;
}

/* COMMUNITY SUGGESTIONS */
.suggestions-list .suggestion-item {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px dashed var(--border-color);
}
.suggestions-list .suggestion-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.suggestion-item p { margin: 0.25rem 0; }
.suggestion-item .comment-text {
    font-style: italic;
    color: #666;
    padding-left: 1rem;
    border-left: 3px solid var(--border-color);
}

/* VERIFICATION ACTIONS */
.action-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}
.action-box-secondary {
    margin-top: 1rem;
}
.action-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}
.approve-btn { background-color: var(--primary-green); color: white; }
.deny-btn { background-color: var(--danger-red); color: white; }
.needs-id-btn { background-color: var(--white-bg); color: var(--text-dark); border: 1px solid #ccc; width: 100%;}
.action-btn:disabled { background-color: #ccc; cursor: not-allowed; }

/* EMPTY/LOADING STATES */
.empty-queue-message, .loading-next, .error-message {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}
.empty-queue-message h2, .loading-next h2, .error-message h2 {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    color: var(--dark-green);
}
.empty-queue-message .back-link, .loading-next .back-link, .error-message .back-link {
    margin-top: 1.5rem;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}
.loading-next {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--dark-green);
}
.error-message {
    color: var(--danger-red);
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 900px) {
    .sighting-workspace {
        grid-template-columns: 1fr;
    }
    .main-sighting-image {
        max-height: 40vh;
    }
    .hub-header-content {
        flex-direction: column;
        gap: 1rem;
    }
}