/* ========================================
   GRABBSPEL - Huvudstil
   ======================================== */

:root {
    --primary: #1a1a1a;
    --primary-light: #2d2d2d;
    --accent: #c9a961;
    --accent-hover: #b8944d;
    --success: #4caf50;
    --danger: #f44336;
    --warning: #ff9800;
    --text: #333;
    --text-light: #666;
    --text-muted: #999;
    --bg: #f5f5f5;
    --bg-white: #fff;
    --border: #ddd;
    --shadow: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
    background: var(--primary);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand a {
    color: var(--accent);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: background 0.2s;
}

.nav-link:hover {
    background: var(--primary-light);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
}

.user-name {
    font-weight: 500;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.page-header {
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-light);
}

/* ========================================
   CARDS
   ======================================== */

.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2, .card-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.card-highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
}

.card-highlight .card-header {
    border-bottom-color: rgba(255,255,255,0.1);
}

.card-highlight h2 {
    color: var(--accent);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.admin-card {
    border-left: 4px solid var(--accent);
}

/* ========================================
   BIG NUMBER & STATS
   ======================================== */

.big-number {
    font-size: 3rem;
    font-weight: bold;
    text-align: center;
    margin: 1rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--bg-white);
    padding: 1.25rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0.25rem;
}

.stat-value.success { color: var(--success); }
.stat-value.danger { color: var(--danger); }

/* ========================================
   PROGRESS BAR
   ======================================== */

