.sightings-log-section {
    background: #FFF8F1;
}

/* The Notable Stats counter row is nested directly inside .activities-counter
   with no horizontal padding, so its negative Bootstrap row margins bleed
   past the viewport edge and force a horizontal scrollbar. */
.activities-counter {
    padding-left: 12px;
    padding-right: 12px;
}

.sightings-log-intro {
    margin-bottom: 40px;
}

.sightings-search-wrap {
    position: relative;
    max-width: 480px;
    margin: 0 auto 36px;
}

.sightings-search-input {
    width: 100%;
    padding: 14px 20px 14px 46px;
    border-radius: 30px;
    border: 1px solid #F0E6DC;
    background: var(--white-color);
    font-size: 15px;
    color: var(--title-color);
    box-shadow: 0 6px 20px rgba(16, 12, 8, 0.06);
}

.sightings-search-input:focus {
    outline: none;
    border-color: var(--primary-color1);
}

.sightings-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
    pointer-events: none;
}

.sightings-search-empty {
    display: none;
    text-align: center;
    color: var(--text-color);
    padding: 30px 0;
}

.sightings-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sightings-season {
    background: var(--white-color);
    border: 1px solid #F0E6DC;
    border-radius: 16px;
    overflow: hidden;
}

.sightings-season-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px 24px;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
}

.sightings-season-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--title-color);
}

.sightings-season-btn:not(.collapsed) .sightings-season-label {
    color: var(--primary-color1);
}

.sightings-season-count {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-color);
    background: rgba(255, 116, 3, 0.08);
    padding: 5px 14px;
    border-radius: 20px;
}

.sightings-table-wrap {
    padding: 0 24px 24px;
    overflow-x: auto;
}

.sightings-table {
    width: 100%;
    border-collapse: collapse;
}

.sightings-table thead th {
    text-align: left;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-color);
    padding: 10px 14px;
    border-bottom: 2px solid #F0E6DC;
    white-space: nowrap;
}

.sightings-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #F5EEE6;
    font-size: 14px;
    color: var(--title-color);
    vertical-align: top;
}

.sightings-table tbody tr:hover {
    background: #FFFBF7;
}

.sightings-table tbody tr:last-child td {
    border-bottom: 0;
}

.sightings-table tbody tr[data-hidden="true"] {
    display: none;
}

.sightings-pill {
    display: inline-block;
    background: rgba(255, 116, 3, 0.08);
    color: var(--title-color);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 13px;
    margin: 2px 4px 2px 0;
    white-space: nowrap;
}

.sightings-pill b {
    color: var(--primary-color1);
    font-weight: 700;
}

.sightings-dash {
    color: #C9BEB2;
}

.sightings-table tbody tr.sightings-row-latest {
    background: rgba(255, 116, 3, 0.08);
}

.sightings-table tbody tr.sightings-row-latest td {
    border-bottom-color: rgba(255, 116, 3, 0.2);
    font-weight: 600;
}

.sightings-table tbody tr.sightings-row-latest:hover {
    background: rgba(255, 116, 3, 0.12);
}

/* Mobile: transform each row into a stacked card */
@media (max-width: 700px) {
    .sightings-table-wrap {
        padding: 0 14px 18px;
    }

    .sightings-table thead {
        display: none;
    }

    .sightings-table,
    .sightings-table tbody,
    .sightings-table tr,
    .sightings-table td {
        display: block;
        width: 100%;
    }

    .sightings-table tr {
        border: 1px solid #F0E6DC;
        border-radius: 12px;
        padding: 12px 14px;
        margin-bottom: 12px;
    }

    .sightings-table tr:last-child {
        margin-bottom: 0;
    }

    .sightings-table td {
        border-bottom: 0;
        padding: 6px 0;
        display: flex;
        flex-wrap: wrap;
        gap: 6px 10px;
    }

    .sightings-table td::before {
        content: attr(data-label);
        flex: 0 0 110px;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        color: var(--text-color);
        letter-spacing: 0.3px;
        padding-top: 3px;
    }

    .sightings-season-btn {
        padding: 16px;
    }

    .sightings-season-label {
        font-size: 16px;
    }
}
