body {
    background-color: #ddf2fd;
    background-image: linear-gradient(to bottom, #ddf2fd 0%, #d0e8f5 50%, #c3deed 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

h1 {
    color: #164863;
    font-weight: 600;
}

.tagline-emphasis {
    font-size: 1.4rem;
    font-weight: 700;
    color: #164863;
    display: block;
    margin-bottom: 0.5rem;
}

.container {
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.card {
    box-shadow: 0 2px 8px rgba(22, 72, 99, 0.15);
    border: none;
    background-color: #ffffff;
}

/* Color Hunt Palette - Card Headers */
.bg-green-primary {
    background-color: #164863 !important;
    background: linear-gradient(135deg, #164863 0%, #0f3547 100%);
}

.bg-green-success {
    background-color: #427d9d !important;
    background: linear-gradient(135deg, #427d9d 0%, #164863 100%);
}

.bg-green-info {
    background-color: #427d9d !important;
    background: linear-gradient(135deg, #427d9d 0%, #164863 100%);
}

.bg-green-warning {
    background-color: #9bbec8 !important;
    background: linear-gradient(135deg, #9bbec8 0%, #7aa8b5 100%);
}

.bg-green-warning.text-white {
    color: #0f3547 !important;
}

.bg-green-settlement {
    background-color: #164863 !important;
    background: linear-gradient(135deg, #164863 0%, #0f3547 100%);
}

/* Color Hunt Palette - Buttons */
.btn-green-primary {
    background-color: #164863;
    border-color: #164863;
    color: white;
}

.btn-green-primary:hover {
    background-color: #0f3547;
    border-color: #0f3547;
    color: white;
}

.btn-green-success {
    background-color: #427d9d;
    border-color: #427d9d;
    color: white;
}

.btn-green-success:hover {
    background-color: #164863;
    border-color: #164863;
    color: white;
}

.card-header {
    font-weight: 600;
}

.table {
    margin-bottom: 0;
}

.table th {
    vertical-align: middle;
    text-align: center;
}

.table td {
    vertical-align: middle;
    text-align: center;
}

/* Color Hunt Palette - Table headers */
.table-light {
    background-color: #9bbec8 !important;
    color: #0f3547;
    border-color: #7aa8b5 !important;
}

.table-secondary {
    background-color: #c3deed !important;
    color: #0f3547;
    border-color: #9bbec8 !important;
}

.member-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background-color: #9bbec8;
    border: 1px solid #7aa8b5;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #0f3547;
}

.member-badge .btn-close {
    font-size: 0.7rem;
    padding: 0;
    margin-left: 5px;
}

.expense-row {
    cursor: pointer;
}

.expense-row:hover {
    background-color: #ddf2fd;
}

.paid-amount {
    color: #164863;
    font-weight: 600;
}

.owing-amount {
    color: #d00000;
    font-weight: 600;
}

.owed-amount {
    color: #427d9d;
    font-weight: 600;
}

.settlement-item {
    padding: 10px;
    margin: 5px 0;
    background-color: #9bbec8;
    border-left: 4px solid #7aa8b5;
    border-radius: 4px;
    color: #0f3547;
}

.settlement-item.even {
    background-color: #c3deed;
    border-left-color: #427d9d;
    color: #0f3547;
}

#membersList {
    min-height: 40px;
}

#usedByCheckboxes {
    padding: 10px;
    background-color: #ddf2fd;
    border-radius: 4px;
    min-height: 50px;
    border: 1px solid #9bbec8;
}

#usedByCheckboxes .form-check {
    margin-bottom: 0;
}

.empty-state {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Section Containers */
.section-container {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(22, 72, 99, 0.15);
    border: 2px solid #9bbec8;
}

.section-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #427d9d;
}

.section-title {
    color: #164863;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: #427d9d;
    font-size: 1.5rem;
}

.section-subtitle {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .section-container {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

