/* --- START OF FILE drydown_counter.css --- */
html,
body {
    background-color: #0f0f0f;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
}

a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #28a745;
}

/* House Card */
.house-card {
    background-color: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
}

.house-title {
    background-color: #222;
    padding: 10px 14px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    border-bottom: 1px solid #2a2a2a;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.house-title:hover {
    background-color: #2a2a2a;
}

.collapse-icon {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.house-title[aria-expanded="false"] .collapse-icon {
    transform: rotate(-90deg);
}

.house-title[aria-expanded="true"] .collapse-icon {
    transform: rotate(0deg);
}

/* Table */
.house-table {
    width: 100%;
    border-collapse: collapse;
}

.house-table tbody tr {
    border-bottom: 1px solid #222;
    transition: background-color 0.15s;
}

.house-table tbody tr:last-child {
    border-bottom: none;
}

.house-table tbody tr:hover:not(.empty-row) {
    background-color: #232323;
}

.house-table td {
    padding: 8px 12px;
}

/* Column Styling */
.row-label {
    font-weight: 600;
    color: #fff;
    width: 25%;
    font-size: 14px;
}

.row-label div {
    line-height: 1.2;
}

.last-watered {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #6b7280;
    margin-top: 2px;
}

.size-label {
    color: #999;
    width: 35%;
    font-size: 13px;
}

/* Size Badges */
.size-badge {
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    border: 1px solid;
    display: inline-block;
}

.size-3 {
    background-color: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.3);
}

.size-5 {
    background-color: rgba(168, 85, 247, 0.2);
    color: #d8b4fe;
    border-color: rgba(168, 85, 247, 0.3);
}

.size-pre-spaced {
    background-color: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.3);
}

.size-spaced {
    background-color: rgba(6, 182, 212, 0.2);
    color: #67e8f9;
    border-color: rgba(6, 182, 212, 0.3);
}

.size-potted-3 {
    background-color: rgba(249, 115, 22, 0.2);
    color: #fdba74;
    border-color: rgba(249, 115, 22, 0.3);
}

.size-spaced-potted {
    background-color: rgba(236, 72, 153, 0.2);
    color: #f9a8d4;
    border-color: rgba(236, 72, 153, 0.3);
}

.size-default {
    background-color: rgba(100, 116, 139, 0.2);
    color: #cbd5e1;
    border-color: rgba(100, 116, 139, 0.3);
}

.days-value {
    font-weight: 700;
    font-size: 16px;
    width: 25%;
}

.action-btn-cell {
    width: 15%;
    text-align: center;
}

/* Status Colors */
.days-value.good {
    color: #10b981;
    text-shadow: 0 0 4px rgba(16, 185, 129, 0.4);
}

.days-value.warning {
    color: #f59e0b;
    text-shadow: 0 0 4px rgba(245, 158, 11, 0.4);
}

.days-value.danger {
    color: #ef4444;
    text-shadow: 0 0 4px rgba(239, 68, 68, 0.4);
}

.days-value.neutral {
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
}

/* Empty Row */
.empty-row {
    background-color: #151515;
    opacity: 0.6;
}

.empty-row td {
    color: #555;
}

.empty-row .days-value {
    font-size: 12px;
    font-weight: 400;
}

/* Action Button */
.toggle-empty-btn {
    background: transparent;
    border: 1px solid #333;
    color: #666;
    padding: 3px 9px;
    font-size: 15px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.15s;
}

.toggle-empty-btn:hover {
    border-color: #555;
    background-color: #222;
}

.toggle-empty-btn.btn-set-active {
    border-color: #28a745;
    color: #28a745;
}

.toggle-empty-btn.btn-set-active:hover {
    background-color: #28a745;
    color: #000;
}

/* Legend */
.legend-badge {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    border-radius: 3px;
    vertical-align: middle;
}

.legend-badge.status-good {
    background-color: #10b981;
}

.legend-badge.status-warning {
    background-color: #f59e0b;
}

.legend-badge.status-danger {
    background-color: #ef4444;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .house-title {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .house-table td {
        padding: 7px 10px;
    }
    
    .row-label {
        font-size: 13px;
    }
    
    .size-label {
        font-size: 12px;
    }
    
    .days-value {
        font-size: 15px;
    }
    
    .toggle-empty-btn {
        padding: 2px 7px;
        font-size: 14px;
    }
}
/* --- END OF FILE drydown_counter.css --- */