﻿
:root {
    --bg: #f7f7f9;
    --bg-elevated: #ffffff;
    --accent: #f97316;
    --accent-soft: rgba(249, 115, 22, 0.12);
    --text: #1f2937;
    --muted: #6b7280;
    --border-subtle: #ff5f1f;
    --card-bg: #ffffff;
    --radius-lg: 9px;
    --radius-md: 6px;
    --radius-pill: 7px;
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 2px 6px rgba(0, 0, 0, 0.1);
    --nav-height: 64px;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg);
    /*color: var(--text);*/
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}




/* modifying to view in light */

/* Layout wrapper */
.app-shell {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    padding: 0 12px 24px;
}

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 20;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    margin: 8px 0 14px;
    border-radius: 7px;
    background: #ffffff;
    
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(9px);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.logo {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff5f1f;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}

.nav-location {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.nav-location-line {
    font-size: 13px;
    font-weight: 600;
    color: #7d869b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-location-sub {
    font-size: 11px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 7px;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.icon-button {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    border: 1px solid var(--border-subtle);
    border-color: #ff5f1f;
    background: #ffffff;
    color: #ff5f1f;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

    .icon-button:active {
        transform: scale(0.94) translateY(1px);
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.9);
    }

    .icon-button.primary {
        border-color: #ff5f1f;
        color: #ff5f1f;
    }

    .icon-button .fa-sliders {
        transform: rotate(90deg);
    }

/* MAIN CONTENT */
main {
    flex: 1;
    margin-top: 4px;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 4px 4px 10px;
    gap: 8px;
}

.section-title {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.03em;
   
    color: #5D6574;
}

.section-subtitle {
    font-size: 11px;
    color: #5D6574;
}

/* CARD LIST */
.card-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}




/* ENDOF CARD LIST */

.card {
    background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), #020617);
    border-radius: var(--radius-lg);
    padding: 12px 12px 10px;

    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 4px;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    color: #ff5f1f;
}

.card-time {
    font-size: 13px;
    color: #373d48;
    border-radius: 7px;
    padding: 3px 8px;
    white-space: nowrap;
}

.card-quip {
    font-size: 13px;
    color: #5D6574;
    margin-bottom: 6px;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11px;
    color: #5D6574;
    margin-bottom: 6px;
}

.pill {
    border-radius: 2px;
    padding: 3px 8px;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #000;
}

    .pill .fa-location-arrow,
    .pill .fa-clock,
    .pill .fa-fire {
        font-size: 10px;
        color: #ff5f1f;
    }

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
}

.card-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #5D6574;
    font-size: 13px;
}

.card-toggle-icon {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
    color:#ff5f1f;
}

    .card-toggle-icon.expanded {
        transform: rotate(90deg);
        background: rgba(255, 95, 31, 0.12);
        border-color: rgba(255, 95, 31, 0.8);
        color: #ff5f1f;
    }


.card-status {
    font-size: 13px;
    color: #666;
}


.status-sponsored {
    border-color: #fac905;
    color: #e1b505;
    background: rgba(234, 179, 8, 0.12);
}

.status-owned {
    border-color: #38bdf8;
    color: #e0f2fe;
    background: rgba(56, 189, 248, 0.12);
}



.card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 12px 12px 10px;
    /*border: 1px solid var(--border-subtle);*/
    box-shadow: var(--shadow-card);
}

.card-divider {
    border: none;
    border-top: 1px solid #808080;
    margin: 8px 0 6px;
}

.card-body {
    font-size: 13px;
    color: #5D6574;
    margin-bottom: 8px;
}

.card-actions {
    display: flex;
    gap: 5px;
    margin-bottom: 2px;
}

.card-action-btn {
    flex: 1;

    color: #ff5f1f;
    font-size: 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    transition: background 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
    border: 0px;
}

    .card-action-btn:active {
        transform: translateY(1px) scale(0.97);
        /*box-shadow: 0 6px 16px rgba(15, 23, 42, 0.9);*/
    }

    .card-action-btn.primary {
        color: #ff5f1f;
        font-weight: 600;
        border: 0px;
    }

/* Hidden by default */
.card-details {
    display: none;
}

    .card-details.expanded {
        display: block;
    }

/* BOTTOM SHEET MODAL */
.backdrop {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
    z-index: 30;
}

    .backdrop.visible {
        opacity: 1;
        pointer-events: auto;
    }

.bottom-sheet {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: -100%;
    width: 100%;
    max-width: 900px;
    border-radius: 9px 9px 0 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.9);
    padding: 10px 14px 18px;
    transition: bottom 0.22s ease-out;
    z-index: 10000;
    border-top: 1px solid rgba(31, 41, 55, 0.95);
    border-left: 1px solid rgba(15, 23, 42, 0.9);
    border-right: 1px solid rgba(15, 23, 42, 0.9);
}

    .bottom-sheet.visible {
        bottom: 0;
    }

.sheet-handle {
    width: 40px;
    height: 4px;
    border-radius: 7px;
    background: #fff;
    margin: 4px auto 10px;

}

.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.sheet-title {
    font-size: 14px;
    font-weight: 600;

    letter-spacing: 0.08em;
    color: #4f5763;
}

.sheet-subtitle {
    font-size: 13px;
    color: #ff5f1f;
}

.sheet-section {
    margin-bottom: 10px;
}

.sheet-label {
    font-size: 13px;
    color: #4f5763;
    margin-bottom: 4px;
}

.sheet-input {
    width: 100%;
    border-radius: 7px;
    border: 1px solid rgba(55, 65, 81, 0.95);
    background-color: #fff;
    color: rgba(0, 0, 0, 0.7);
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
}

    .sheet-input::placeholder {
        color: #6b7280;
    }

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    border-radius: 7px;
    padding: 5px 10px;
    font-size: 13px;
    border: 1px solid #656e81;
    background: #f1f2f4;
    color: #8c95a6;
    cursor: pointer;
    transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}

    .chip.selected {
        background: var(--accent-soft);
        border-color: #ff5f1f;
        color: #ff5f1f;
        transform: translateY(-1px);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
    }

.sheet-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.btn {
    flex: 1;
    border-radius: 7px;
    padding: 9px 0;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}

    .btn:active {
        transform: translateY(1px) scale(0.98);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
    }

.btn-secondary {
    background: rgba(190, 190, 190, 0.95);
    border-color: rgba(55, 65, 81, 0.95);
    color: #fff;
}

.btn-primary {
    background: #ff5f1f;
    color: #fff;
    border-color: rgba(249, 115, 22, 0.9);
    box-shadow: 0 2px 2px rgba(248, 113, 22, 0.7);
}

/* Desktop / tablet tweaks */
@media (min-width: 640px) {
    .navbar {
        margin-top: 14px;
    }

    .card {
        padding: 14px 14px 12px;
    }

    .bottom-sheet {
        border-radius: 10px;
        padding: 14px 18px 20px;
    }
}
