/* Shared Styles for Bareista Application */

/* ===== PAGE HEADERS ===== */
.page-header {
    background: #2a2a2a;
    border-radius: 12px;
    border-left: 4px solid #ffc107;
    margin-bottom: 2rem;
}

.page-header .card-body {
    text-align: center;
    padding: 2rem 1rem;
}

.page-header h1 {
    color: #ffc107;
    margin: 0;
}

.page-header p {
    color: #b3b3b3;
    margin: 0.5rem 0 0 0;
}

/* ===== FEATURE CARDS (Enhanced Styling) ===== */
.feature-card {
    background: #2a2a2a;
    border-radius: 12px;
    border: 1px solid #444;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 2rem;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.feature-card .card-header {
    background: #1a1a1a;
    border-bottom: 1px solid #444;
    border-radius: 12px 12px 0 0;
}

.feature-card .card-header h1,
.feature-card .card-header h2,
.feature-card .card-header h3,
.feature-card .card-header h4,
.feature-card .card-header h5,
.feature-card .card-header h6 {
    color: #ffc107;
    margin: 0;
}

/* ===== STANDARD CARDS (Clean Styling) ===== */
.standard-card {
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    transition: border-color 0.2s ease;
}

.standard-card:hover {
    border-color: #666;
}

.standard-card .card-header {
    background: #1a1a1a;
    border-bottom: 1px solid #444;
    border-radius: 8px 8px 0 0;
}

/* ===== COLORED OUTLINE CARDS ===== */
.card-outline-primary {
    border: 2px solid #007bff !important;
    background: #1a1a1a !important;
}

.card-outline-success {
    border: 2px solid #28a745 !important;
    background: #1a1a1a !important;
}

.card-outline-warning {
    border: 2px solid #ffc107 !important;
    background: #1a1a1a !important;
}

.card-outline-info {
    border: 2px solid #17a2b8 !important;
    background: #1a1a1a !important;
}

.card-outline-danger {
    border: 2px solid #dc3545 !important;
    background: #1a1a1a !important;
}

/* ===== ROLE BADGES ===== */
.role-badge {
    transition: all 0.2s ease;
}

.role-badge:hover {
    transform: scale(1.05);
}

.role-badge.regular {
    background: #6c757d !important;
    color: white !important;
}

.role-badge.bareista {
    background: #28a745 !important;
    color: white !important;
}

.role-badge.manager {
    background: #ffc107 !important;
    color: black !important;
}

.role-badge.admin {
    background: #dc3545 !important;
    color: white !important;
}

/* ===== STEP BADGES ===== */
.step-badge {
    background: #ffc107;
    color: #000;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

/* ===== CATEGORY HEADERS ===== */
.category-header {
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid;
}

.category-header.management {
    color: #007bff;
    border-color: #007bff;
}

.category-header.finding {
    color: #17a2b8;
    border-color: #17a2b8;
}

.category-header.profile {
    color: #ffc107;
    border-color: #ffc107;
}

.category-header.reviews {
    color: #28a745;
    border-color: #28a745;
}

.category-header.communication {
    color: #6f42c1;
    border-color: #6f42c1;
}

.category-header.troubleshooting {
    color: #dc3545;
    border-color: #dc3545;
}

/* ===== STANDARD PAGE LAYOUT ===== */
.page-container {
    margin-top: 1.5rem;
    margin-bottom: 3rem;
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .page-header .card-body {
        padding: 1.5rem 1rem;
    }
    
    .feature-card:hover {
        transform: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
}

/* ===== ACCOUNT PAGES (profile, messages, favorites, reviews) ===== */
.account-page {
    margin-bottom: 2rem;
}

.account-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
    margin-bottom: 1.25rem;
}

.account-head h1 {
    margin: 0 !important;
    font-size: calc(1.325rem + 0.9vw);
    font-weight: 500;
    line-height: 1.2;
}

.account-head-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.account-summary .account-head-actions {
    align-self: flex-start;
    width: auto;
    max-width: 100%;
}

.account-summary .account-head-actions .btn {
    width: auto;
    flex: 0 0 auto;
}

.account-lead {
    margin: 0.35rem 0 0;
    max-width: 42rem;
    line-height: 1.45;
}

.account-head .account-lead {
    margin-top: 0.35rem;
}

.account-summary .card-body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.account-summary h2 {
    margin: 0;
}

.account-note {
    margin: 0.4rem 0 0;
    font-size: 0.875rem;
}

.account-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.account-pills li,
a.account-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.22);
    color: #e8e8e8 !important;
    line-height: 1.2;
    text-decoration: none;
}

a.account-pill:hover {
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.28);
}

a.account-pill.is-active {
    border-color: rgba(255, 193, 7, 0.65);
    color: #fff !important;
}