.progress-section {
    margin-top: 1.5rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.progress-bar {
    height: 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 6px;
    overflow: hidden;
}

.progress-bar.large {
    height: 20px;
    border-radius: 10px;
    background: var(--border);
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: inherit;
    transition: width 0.5s ease;
}

.progress-desc {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.goal-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-weight: 500;
}

.goal-estimate {
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-secondary {
    background: var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    background: #ccc;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* ========================================
   FORMS
   ======================================== */

.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.radio-group {
    display: flex;
    gap: 1.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.help-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* ========================================
   TABLES
   ======================================== */

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

.table th,
.table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.table th {
    background: var(--bg);
    font-weight: 600;
}

.table tr:hover {
    background: var(--bg);
}

/* ========================================
   BADGES
   ======================================== */

.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--border);
    color: var(--text);
}

.badge-admin {
    background: var(--accent);
    color: var(--primary);
}

.badge-gold {
    background: var(--accent);
    color: var(--primary);
}

/* ========================================
   SCHEDULE GRID
   ======================================== */

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.schedule-item {
    background: var(--bg);
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    border: 2px solid transparent;
}

.schedule-item.current {
    border-color: var(--accent);
    background: #fff;
}

.schedule-item.completed.win {
    background: #e8f5e9;
    border-color: var(--success);
}

.schedule-item.completed.loss {
    background: #ffebee;
    border-color: var(--danger);
}

.schedule-item.past {
    opacity: 0.6;
}

.schedule-month {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.schedule-person {
    color: var(--text-light);
    font-size: 0.9rem;
}

.schedule-result {
    margin-top: 0.5rem;
    font-weight: bold;
}

.schedule-result.win { color: var(--success); }
.schedule-result.loss { color: var(--danger); }

.schedule-date {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.schedule-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.schedule-missing {
    font-size: 0.8rem;
    color: var(--warning);
    margin-top: 0.5rem;
}

/* ========================================
   MINI SCHEDULE (Dashboard)
   ======================================== */

.mini-schedule {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0.5rem;
}

.mini-schedule-item {
    text-align: center;
    padding: 0.5rem 0.25rem;
    border-radius: var(--radius);
    background: var(--bg);
    font-size: 0.75rem;
}

.mini-schedule-item.current {
    background: var(--accent);
    color: var(--primary);
    font-weight: bold;
}

.mini-schedule-item.win {
    background: #c8e6c9;
}

.mini-schedule-item.loss {
    background: #ffcdd2;
}

.mini-month {
    display: block;
    font-weight: 600;
}

.mini-name {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.mini-result {
    display: block;
    font-size: 0.7rem;
}

/* ========================================
   TOP LIST
   ======================================== */

.top-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.top-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg);
    border-radius: var(--radius);
}

.top-list-item.gold {
    background: linear-gradient(90deg, #fff9e6 0%, #fff 100%);
    border-left: 4px solid #ffd700;
}

.top-list-item.silver {
    background: linear-gradient(90deg, #f5f5f5 0%, #fff 100%);
    border-left: 4px solid #c0c0c0;
}

.top-list-item.bronze {
    background: linear-gradient(90deg, #fef3e8 0%, #fff 100%);
    border-left: 4px solid #cd7f32;
}

.top-list-item .rank {
    font-size: 1.25rem;
    font-weight: bold;
    width: 30px;
    text-align: center;
}

.top-list-item .name {
    flex: 1;
    font-weight: 500;
}

.top-list-item .stats {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.top-list-item .amount {
    font-weight: bold;
    color: var(--success);
}

/* ========================================
   RESULT LIST
   ======================================== */

.result-list {
    list-style: none;
}

.result-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.result-list li:last-child {
    border-bottom: none;
}

.result-list li.win .result-amount { color: var(--success); }
.result-list li.loss .result-amount { color: var(--danger); }

.result-name { font-weight: 500; }
.result-month { color: var(--text-muted); font-size: 0.9rem; }
.result-amount { font-weight: bold; }

/* ========================================
   QUICK LINKS
   ======================================== */

.quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text);
    transition: transform 0.2s, box-shadow 0.2s;
}

.quick-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.quick-link .icon {
    font-size: 2rem;
}

/* ========================================
   YEAR SELECTOR
   ======================================== */

.year-selector {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

/* ========================================
   WISHES & TRIPS
   ======================================== */

.wishes-list, .trips-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wish-item, .trip-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1rem;
    background: var(--bg);
    border-radius: var(--radius);
    gap: 1rem;
}

.wish-content h3, .trip-item h3 {
    margin-bottom: 0.25rem;
}

.wish-meta, .trip-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.vote-btn {
    background: var(--bg-white);
    border: 2px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.vote-btn:hover {
    border-color: var(--accent);
}

.vote-btn.voted {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
}

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    font-size: 0.8rem;
}

.status-planned { background: #e3f2fd; color: #1976d2; }
.status-booked { background: #e8f5e9; color: #388e3c; }
.status-completed { background: #f3e5f5; color: #7b1fa2; }

/* ========================================
   LOGIN PAGE
   ======================================== */

.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 1rem;
}

.login-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--text-muted);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ========================================
   ERROR PAGE
   ======================================== */

.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
}

.error-card {
    text-align: center;
    padding: 3rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.error-card h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.error-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ========================================
   ALERTS
   ======================================== */

.alert {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.alert-error {
    background: #ffebee;
    color: var(--danger);
    border: 1px solid #ffcdd2;
}

/* ========================================
   ADMIN SECTION
   ======================================== */

.admin-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.admin-section h2 {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

/* ========================================
   EMPTY STATE
   ======================================== */

.empty-state {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem;
}

/* ========================================
   DETAILS/SUMMARY
   ======================================== */

details summary {
    cursor: pointer;
    user-select: none;
}

details summary:hover {
    opacity: 0.8;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .container {
        padding: 1rem;
    }
    
    .big-number {
        font-size: 2rem;
    }
    
    .mini-schedule {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .schedule-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .top-list-item {
        flex-wrap: wrap;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .mini-schedule {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .nav-user .user-name {
        display: none;
    }
}

/* ========================================
   LOGO
   ======================================== */

.nav-logo {
    height: 40px;
    width: auto;
}

.login-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

/* ========================================
   LOGIN PAGE - UPPDATERAD
   ======================================== */

.login-page {
    background: #fff !important;
}

.login-card {
    background: var(--primary) !important;
    color: #fff;
}

.login-header p {
    color: rgba(255,255,255,0.7);
}

.login-logo {
    max-width: 260px !important;
}

.login-form label {
    color: #fff;
}

.login-form input {
    background: var(--primary-light);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}

.login-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.login-form input:focus {
    border-color: var(--accent);
    background: var(--primary-light);
}

/* Login-ruta färguppdatering */
.login-card {
    background: #1F1F1F !important;
}

.login-form input {
    background: #2a2a2a;
}

/* Navbar logo större */
.nav-logo {
    height: 52px !important;
}

/* Navbar lägre höjd */
.navbar {
    padding: 0.5rem 2rem !important;
}

/* ========================================
   MODAL
   ======================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 400px;
    box-shadow: var(--shadow-lg);
}

.modal-content h3 {
    margin-bottom: 1.5rem;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Action buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-danger:hover {
    background: #d32f2f;
}

/* ========================================
   PROGNOS BOX
   ======================================== */

.goal-estimate-box {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: var(--bg);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
}

.goal-estimate-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text);
}

.goal-estimate-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.estimate-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-light);
}

.estimate-row.estimate-total {
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
    font-weight: 600;
    color: var(--text);
}

.goal-estimate-result {
    font-size: 1.1rem;
    color: var(--success);
    margin: 0;
}

.goal-estimate-result strong {
    font-size: 1.2rem;
}

/* ========================================
   TOPLIST FILTER
   ======================================== */

.toplist-filter {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.toplist-filter span {
    font-weight: 500;
    color: var(--text-light);
}

/* ========================================
   HISTORY PAGE - TIDIGARE RESOR
   ======================================== */

.history-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.history-stat {
    text-align: center;
}

.history-stat .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent);
}

.history-stat .stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent), var(--primary));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 1rem 2rem;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    padding-right: 3rem;
}

.timeline-item.right {
    left: 50%;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    top: 1.5rem;
    width: 80px;
    height: 80px;
    background: var(--primary);
    border: 4px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-item.left .timeline-marker {
    right: -40px;
}

.timeline-item.right .timeline-marker {
    left: -40px;
}

.timeline-year {
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
}

.timeline-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-5px);
}

.timeline-emoji {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.timeline-destination {
    font-size: 1.5rem;
    margin: 0 0 0.25rem 0;
    color: var(--primary);
}

.timeline-country {
    color: var(--text-muted);
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}

.timeline-description {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.timeline-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #fff9e6;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.highlight-icon {
    font-size: 1.2rem;
}

.timeline-btn {
    width: 100%;
}

/* Quote */
.history-quote {
    max-width: 600px;
    margin: 4rem auto 2rem;
    text-align: center;
    padding: 2rem;
}

.history-quote blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text);
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

.quote-author {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive timeline */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 60px !important;
        padding-right: 1rem !important;
    }
    
    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-item.left .timeline-marker,
    .timeline-item.right .timeline-marker {
        left: -20px;
        right: auto;
        width: 60px;
        height: 60px;
    }
    
    .timeline-year {
        font-size: 0.9rem;
    }
    
    .history-stats {
        gap: 1.5rem;
    }
    
    .history-stat .stat-number {
        font-size: 2rem;
    }
}

/* ========================================
   TRIP DETAIL PAGE
   ======================================== */

.trip-header {
    margin-bottom: 2rem;
}

.back-link {
    color: var(--text-muted);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

.back-link:hover {
    color: var(--accent);
}

.trip-title {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.trip-emoji {
    font-size: 4rem;
}

.trip-title h1 {
    margin: 0;
}

.trip-subtitle {
    color: var(--text-muted);
    margin: 0.25rem 0 0 0;
}

/* Upload Zone */
.upload-card {
    margin-bottom: 2rem;
}

.upload-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.photo-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.upload-zone {
    border: 3px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--accent);
    background: rgba(201, 169, 97, 0.05);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.upload-zone p {
    margin: 0.5rem 0;
    color: var(--text);
}

.upload-hint {
    color: var(--text-muted) !important;
    font-size: 0.9rem;
}

.upload-progress {
    padding: 2rem;
    text-align: center;
}

.upload-progress .progress-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.upload-progress .progress-fill {
    height: 100%;
    background: var(--accent);
    transition: width 0.3s ease;
}

/* Gallery Grid */
.gallery-section {
    margin-top: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.gallery-image-container {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.gallery-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-btn {
    background: var(--bg-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.gallery-btn:hover {
    transform: scale(1.1);
}

.gallery-btn.delete-btn:hover {
    background: var(--danger);
}

.gallery-caption {
    padding: 0.75rem;
    margin: 0;
    font-size: 0.9rem;
    color: var(--text);
    border-top: 1px solid var(--border);
}

.gallery-meta {
    padding: 0 0.75rem 0.75rem;
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Empty Gallery */
.empty-gallery {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-gallery h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox-caption {
    color: #fff;
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .trip-title {
        flex-direction: column;
        text-align: center;
    }
    
    .trip-emoji {
        font-size: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
        align-items: flex-end;
        padding-bottom: 0.5rem;
    }
}

/* ========================================
   LIGHTBOX NAVIGATION
   ======================================== */

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 2.5rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    z-index: 2001;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.4);
}

.lightbox-prev {
    left: 1rem;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.lightbox-next {
    right: 1rem;
    border-radius: var(--radius) 0 0 var(--radius);
}

.lightbox-footer {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    text-align: center;
}

.lightbox-caption {
    color: #fff;
    font-size: 1.1rem;
    margin: 0 0 0.5rem 0;
}

.lightbox-counter {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 768px) {
    .lightbox-nav {
        font-size: 1.5rem;
        padding: 0.75rem 1rem;
    }
    
    .lightbox-prev {
        left: 0.5rem;
    }
    
    .lightbox-next {
        right: 0.5rem;
    }
}

/* ========================================
   TRIPS PAGE - RESOR
   ======================================== */

.planned-trips-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.planned-trip-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.25rem;
    background: var(--bg);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
}

.planned-trip-info {
    flex: 1;
}

.planned-trip-info h3 {
    margin: 0 0 0.25rem 0;
}

.trip-date {
    color: var(--text-muted);
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
}

.trip-description {
    color: var(--text-light);
    margin: 0;
}

.planned-trip-cost {
    text-align: right;
}

.cost-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cost-value {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--accent);
}

.planned-trip-actions {
    display: flex;
    gap: 0.5rem;
}

/* Suggestions */
.suggestions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.suggestion-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg);
    border-radius: var(--radius);
}

.suggestion-votes {
    flex-shrink: 0;
}

.vote-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-white);
    cursor: pointer;
    transition: all 0.2s;
}

.vote-btn:hover {
    border-color: var(--accent);
}

.vote-btn.voted {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.vote-icon {
    font-size: 1.25rem;
}

.vote-count {
    font-weight: bold;
    font-size: 0.9rem;
}

.suggestion-info {
    flex: 1;
}

.suggestion-info h3 {
    margin: 0 0 0.25rem 0;
}

.suggestion-desc {
    color: var(--text-light);
    margin: 0 0 0.5rem 0;
}

.suggestion-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.suggestion-voters {
    font-size: 0.85rem;
    color: var(--success);
    margin: 0.5rem 0 0 0;
}

.voters-label {
    color: var(--text-muted);
}

.suggestion-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.add-suggestion-details {
    margin-top: 1rem;
}

.add-suggestion-details summary {
    cursor: pointer;
}

@media (max-width: 768px) {
    .planned-trip-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .planned-trip-cost {
        text-align: left;
    }
    
    .planned-trip-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .suggestion-item {
        flex-wrap: wrap;
    }
    
    .suggestion-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 0.5rem;
    }
}

/* ========================================
   RESPONSIVE NAVBAR
   ======================================== */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text);
    position: relative;
    transition: background 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--text);
    left: 0;
    transition: transform 0.3s, top 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Animera till X */
