:root {
    /* Brand Colors (Line Green adapted for modern look) */
    --primary: #06C755;
    --primary-dark: #05a546;
    --primary-light: #E8F8EE;
    
    /* Semantic Colors */
    --accent: #FF9800;
    --danger: #EF5350;
    --success: #66BB6A;
    
    /* Text Colors */
    --text-main: #111827; /* Gray 900 */
    --text-secondary: #4B5563; /* Gray 600 */
    --text-muted: #9CA3AF; /* Gray 400 */
    
    /* Backgrounds */
    --bg-body: #F3F4F6; /* Cool Gray 100 */
    --bg-card: #FFFFFF;
    
    /* Geometry */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    margin: 0;
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.5;
    padding-bottom: 90px; /* Space for bottom nav */
}

a { text-decoration: none; color: inherit; }

/* Container */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.025em;
}

/* Cards */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:active {
    transform: scale(0.995);
}

.card h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--text-main);
}

.card p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

/* Typography Helpers */
h1 { font-size: 1.75rem; font-weight: 800; color: var(--text-main); margin-bottom: 1rem; letter-spacing: -0.03em; }
.text-sm { font-size: 0.875rem; }
.text-muted { color: var(--text-muted); }

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 14px 24px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.25);
    transition: all 0.2s ease;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(6, 199, 85, 0.35);
}

.btn:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-light);
    box-shadow: none;
    transform: none;
}

.btn-sm {
    width: auto;
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
}

/* Forms */
.form-group { margin-bottom: 20px; }
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    border: 2px solid transparent;
    background: #F9FAFB;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--text-main);
    transition: all 0.2s;
    outline: none;
}

.form-input:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-input::placeholder {
    color: #9CA3AF;
}

.form-check {
    width: 20px; height: 20px;
    accent-color: var(--primary);
}

/* Navigation */
.nav-bottom {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-around;
    padding: 12px 10px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 100;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.03);
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #9CA3AF;
    font-size: 0.75rem;
    font-weight: 500;
    flex: 1;
    transition: color 0.2s;
    border-radius: 8px;
    padding: 4px;
}

.nav-item.active {
    color: var(--primary);
}

.nav-item i {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

/* Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.status-OPEN {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.status-CLOSED {
    background: #FEF2F2;
    color: #DC2626;
}

/* Helpers */
.header-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.option-row {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