.account-pills strong {
    color: #fff;
    font-weight: 700;
}

.account-page .stat-mark {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    flex: 0 0 auto;
}

.stat-managing { background: #ffc107; }
.stat-working { background: #00bc8c; }
.stat-saved { background: #3498db; }
.stat-average { background: #ffc107; }
.stat-denied { background: #888; }
.stat-approved { background: #00bc8c; }
.stat-pending { background: #f39c12; }
.stat-flagged { background: #e74c3c; }
.stat-total { background: #3498db; }

.account-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: 22rem 22rem 32rem;
    column-gap: 0.75rem;
    align-items: start;
    justify-content: start;
}

.profile-flow {
    grid-column: 1 / span 2;
    display: grid;
    grid-template-columns: 22rem 22rem;
    gap: 0.75rem;
    align-items: start;
}

.profile-flow.is-packed {
    display: block;
    position: relative;
}

.profile-account {
    grid-column: 3;
    grid-row: 1;
    width: 32rem;
    max-width: 100%;
}

.profile-flow > .card,
.profile-account > .card {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

.profile-flow.is-packed > .card {
    position: absolute;
    width: calc((100% - 0.75rem) / 2);
}

.profile-flow > .card:hover {
    transform: none;
}

@media (max-width: 1280px) {
    .profile-grid {
        grid-template-columns: 22rem 22rem;
        row-gap: 0.75rem;
    }
    .profile-account {
        grid-column: 1 / -1;
        grid-row: auto;
        width: min(32rem, 100%);
    }
}

@media (max-width: 760px) {
    .profile-grid {
        grid-template-columns: min(22rem, 100%);
    }
    .profile-flow {
        grid-column: 1;
        grid-template-columns: min(22rem, 100%);
        height: auto !important;
    }
    .profile-flow.is-packed > .card {
        position: static;
        width: 100%;
    }
}

.profile-panel-account .form-measure,
.profile-panel-account .form-pick.form-pick-mail > .form-control,
.profile-panel-account .form-pick.form-pick-account > .form-control,
.profile-panel-account .form-pick.form-pick-account > .username-inline,
.profile-panel-account .form-pick.form-pick-account > .username-inline > .form-control,
.profile-panel-account .form-pick.form-pick-given > .form-control {
    width: 100%;
    max-width: 100%;
}

.profile-panel-account .form-pick,
.profile-panel-account .form-pick.form-pick-account {
    flex-wrap: wrap;
    align-items: flex-start;
}

.profile-panel-account .account-note {
    white-space: normal;
}

.profile-photo-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem 1rem;
}

.profile-photo-head h2 {
    margin: 0;
}

.profile-photo-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.profile-photo-thumb {
    position: relative;
    width: 88px;
    flex: 0 0 auto;
}

.profile-panel-photo .profile-photo-thumb {
    width: calc((100% - 1rem) / 3);
}

.profile-photo-thumb img,
.profile-panel-photo .profile-photo-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
}

.profile-photo-thumb .photo-badge {
    position: absolute;
    z-index: 1;
    line-height: 1;
}

.profile-photo-thumb .photo-badge.top-right {
    top: 0.15rem;
    right: 0.15rem;
}

.profile-photo-thumb .photo-badge.bottom-left {
    bottom: 0.15rem;
    left: 0.15rem;
}

.profile-photo-thumb .badge {
    font-size: 0.6rem;
    padding: 0.1rem 0.28rem;
}

.profile-identity .account-pills {
    margin-top: 0.15rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.profile-favorites-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: inherit !important;
    text-decoration: none;
}

.profile-favorites-link:hover,
.profile-favorites-link:focus {
    color: #fff !important;
}

.profile-request.pending { border-left: 3px solid #f39c12; }
.profile-request.approved { border-left: 3px solid #00bc8c; }
.profile-request.denied { border-left: 3px solid #e74c3c; }

.account-kicker {
    margin: 1.25rem 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.account-page > h2.h5 {
    margin: 1.25rem 0 0.65rem;
}

.admin-home .account-kicker {
    margin: 0.85rem 0 0.4rem;
}

.admin-home .account-summary {
    margin-bottom: 0.35rem !important;
}

.admin-board {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 280px));
    gap: 0.55rem;
    justify-content: start;
}

.admin-home .quiet-card .card-body {
    padding: 0.55rem 0.7rem;
    gap: 0.3rem;
}

.admin-home .quiet-meta {
    font-size: 0.82rem;
    gap: 0;
}

.admin-home .quiet-actions .btn {
    flex: 0 0 auto;
    max-width: none;
}

.admin-home .waiting-actions {
    gap: 0.55rem;
}

.admin-home .waiting-actions form,
.admin-home .waiting-actions > .btn {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
}

.admin-home .waiting-actions form .btn {
    width: auto;
}

.account-page a.stand-link {
    color: #ffc107 !important;
    text-decoration: none;
}

.account-page a.stand-link:hover {
    color: #ffda6a !important;
}

.quiet-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}

.quiet-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
}

.quiet-card h2 {
    margin: 0;
}

.quiet-meta {
    display: grid;
    gap: 0.35rem;
    margin: 0;
    font-size: 0.92rem;
}

p.quiet-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.2rem 0.5rem;
}

.confirm-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.quiet-meta,
.quiet-actions,
.review-scores,
.review-card-top,
.review-comment {
    align-self: stretch;
    width: 100%;
}

.quiet-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.quiet-actions .btn,
.quiet-actions form {
    flex: 1 1 8rem;
    max-width: 14rem;
}

.quiet-actions form .btn {
    width: 100%;
}

.stand-card .card-body {
    padding: 0.7rem 0.85rem;
    gap: 0.35rem;
}

.stand-card h3 {
    margin: 0;
    font-size: 1rem;
}

.stand-card .quiet-meta {
    font-size: 0.85rem;
}

.account-page form[role="search"] {
    max-width: 32rem;
}

.search-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 210px));
    gap: 0.55rem;
    justify-content: start;
}

a.search-tile {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    padding: 0.55rem 0.7rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: #303030;
    color: inherit;
    text-decoration: none;
}

a.search-tile:hover {
    border-color: rgba(255, 193, 7, 0.55);
    color: inherit;
    text-decoration: none;
}

.search-tile-name {
    color: #ffc107;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.25;
}

.search-tile-place,
.search-tile-street {
    color: #9ca3af;
    font-size: 0.78rem;
    line-height: 1.3;
}

.search-tile-street {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .search-tiles {
        grid-template-columns: 1fr;
    }
}

.directory-state {
    margin: 0 0 1.6rem;
    scroll-margin-top: 5.5rem;
}

.directory-state h2 {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    margin: 0 0 0.65rem;
}

.directory-count {
    color: #9ca3af;
    font-size: 0.85rem;
    font-weight: 600;
}

.account-pills a.directory-jump {
    color: inherit !important;
    text-decoration: none;
}

.account-pills a.directory-jump:hover {
    color: #fff !important;
}

.stand-card.manager {
    border-left: 3px solid #ffc107;
}

.stand-card.bareista {
    border-left: 3px solid #00bc8c;
}

.review-card .card-body {
    padding: 0.75rem 0.85rem;
    gap: 0.4rem;
}

.review-card-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.15rem 0.75rem;
}

.review-card h2 {
    font-size: 1rem;
}

.review-card .review-comment {
    font-size: 0.9rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-card .quiet-actions .btn {
    flex: 0 0 auto;
    max-width: none;
    padding: 0.15rem 0.55rem;
}

.review-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    color: #9ca3af;
    font-size: 0.875rem;
}

.review-comment.is-empty {
    color: #6b7280 !important;
    font-style: italic;
}

.review-scores {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
}

.review-scores-five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 720px) {
    .review-scores-five {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.spill-page {
    color: #f6efe6;
}

.spill-page .spill-head {
    margin-bottom: 0.85rem;
}

.spill-page .spill-kicker {
    margin: 0 0 0.25rem;
    color: #cbbba8;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.spill-page h1 {
    margin: 0 0 0.35rem;
    font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.spill-page .spill-tagline {
    margin: 0;
    color: #cbbba8;
}

.spill-sheet {
    display: grid;
    gap: 0.35rem;
    max-width: 34rem;
}

.spill-page .stand-input,
.spill-page select.stand-input,
.spill-page textarea.stand-input {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: 1px solid rgba(246, 239, 230, 0.18);
    border-radius: 0.45rem;
    background: rgba(10, 8, 7, 0.45);
    color: #f6efe6;
    padding: 0.55rem 0.7rem;
}

.spill-page textarea.stand-input {
    min-height: 4.5rem;
    resize: vertical;
}

.spill-page .spill-form {
    display: grid;
    gap: 0.55rem;
    margin: 0;
}

.spill-page .rating-stars {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 0.45rem 0.65rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.55rem;
    background: rgba(0, 0, 0, 0.22);
}

.spill-page .rating-stars-label {
    float: none;
    width: auto;
    margin: 0 0 0.1rem;
    padding: 0;
    font-size: 0.92rem;
    line-height: 1.25;
    color: #f6efe6;
}

.spill-page .rating-stars-hint {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    line-height: 1.35;
    color: #cbbba8;
}

.spill-page .rating-stars-row {
    position: relative;
    display: inline-flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.15rem;
    max-width: 100%;
}

.spill-page .rating-stars-row input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.spill-page .rating-stars-row label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.85rem;
    height: 1.85rem;
    margin: 0;
    color: rgba(203, 187, 168, 0.45);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.spill-page .rating-stars-row .rating-star-glyph {
    display: block;
    pointer-events: none;
}

.spill-page .rating-stars-row label:hover,
.spill-page .rating-stars-row label:hover ~ label,
.spill-page .rating-stars-row input:checked ~ label,
.spill-page .rating-stars-row input:focus-visible + label {
    /* Hot coral — clear contrast vs pale empty stars */
    color: #ff4d3a;
}

.spill-page .spill-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    margin-top: 0.85rem;
}

.spill-page .spill-actions button.submit,
.spill-page .spill-actions button.submit:link,
.spill-page .spill-actions button.submit:visited,
.spill-page .spill-actions button.submit:hover,
.spill-page .spill-actions button.submit:focus,
.spill-page .spill-actions button.submit:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 0;
    border-radius: 0.35rem;
    padding: 0.68rem 1.15rem;
    background: #e4b15a;
    color: #24180b;
    font: inherit;
    font-weight: 650;
    line-height: 1.1;
    text-decoration: none;
    cursor: pointer;
}

.spill-page .spill-actions button.submit:hover,
.spill-page .spill-actions button.submit:focus {
    background: #f0c57a;
    color: #24180b;
}

.spill-page .spill-actions button.submit:focus-visible,
.spill-page .spill-actions a.action:focus-visible {
    outline: 2px solid #f6efe6;
    outline-offset: 2px;
}

.spill-page .spill-actions a.action,
.spill-page .spill-actions a.action:link,
.spill-page .spill-actions a.action:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(246, 239, 230, 0.28);
    border-radius: 0.35rem;
    padding: 0.62rem 1rem;
    background: transparent;
    color: #f6efe6;
    font-weight: 600;
    text-decoration: none;
}

.spill-page .spill-actions a.action:hover,
.spill-page .spill-actions a.action:focus {
    background: #e4b15a;
    border-color: #e4b15a;
    color: #24180b;
}

.spill-page .spill-actions button.submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.spill-block {
    display: grid;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
    min-width: 0;
}

.spill-block h2 {
    margin: 0;
    font-size: 1.15rem;
}

.spill-page .spill-check {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin: 0;
    line-height: 1.35;
}

.spill-page .spill-check input {
    width: 1rem;
    height: 1rem;
    margin: 0.15rem 0 0;
    flex: 0 0 auto;
    accent-color: #e4b15a;
}

.spill-page .spill-empty {
    margin: 0;
    color: #cbbba8;
    font-size: 0.9rem;
}

.spill-page .spill-when {
    margin: 0.15rem 0 0.35rem;
}

.spill-page .spill-when summary {
    width: fit-content;
    color: #cbbba8;
    cursor: pointer;
}

.spill-page .spill-when[open] summary {
    margin-bottom: 0.45rem;
}

.spill-page .spill-when .stand-input + .stand-input,
.spill-page .spill-when input + select {
    margin-top: 0.45rem;
}

.spill-people {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
    gap: 0.45rem;
}

.spill-person {
    position: relative;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    min-width: 0;
    margin: 0;
    padding: 0.4rem 0.55rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.5rem;
    background: rgba(0, 0, 0, 0.16);
    cursor: pointer;
}

.spill-person:has(input:checked) {
    border-color: #e4b15a;
    background: rgba(228, 177, 90, 0.16);
}

.spill-person:focus-within {
    outline: 2px solid #e4b15a;
    outline-offset: 2px;
}

.spill-person input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
}