.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobil-styles */
@media (max-width: 900px) {
    .navbar {
        flex-wrap: wrap;
        padding: 0.75rem 1rem;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        background: var(--bg-white);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        box-shadow: var(--shadow-lg);
        padding: 1rem;
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .navbar {
        position: relative;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 0.5rem;
        width: 100%;
    }
    
    .nav-user {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding-top: 1rem;
        margin-top: 0.5rem;
        border-top: 1px solid var(--border);
    }
    
    .nav-user .btn {
        width: 100%;
        text-align: center;
    }
}

/* Förhindra scroll när menyn är öppen */
body.menu-open {
    overflow: hidden;
}

/* ========================================
   MOBIL MENY - FÄRGFIX
   ======================================== */

@media (max-width: 900px) {
    .nav-menu {
        background: var(--primary);
    }
    
    .nav-links li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-link {
        color: #fff !important;
    }
    
    .nav-link:hover {
        color: var(--accent) !important;
        background: rgba(255,255,255,0.1);
    }
    
    .nav-user {
        border-top: 1px solid rgba(255,255,255,0.2);
    }
    
    .nav-user .user-name {
        color: #fff;
    }
    
    .nav-user .btn-secondary {
        background: var(--accent);
        color: var(--primary);
        border-color: var(--accent);
    }
    
    .hamburger,
    .hamburger::before,
    .hamburger::after {
        background: var(--primary);
    }
    
    .nav-toggle.active .hamburger::before,
    .nav-toggle.active .hamburger::after {
        background: var(--primary);
    }
}

/* ========================================
   HAMBURGERMENY GULD
   ======================================== */

.hamburger,
.hamburger::before,
.hamburger::after {
    background: var(--accent) !important;
}

.nav-toggle.active .hamburger::before,
.nav-toggle.active .hamburger::after {
    background: var(--accent) !important;
}

/* ========================================
   TOPPLISTA - JÄMN RADHÖJD
   ======================================== */

.top-list-table tr {
    height: 60px;
}

.top-list-table td {
    vertical-align: middle;
    height: 60px;
    min-height: 60px;
}

.top-list-table .user-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .top-list-table tr {
        height: 50px;
    }
    
    .top-list-table td {
        height: 50px;
        min-height: 50px;
        padding: 0.5rem;
    }
}

