/* Dark Theme - Modern & Cool */
body.theme-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #e2e8f0;
}

.theme-dark .container {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.theme-dark .logo i {
    color: #06b6d4;
}

.theme-dark .logo span {
    color: #f1f5f9;
}

.theme-dark h1 {
    color: #f1f5f9;
}

.theme-dark .section-header {
    border-bottom: 1px solid #334155;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.theme-dark .screen {
    background: transparent;
}

.theme-dark .icon-btn {
    background: transparent;
    border: 1px solid #475569;
}

.theme-dark .icon-btn:hover {
    background: rgba(71, 85, 105, 0.5);
}

.theme-dark .icon-btn i {
    color: #94a3b8;
}

.theme-dark .card {
    background: #1e293b;
    border: 1px solid #334155;
}

.theme-dark .card:hover {
    background: #334155;
    border-color: #475569;
}

.theme-dark .card-title {
    color: #f1f5f9;
}

.theme-dark .card-subtitle {
    color: #94a3b8;
}

.theme-dark .card-actions i {
    color: #94a3b8;
}

.theme-dark .card-actions i:hover {
    color: #06b6d4;
}

.theme-dark .list-item {
    background: #1e293b;
    border-bottom: 1px solid #334155;
}

.theme-dark .list-item:hover {
    background: #334155;
}

.theme-dark .list-item .item-name {
    color: #e2e8f0;
}

.theme-dark .list-item .item-quantity {
    color: #94a3b8;
}

.theme-dark .category-header {
    color: #94a3b8;
    border-bottom: 1px solid #334155;
}

.theme-dark .empty-state {
    color: #64748b;
}

.theme-dark .empty-state i {
    color: #475569;
}

.theme-dark .btn {
    border: none;
}

.theme-dark .btn-primary {
    background: #06b6d4;
    color: white;
}

.theme-dark .btn-primary:hover {
    background: #0891b2;
}

.theme-dark .btn-secondary {
    background: rgba(6, 182, 212, 0.1);
    color: #67e8f9;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.theme-dark .btn-secondary:hover {
    background: rgba(6, 182, 212, 0.2);
    border-color: rgba(6, 182, 212, 0.5);
}

.theme-dark .input-group label {
    color: #94a3b8;
}

.theme-dark input[type="text"],
.theme-dark input[type="email"],
.theme-dark input[type="password"],
.theme-dark select {
    background: #1e293b;
    border: 1px solid #334155;
    color: #e2e8f0;
}

.theme-dark input[type="text"]:focus,
.theme-dark input[type="email"]:focus,
.theme-dark input[type="password"]:focus,
.theme-dark select:focus {
    border-color: #06b6d4;
    outline: none;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

.theme-dark .checkbox input:checked {
    background: #06b6d4;
    border-color: #06b6d4;
}

.theme-dark .modal {
    background: #1e293b;
    border: 1px solid #334155;
}

.theme-dark .modal-header {
    border-bottom: 1px solid #334155;
}

.theme-dark .modal-title {
    color: #f1f5f9;
}

.theme-dark .toast {
    background: #1e293b;
    border: 1px solid #334155;
    color: #e2e8f0;
}

.theme-dark .toast.success {
    background: #1e293b;
    border-color: #22c55e;
}

.theme-dark .toast.error {
    background: #1e293b;
    border-color: #ef4444;
}

.theme-dark .loading-container {
    background: rgba(30, 41, 59, 0.9);
}

.theme-dark .spinner {
    border: 3px solid #334155;
    border-top: 3px solid #06b6d4;
}

/* Custom scrollbar for dark theme */
.theme-dark ::-webkit-scrollbar {
    width: 8px;
}

.theme-dark ::-webkit-scrollbar-track {
    background: #0f172a;
}

.theme-dark ::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

.theme-dark ::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* Bottom CTA Wrapper */
.theme-dark .bottom-cta-wrapper {
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid #334155;
}

/* Family Header */
.theme-dark .family-header {
    color: #f1f5f9;
}