.spill-person span {
    min-width: 0;
    overflow-wrap: break-word;
}

.spill-person img,
.spill-person .ph {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

.spill-person .ph {
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 650;
}

.spill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.spill-tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: 0;
    border: 1px solid rgba(246, 239, 230, 0.22);
    border-radius: 999px;
    padding: 0.22rem 0.6rem;
    background: transparent;
    color: #cbbba8;
    font-size: 0.8rem;
    line-height: 1.2;
    cursor: pointer;
}

.spill-tag input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
}

.spill-tag:has(input:checked) {
    background: #e4b15a;
    border-color: #e4b15a;
    color: #24180b;
}

.spill-tag:focus-within {
    outline: 2px solid #f6efe6;
    outline-offset: 2px;
}

.spill-page .rating-stars-row input:focus-visible + label {
    outline: 2px solid #e4b15a;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .spill-page .rating-stars-row label {
        width: 2rem;
        height: 2rem;
    }
}

.review-score {
    min-width: 0;
    padding: 0.3rem 0.2rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.22);
    text-align: center;
}

.review-score strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
}

.review-score span {
    color: #9ca3af;
    font-size: 0.68rem;
}

.review-score.is-overall strong {
    color: #ffc107;
}

.inbox-table td {
    vertical-align: middle;
}