/* ========================================
   TOPPLISTA - JÄMN RADHÖJD MOBIL
   ======================================== */

.top-list-item {
    min-height: 60px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .top-list-item {
        min-height: 70px;
        padding: 0.75rem !important;
        align-items: center;
    }
    
    .top-list-item .name {
        flex: 1;
        min-width: 0;
    }
    
    .top-list-item .stats {
        font-size: 0.8rem;
    }
    
    .top-list-item .amount {
        font-size: 0.9rem;
    }
}

/* ========================================
   COUNTDOWN
   ======================================== */

.card-countdown {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a4a 100%);
    color: #fff;
}

.countdown-container {
    text-align: center;
    padding: 1rem 0;
}

.countdown-destination {
    margin-bottom: 1.5rem;
}

.countdown-emoji {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.countdown-destination h2 {
    margin: 0;
    font-size: 2rem;
    color: var(--accent);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.countdown-item {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    min-width: 70px;
}

.countdown-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent);
}

.countdown-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.countdown-date {
    margin: 0;
    opacity: 0.9;
}

.countdown-empty {
    text-align: center;
    padding: 2rem 0;
}

.countdown-empty-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.countdown-empty h2 {
    margin: 0 0 0.5rem 0;
    color: var(--accent);
}

.countdown-empty p {
    margin: 0 0 1.5rem 0;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .countdown-timer {
        gap: 0.5rem;
    }
    
    .countdown-item {
        padding: 0.75rem;
        min-width: 55px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-destination h2 {
        font-size: 1.5rem;
    }
}

/* ========================================
   AKTIVITETSFLÖDE
   ======================================== */

.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg);
    border-radius: var(--radius);
    transition: background 0.2s;
}

.activity-item:hover {
    background: var(--border);
}

.activity-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
    min-width: 0;
}

.activity-message {
    margin: 0;
    font-size: 0.95rem;
}

.activity-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.activity-link {
    color: var(--accent);
    font-size: 1.25rem;
    text-decoration: none;
    padding: 0.25rem;
}

.activity-empty {
    text-align: center;
    color: var(--text-muted);
    padding: 1rem;
}

.activity-empty ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.activity-empty li {
    margin: 0.5rem 0;
}

/* ========================================
   STATS GRID
   ======================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
}

.stat-icon {
    font-size: 2rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ========================================
   SNABBLÄNKAR
   ======================================== */

.quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.quick-link-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.quick-link-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.quick-link-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.quick-link-text {
    font-weight: 500;
}

@media (max-width: 768px) {
    .quick-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   NAVBAR DESKTOP FIX
   ======================================== */

@media (min-width: 901px) {
    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 2rem;
        height: 70px;
    }
    
    .nav-brand {
        flex-shrink: 0;
    }
    
    .nav-logo {
        height: 50px;
        width: auto;
    }
    
    .nav-menu {
        display: flex;
        align-items: center;
        gap: 2rem;
        flex: 1;
        justify-content: flex-end;
    }
    
    .nav-links {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        border-radius: var(--radius);
        transition: background 0.2s, color 0.2s;
    }
    
    .nav-link:hover {
        background: rgba(255,255,255,0.1);
        color: var(--accent);
    }
    
    .nav-user {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-left: 2rem;
        padding-left: 2rem;
        border-left: 1px solid rgba(255,255,255,0.2);
    }
    
    .nav-user .user-name {
        color: #fff;
        font-weight: 500;
    }
    
    .nav-user .badge-admin {
        background: var(--accent);
        color: var(--primary);
        padding: 0.25rem 0.5rem;
        border-radius: var(--radius);
        font-size: 0.75rem;
        font-weight: bold;
    }
    
    .nav-user .btn-sm {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* ========================================
   TOTAL POTT - STORT KORT
   ======================================== */

.total-pot-card {
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a4a 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.total-pot-icon {
    font-size: 4rem;
}

.total-pot-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.total-pot-label {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.25rem;
}

.total-pot-value {
    color: var(--accent);
    font-size: 3rem;
    font-weight: bold;
}

.stats-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .total-pot-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }
    
    .total-pot-icon {
        font-size: 3rem;
    }
    
    .total-pot-value {
        font-size: 2.25rem;
    }
    
    .stats-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   SPARANDE - MOBIL FIX
   ======================================== */

.savings-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.savings-stat-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.savings-stat-card .stat-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.savings-stat-card .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

.savings-stat-card .stat-value.positive {
    color: var(--success);
}

.savings-stat-card .stat-value.negative {
    color: var(--danger);
}

@media (max-width: 768px) {
    .savings-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .savings-stat-card {
        padding: 1rem;
    }
    
    .savings-stat-card .stat-label {
        font-size: 0.65rem;
    }
    
    .savings-stat-card .stat-value {
        font-size: 1.25rem;
    }
}

/* ========================================
   SPARANDE - MOBIL FIX
   ======================================== */

.savings-overview .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.savings-overview .stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 0.75rem;
}

.savings-overview .stat-card .stat-label {
    order: 1;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.savings-overview .stat-card .stat-value {
    order: 2;
    font-size: 1.4rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .savings-overview .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .savings-overview .stat-card {
        padding: 1rem 0.5rem;
    }
    
    .savings-overview .stat-card .stat-label {
        font-size: 0.6rem;
        margin-bottom: 0.25rem;
    }
    
    .savings-overview .stat-card .stat-value {
        font-size: 1.1rem;
    }
}

/* ========================================
   SPARANDE - STÖRRE OCH MÖRKARE LABELS
   ======================================== */

.savings-overview .stat-card .stat-label {
    font-size: 0.75rem;
    color: var(--text);
    font-weight: 500;
}

@media (max-width: 768px) {
    .savings-overview .stat-card .stat-label {
        font-size: 0.7rem;
    }
}

/* ========================================
   SPARANDE - STÖRRE OCH MÖRKARE LABELS
   ======================================== */

.savings-overview .stat-card .stat-label {
    font-size: 0.75rem;
    color: var(--text);
    font-weight: 500;
}

@media (max-width: 768px) {
    .savings-overview .stat-card .stat-label {
        font-size: 0.7rem;
    }
}

/* ========================================
   BUCKET LIST
   ======================================== */

.bucket-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bucket-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 1rem;
    gap: 1rem;
}

.bucket-item.completed {
    opacity: 0.7;
    background: rgba(76, 175, 80, 0.1);
}

.bucket-item-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.bucket-item-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.bucket-added-by {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.7;
}

.bucket-item-content p {
    margin: 0.25rem 0 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.bucket-item-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-vote {
    background: var(--bg-white);
    border: 1px solid var(--border);
}

.btn-vote:hover {
    background: var(--accent);
    color: var(--primary);
}

.bucket-check {
    font-size: 1.5rem;
    color: var(--success);
}

.bucket-location {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .bucket-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .bucket-item-actions {
        width: 100%;
        justify-content: flex-end;
    }
}