/* Flash toasts and dialogs sit above the sticky nav (z-index 1200) and the logo. */
.swal2-container {
    z-index: 6000 !important;
}

.modal-backdrop {
    z-index: 6050 !important;
}

.modal {
    z-index: 6100 !important;
}

.profile-photo-limit,
.upload-approval {
    margin: 0;
    max-width: 42rem;
    line-height: 1.45;
}

.profile-photo-count {
    display: inline-block;
    margin-left: 0.35rem;
    color: #8ee0c2;
    font-weight: 600;
    white-space: nowrap;
}

.upload-form {
    display: grid;
    width: max-content;
    max-width: 100%;
    grid-template-columns: minmax(18rem, 22rem) 220px;
    grid-template-areas:
        "file preview"
        "caption preview"
        "actions preview";
    gap: 1rem 1.25rem;
    align-items: start;
    justify-content: start;
}

.upload-file { grid-area: file; }
.upload-caption { grid-area: caption; }
.upload-actions { grid-area: actions; }
.upload-preview { grid-area: preview; }

.upload-file input[type="file"] {
    line-height: 1.5;
}

.upload-file input[type="file"]::file-selector-button {
    margin: -0.375rem 0.75rem -0.375rem -0.75rem;
    padding: 0.375rem 0.85rem;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 5px 0 0 5px;
    background: rgba(255, 255, 255, 0.08);
    color: #f3f3f3;
    line-height: inherit;
    cursor: pointer;
}

.upload-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.upload-actions .bi,
.account-head .bi {
    margin-right: 0 !important;
}

.upload-preview .card-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.upload-preview h5 {
    margin: 0;
}

.upload-preview-frame {
    position: relative;
    height: 220px;
    overflow: hidden;
    border-radius: 8px;
    background: #111;
}

.upload-preview-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #111;
}

.upload-preview-empty,
.upload-preview-caption,
.upload-preview-meta,
.upload-preview-status {
    margin: 0;
    color: #b8b8b8;
    line-height: 1.4;
}

.upload-preview-empty {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
}

.upload-preview-caption:empty,
.upload-preview-meta:empty,
.upload-preview-status:empty {
    display: none;
}

.upload-preview.is-invalid .upload-preview-status {
    color: #f5c2c0;
}

.upload-preview.is-ready .upload-preview-status {
    color: #8ee0c2;
}

.upload-field-error {
    margin-top: 0.35rem;
    color: #f5c2c0;
}

body.upload-error-open {
    overflow: hidden;
}

.upload-error-modal {
    position: fixed;
    inset: 0;
    z-index: 6100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
}

.upload-error-modal[hidden] {
    display: none !important;
}

.upload-error-dialog {
    width: min(32rem, 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(30, 30, 30, 0.96);
    color: #f3f3f3;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.upload-error-dialog h2 {
    margin: 0;
    padding: 1rem 1.25rem 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #f3f3f3;
    font-size: 1.25rem;
    font-weight: 600;
}

#upload-error-text {
    margin: 0;
    padding: 1.1rem 1.25rem 0.25rem;
    color: #f3f3f3;
    font-size: 1.05rem;
    line-height: 1.5;
    white-space: pre-line;
}

.upload-error-actions {
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.25rem 1.15rem;
}

@media (max-width: 767px) {
    .upload-form {
        width: 100%;
        grid-template-columns: 1fr;
        grid-template-areas:
            "file"
            "preview"
            "caption"
            "actions";
    }
}

.managed-photo {
    overflow: hidden;
}

.managed-photo-frame {
    position: relative;
    height: 148px;
    overflow: hidden;
    background: #111;
}

.managed-photo-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.managed-photo-badges {
    position: absolute;
    top: 0.4rem;
    left: 0.4rem;
    right: 0.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.managed-photo .card-body {
    padding: 0.6rem 0.7rem;
    gap: 0.35rem;
}

.managed-photo .quiet-meta {
    font-size: 0.82rem;
}

.managed-photo .quiet-actions .btn,
.managed-photo .quiet-actions form {
    flex: 1 1 5.5rem;
    max-width: none;
}

.tool-stack {
    display: grid;
    gap: 0.7rem;
}

.tool-pair {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.7rem;
}

.tool-card .card-body {
    gap: 0.55rem;
}

.tool-card form,
.tool-card .usage-row {
    align-self: stretch;
    width: 100%;
}

.tool-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tool-metrics li {
    color: rgba(243, 243, 243, 0.72);
    font-size: 0.82rem;
}

.tool-metrics strong,
.tool-pages strong {
    display: block;
    color: #ffc107;
    font-size: 1.35rem;
    font-weight: 650;
    line-height: 1.1;
}

.analytics-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(16.5rem, 0.9fr);
    gap: 0.35rem 1.35rem;
    align-items: start;
    align-self: stretch;
    width: 100%;
}

.analytics-trend,
.analytics-side {
    min-width: 0;
}

.visit-chart {
    width: 100%;
    height: auto;
    display: block;
}

.visit-chart-dates,
.part-key,
.tool-pages {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
    color: rgba(243, 243, 243, 0.65);
    font-size: 0.78rem;
}

.analytics-trend .quiet-meta {
    margin-top: 0.2rem;
}

.analytics-side .tool-subhead {
    margin: 0.55rem 0 0.28rem;
}

.analytics-side .tool-subhead:first-child {
    margin-top: 0;
}

.analytics-side .part-key {
    display: grid;
    gap: 0.15rem;
    margin-top: 0.35rem;
    justify-content: start;
}

.part-label {
    position: relative;
    cursor: help;
}

.part-label:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.45);
    outline-offset: 2px;
    border-radius: 4px;
}

.part-note {
    display: none;
    position: absolute;
    z-index: 3;
    left: 0;
    top: calc(100% + 0.35rem);
    width: max-content;
    max-width: 16rem;
    padding: 0.4rem 0.55rem;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    background: #f4f4f4;
    color: #222;
    font-size: 0.75rem;
    line-height: 1.35;
    white-space: normal;
}

.part-label:hover .part-note,
.part-label:focus .part-note {
    display: block;
}

.dest-list {
    display: grid;
    gap: 0.32rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dest-list li {
    display: grid;
    grid-template-columns: 6.4rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
}

.dest-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dest-track {
    height: 8px;
    border-radius: 99px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.dest-fill {
    display: block;
    height: 100%;
    min-width: 4px;
    background: #3498db;
}

.dest-count {
    text-align: right;
    color: #ffc107;
    font-weight: 650;
}

@media (max-width: 760px) {
    .analytics-layout {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

.tool-subhead {
    margin: 0.35rem 0 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.part-bar {
    display: flex;
    width: 100%;
    height: 12px;
    border-radius: 99px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.part-bar > span {
    height: 100%;
    min-width: 3px;
}

.part-left,
.part-left-mark { background: #9aa0a6; }
.part-stayed,
.part-stayed-mark { background: #f39c12; }
.part-clicked,
.part-clicked-mark { background: #00bc8c; }

.part-key {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
}

.part-key li {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.tool-pages {
    flex-direction: column;
    gap: 0.25rem;
    color: rgba(243, 243, 243, 0.85);
    font-size: 0.92rem;
}

.tool-pages li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.tool-pages strong {
    font-size: 0.95rem;
}

.tool-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.55rem 0 0;
}

.tool-card textarea {
    margin-top: 0.25rem;
}

.tool-card form .btn {
    margin-top: 0.75rem;
}

.usage-label {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
}

.usage-track {
    height: 8px;
    border-radius: 99px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
}

.usage-fill {
    display: block;
    height: 100%;
    background: #ffc107;
}

.usage-fill.is-high,
.tool-alert {
    background: #e74c3c;
}

.tool-alert {
    margin: 0;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
    color: #fff;
    font-size: 0.88rem;
}

/* Admin engagement analytics page */
.analytics-page .analytics-filters {
    display: block;
    width: 100%;
    margin: 0 0 0.85rem;
}

.analytics-page .analytics-filter-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    width: 100%;
    margin: 0;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    box-sizing: border-box;
}

.analytics-page .range-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    flex: 0 0 auto;
}

.analytics-page .range-pill {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(243, 243, 243, 0.85);
    border-radius: 999px;
    padding: 0.28rem 0.75rem;
    font-size: 0.82rem;
}

.analytics-page .range-pill.active {
    background: rgba(255, 193, 7, 0.16);
    border-color: rgba(255, 193, 7, 0.55);
    color: #ffc107;
}

.analytics-page .custom-range {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.65rem 0.85rem;
    width: 100%;
    flex: 0 0 auto;
    min-height: 3.75rem;
}

.analytics-page .date-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    margin: 0;
    font-size: 0.78rem;
    color: rgba(243, 243, 243, 0.65);
    flex: 0 0 auto;
}

.analytics-page .date-field span {
    display: block;
}

.analytics-page .date-field input[type="date"] {
    display: block;
    width: 11.5rem;
    max-width: 100%;
    box-sizing: border-box;
    background: #1f242a;
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    border-radius: 6px;
    padding: 0.35rem 0.55rem;
    line-height: 1.2;
}

.analytics-page .custom-range-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    margin-top: 1.15rem;
    flex: 0 0 auto;
}

.analytics-page .analytics-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    width: 100%;
    margin: 0 0 1.35rem;
    padding: 0;
    border: 0;
    font-size: 0.84rem;
    clear: both;
}

.analytics-page .analytics-jump a {
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.7rem;
    border: 1px solid rgba(116, 185, 255, 0.35);
    border-radius: 999px;
    color: #74b9ff;
    text-decoration: none;
    white-space: nowrap;
}

.analytics-page .analytics-jump a:hover {
    background: rgba(116, 185, 255, 0.12);
    color: #a6d4ff;
}

.analytics-page .analytics-section {
    margin-bottom: 1.75rem;
}

.analytics-page .metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.analytics-page .metric-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.7rem 0.8rem;
    min-height: 5.4rem;
}

.analytics-page .metric-label {
    color: rgba(243, 243, 243, 0.68);
    font-size: 0.75rem;
    line-height: 1.25;
}

.analytics-page .metric-value {
    color: #ffc107;
    font-size: 1.35rem;
    font-weight: 650;
    line-height: 1.15;
    margin-top: 0.25rem;
    word-break: break-word;
}

.analytics-page .metric-value.unavailable {
    color: rgba(243, 243, 243, 0.45);
    font-size: 1rem;
    font-weight: 600;
}

.analytics-page .metric-delta {
    margin-top: 0.15rem;
    font-size: 0.72rem;
    color: rgba(243, 243, 243, 0.55);
}

.analytics-page .metric-delta.up {
    color: #00bc8c;
}

.analytics-page .metric-delta.down {
    color: #e74c3c;
}

.analytics-page .metric-life {
    margin-top: 0.15rem;
    font-size: 0.7rem;
    color: rgba(243, 243, 243, 0.45);
}

.analytics-page .analytics-split {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.9fr);
    gap: 0.85rem;
    margin: 0.85rem 0;
    align-items: stretch;
}

.analytics-page .analytics-split.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.analytics-page .analytics-panel {
    height: 100%;
}

.analytics-page .analytics-panel .card-body {
    align-items: stretch;
    gap: 0.55rem;
    width: 100%;
}

.analytics-page .analytics-panel .h6 {
    margin: 0;
}

.analytics-page .analytics-table {
    margin-bottom: 0;
    font-size: 0.85rem;
}

.analytics-page .dest-list {
    width: 100%;
}

.analytics-page .dest-list li {
    grid-template-columns: 7.5rem minmax(0, 1fr) auto;
}

.analytics-page .funnel-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
    width: 100%;
}

.analytics-page .funnel-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.86rem;
}

.analytics-page .funnel-list strong {
    color: #ffc107;
}

@media (max-width: 900px) {
    .analytics-page .analytics-split,
    .analytics-page .analytics-split.three {
        grid-template-columns: 1fr;
    }

    .analytics-page .custom-range {
        flex-direction: column;
    }

    .analytics-page .date-field,
    .analytics-page .date-field input[type="date"] {
        width: 100%;
    }

    .analytics-page .custom-range-actions {
        margin-top: 0;
    }
}

.hot-list {
    max-width: 40rem;
    color: #f6efe6;
}

.hot-board {
    list-style: none;
    margin: 1rem 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.hot-board li {
    display: flex;
    gap: 0.65rem;
    align-items: center;
}

.hot-board a,
.hot-list .hot-board a:link,
.hot-list .hot-board a:visited {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    min-width: 0;
    color: #f6efe6;
    text-decoration: none;
}

.hot-list .hot-hall a:link,
.hot-list .hot-hall a:visited {
    color: #e4b15a;
}

.hot-list button.action,
.spill-page button.action {
    border: 1px solid rgba(246, 239, 230, 0.28);
    border-radius: 0.35rem;
    background: transparent;
    color: #f6efe6;
    padding: 0.45rem 0.8rem;
}

.hot-board img,
.hot-board .ph {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
    flex: 0 0 auto;
}

.hot-board .ph {
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.08);
}

.hot-board span {
    display: grid;
    min-width: 0;
}

.hot-board em,
.hot-board small {
    color: #cbbba8;
    font-style: normal;
}

.hot-rank {
    width: 1.4rem;
    color: #e4b15a;
    font-weight: 700;
}

.hot-hall {
    padding-left: 1.1rem;
}

.hot-list .action,
.spill-page .action {
    margin: 0.2rem 0.35rem 0.2rem 0;
}

/* Claim your stand. One narrow column, not a stack of full-width cards. */
.claim-page {
    max-width: 52rem;
    margin: 0 0 2.5rem;
}

.claim-head h1 {
    margin: 0 0 0.4rem;
}

.claim-head p,
.claim-missing p,
.claim-result p,
.claim-empty {
    margin: 0;
    max-width: 38rem;
}

.claim-note {
    margin-top: 0.45rem !important;
    color: #cbbba8 !important;
    font-size: 0.92rem;
}

.claim-search {
    margin-top: 1.35rem;
}

.claim-search label {
    display: block;
    margin-bottom: 0.4rem;
    color: #f3f3f3;
    font-weight: 650;
}

.claim-search-row {
    display: flex;
    gap: 0.55rem;
    align-items: center;
}

.claim-search-row input {
    flex: 1 1 auto;
    min-width: 0;
    height: 2.6rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: #111;
    color: #f3f3f3;
}

.claim-search-row button {
    flex: 0 0 auto;
    height: 2.6rem;
    padding: 0 1rem;
    border: 0;
    border-radius: 8px;
    background: #e8b86d;
    color: #1a1008;
    font-weight: 700;
}

.claim-results {
    margin-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.claim-result {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.claim-result h2 {
    margin: 0;
    font-size: 1.05rem;
}

.claim-taken {
    color: #e8b86d !important;
    font-size: 0.85rem;
}

.claim-empty {
    padding: 0.9rem 0;
}

.claim-result-actions,
.claim-choices {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.claim-missing {
    margin-top: 1.6rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.claim-missing h2 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
}

.claim-choices {
    margin-top: 0.85rem;
}

.claim-page a.claim-choice:not(.manage-nav-link):not(.preview-choice):not(.btn) {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.85rem;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #e8b86d;
    color: #1a1008 !important;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
}

.claim-page a.claim-choice.claim-choice-quiet:not(.manage-nav-link):not(.preview-choice):not(.btn) {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.28);
    color: #f3f3f3 !important;
    font-weight: 650;
}

.claim-page a.claim-choice:not(.manage-nav-link):not(.preview-choice):not(.btn):hover,
.claim-page a.claim-choice:not(.manage-nav-link):not(.preview-choice):not(.btn):focus-visible {
    filter: brightness(1.08);
}

.claim-form {
    margin-top: 1.25rem;
}

.claim-facts {
    display: grid;
    gap: 0.45rem;
    margin: 0.75rem 0 0.85rem;
}

.claim-facts div {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    gap: 0.6rem;
}

.claim-facts dt {
    margin: 0;
    color: #cbbba8;
    font-weight: 650;
}

.claim-facts dd,
.claim-hours {
    margin: 0;
    color: #f3f3f3 !important;
    white-space: pre-wrap;
}

.claim-form section {
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.claim-form h2 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
}

.claim-form p,
.claim-form .claim-note {
    margin: 0 0 0.65rem;
}

.claim-form label {
    display: block;
    margin: 0 0 0.28rem;
    color: #f3f3f3;
    font-weight: 650;
}

.claim-tag {
    margin-left: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #cbbba8;
}

.claim-tag-required {
    color: #e8b86d;
}

.claim-form .form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin: 0.35rem 0;
}

.claim-form .form-check-label {
    display: inline;
    margin: 0;
    font-weight: 500;
}

.claim-indent {
    margin-left: 1.4rem !important;
}

.claim-fields,
.claim-fields-2,
.claim-fields-3 {
    display: grid;
    gap: 0.7rem;
}

.claim-fields-2 {
    grid-template-columns: 1fr 1fr;
}

.claim-fields-3 {
    grid-template-columns: 1.4fr 0.6fr 0.8fr;
}

.claim-form .form-control,
.claim-form input[type="text"],
.claim-form input[type="email"],
.claim-form textarea {
    width: 100%;
    padding: 0.5rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 8px;
    background: #111 !important;
    color: #f3f3f3 !important;
    box-shadow: none;
}

.claim-form textarea {
    min-height: 4.5rem;
}

.claim-fold {
    margin-top: 0.85rem;
}

.claim-fold summary {
    cursor: pointer;
    color: #e8b86d;
    font-weight: 700;
}

.claim-fold .claim-fields {
    margin-top: 0.75rem;
}

.claim-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1.2rem;
}

.claim-form button.claim-submit {
    border: 0;
    border-radius: 8px;
    background: #e8b86d;
    color: #1a1008;
    font-weight: 700;
    padding: 0.55rem 0.95rem;
}

@media (max-width: 640px) {
    .claim-search-row,
    .claim-result,
    .claim-fields-2,
    .claim-fields-3 {
        flex-direction: column;
        align-items: stretch;
        grid-template-columns: 1fr;
    }

    .claim-search-row button,
    .claim-result-actions .claim-choice {
        width: 100%;
        justify-content: center;
    }
} 