/* ===== DATE CALCULATOR - CalcTechLab ===== */

.date-app {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== CARDS ===== */
.date-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem;
    margin-bottom: 1.25rem;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.3s ease;
    overflow: hidden;
}
[data-bs-theme="dark"] .date-card {
    background: #1e293b;
    border-color: #334155;
}
.date-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.date-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}
[data-bs-theme="dark"] .date-card-title {
    color: #f1f5f9;
}

.date-card-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.date-sub-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 1rem 0 0.75rem;
}
[data-bs-theme="dark"] .date-sub-title {
    color: #f1f5f9;
}

/* ===== HERO ===== */
.date-hero-card {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    color: white;
    padding: 2rem;
    border: none;
}

.date-hero-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.date-hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.date-hero-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0;
    color: white;
}

.date-hero-subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0.25rem 0 0;
}

/* ===== TABS ===== */
.date-tabs-card {
    padding: 0.75rem;
    position: sticky;
    top: 64px;
    z-index: 50;
    background: #ffffff;
}
[data-bs-theme="dark"] .date-tabs-card {
    background: #1e293b;
}

.date-tabs {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.25rem;
}
.date-tabs::-webkit-scrollbar {
    display: none;
}

.date-tab {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.85rem;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    flex-shrink: 0;
}
[data-bs-theme="dark"] .date-tab {
    background: #0f172a;
    color: #94a3b8;
}
.date-tab:hover {
    background: #e2e8f0;
    color: #1e293b;
}
[data-bs-theme="dark"] .date-tab:hover {
    background: #334155;
    color: #f1f5f9;
}
.date-tab.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}
.date-tab i {
    font-size: 0.8rem;
}

/* Tab Content */
.date-tab-content {
    display: none;
}
.date-tab-content.active {
    display: block;
}

/* ===== INPUTS ===== */
.date-input-grid {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.date-input-group {
    flex: 1;
    min-width: 160px;
}

.date-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 0.4rem;
}

.date-input {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.2s;
    box-sizing: border-box;
}
[data-bs-theme="dark"] .date-input {
    background: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}
.date-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    background: white;
}
[data-bs-theme="dark"] .date-input:focus {
    background: #1e293b;
}

.date-input-sm {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

.date-select {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s;
}
[data-bs-theme="dark"] .date-select {
    background: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}

/* Add Grid */
.date-add-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

/* Toggle */
.date-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.3rem;
}

.date-toggle {
    position: relative;
    width: 44px;
    height: 24px;
    cursor: pointer;
}
.date-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.date-toggle-slider {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #cbd5e1;
    border-radius: 12px;
    transition: 0.3s;
}
.date-toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}
.date-toggle input:checked + .date-toggle-slider {
    background: #3b82f6;
}
.date-toggle input:checked + .date-toggle-slider::before {
    transform: translateX(20px);
}
.date-toggle-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

/* Day Toggles */
.date-checkbox-row {
    margin-bottom: 1.25rem;
}

.date-day-toggles {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.date-day-toggle {
    cursor: pointer;
}
.date-day-toggle input {
    display: none;
}
.date-day-toggle span {
    display: inline-block;
    padding: 0.4rem 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    background: #f8fafc;
    transition: all 0.2s;
}
[data-bs-theme="dark"] .date-day-toggle span {
    background: #0f172a;
    border-color: #334155;
    color: #94a3b8;
}
.date-day-toggle input:checked + span {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

/* Calculate Button */
.date-calc-btn {
    width: 100%;
    padding: 0.85rem;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 1.25rem;
}
.date-calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* ===== RESULT AREA ===== */
.date-result-area {
    animation: dateSlideIn 0.4s ease;
}
@keyframes dateSlideIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Primary Result */
.date-primary-result {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    border-radius: 16px;
    margin-bottom: 1.25rem;
    border: 2px solid #bfdbfe;
}
[data-bs-theme="dark"] .date-primary-result {
    background: linear-gradient(135deg, #1e3a5f, #1a3a2a);
    border-color: #1e40af;
}

.date-primary-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: #1e40af;
    line-height: 1;
    margin-bottom: 0.25rem;
}
[data-bs-theme="dark"] .date-primary-number {
    color: #93c5fd;
}

.date-primary-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #3b82f6;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Breakdown Grid */
.date-breakdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.date-breakdown-item {
    text-align: center;
    padding: 1rem 0.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
[data-bs-theme="dark"] .date-breakdown-item {
    background: #0f172a;
    border-color: #334155;
}

.date-breakdown-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: #1e293b;
    line-height: 1.2;
}
[data-bs-theme="dark"] .date-breakdown-value {
    color: #f1f5f9;
}

.date-breakdown-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Alt Units */
.date-alt-units {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.date-alt-item {
    text-align: center;
    padding: 0.75rem 0.25rem;
    background: #f1f5f9;
    border-radius: 10px;
}
[data-bs-theme="dark"] .date-alt-item {
    background: #0f172a;
}

.date-alt-value {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    color: #1e293b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
[data-bs-theme="dark"] .date-alt-value {
    color: #f1f5f9;
}

.date-alt-label {
    font-size: 0.55rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Timeline */
.date-timeline {
    margin-bottom: 1.25rem;
}

.date-timeline-bar {
    position: relative;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: visible;
}
[data-bs-theme="dark"] .date-timeline-bar {
    background: #334155;
}

.date-timeline-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 4px;
    width: 100%;
    transition: width 0.6s ease;
}

.date-timeline-start,
.date-timeline-end {
    position: absolute;
    top: 16px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    font-family: 'JetBrains Mono', monospace;
}

.date-timeline-start { left: 0; }
.date-timeline-end { right: 0; text-align: right; }

/* Actions */
.date-actions-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.date-action-btn {
    padding: 0.45rem 0.85rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
[data-bs-theme="dark"] .date-action-btn {
    background: #0f172a;
    border-color: #334155;
    color: #94a3b8;
}
.date-action-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

/* ===== ADD/SUBTRACT RESULT ===== */
.date-result-card {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0fdf4, #eff6ff);
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 2px solid #86efac;
}
[data-bs-theme="dark"] .date-result-card {
    background: linear-gradient(135deg, #1a3a2a, #1e3a5f);
    border-color: #22c55e;
}

.date-result-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #22c55e;
    margin-bottom: 0.25rem;
}

.date-result-big {
    display: block;
    font-size: 1.75rem;
    font-weight: 900;
    color: #1e293b;
    margin-bottom: 0.15rem;
}
[data-bs-theme="dark"] .date-result-big {
    color: #f1f5f9;
}

.date-result-sub {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
}

.date-result-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.date-result-detail-tag {
    padding: 0.3rem 0.75rem;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #475569;
}
[data-bs-theme="dark"] .date-result-detail-tag {
    background: #334155;
    color: #cbd5e1;
}

/* ===== BUSINESS DAYS ===== */
.date-biz-results-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.date-biz-result-item {
    text-align: center;
    padding: 1rem 0.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
[data-bs-theme="dark"] .date-biz-result-item {
    background: #0f172a;
    border-color: #334155;
}

.date-biz-primary {
    background: linear-gradient(135deg, #eff6ff, #f0fdf4);
    border-color: #3b82f6;
}
[data-bs-theme="dark"] .date-biz-primary {
    background: linear-gradient(135deg, #1e3a5f, #1a3a2a);
}

.date-biz-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: #1e293b;
    line-height: 1.2;
}
[data-bs-theme="dark"] .date-biz-value {
    color: #f1f5f9;
}

.date-biz-label {
    font-size: 0.6rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ===== COUNTDOWN ===== */
.date-countdown-name {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #8b5cf6;
    margin-bottom: 1rem;
}

.date-countdown-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.date-countdown-item {
    text-align: center;
    padding: 1rem 0.75rem;
    background: linear-gradient(135deg, #1e293b, #0f172a);
    border-radius: 14px;
    min-width: 70px;
    border: 1px solid #334155;
}
[data-bs-theme="dark"] .date-countdown-item {
    background: linear-gradient(135deg, #0f172a, #020617);
    border-color: #1e293b;
}

.date-countdown-value {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: #fbbf24;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.date-countdown-label {
    font-size: 0.55rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.date-countdown-sep {
    font-size: 1.5rem;
    font-weight: 900;
    color: #475569;
    padding-bottom: 1rem;
}

.date-countdown-progress {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}
[data-bs-theme="dark"] .date-countdown-progress {
    background: #334155;
}

.date-countdown-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 3px;
    transition: width 1s ease;
    width: 0%;
}

.date-countdown-meta {
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
}

/* ===== DAY FINDER ===== */
.date-dayfinder-result {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 16px;
    margin-bottom: 1rem;
}
[data-bs-theme="dark"] .date-dayfinder-result {
    background: linear-gradient(135deg, #78350f, #92400e);
}

.date-dayfinder-day {
    font-size: 2rem;
    font-weight: 900;
    color: #92400e;
    margin-bottom: 0.25rem;
}
[data-bs-theme="dark"] .date-dayfinder-day {
    color: #fbbf24;
}

.date-dayfinder-full {
    font-size: 1rem;
    font-weight: 600;
    color: #a16207;
}
[data-bs-theme="dark"] .date-dayfinder-full {
    color: #fde68a;
}

.date-dayfinder-facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.date-dayfinder-fact {
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}
[data-bs-theme="dark"] .date-dayfinder-fact {
    background: #0f172a;
    border-color: #334155;
}

.date-dayfinder-fact-label {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
}

.date-dayfinder-fact-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}
[data-bs-theme="dark"] .date-dayfinder-fact-value {
    color: #f1f5f9;
}

/* ===== WEEK NUMBER ===== */
.date-weeknum-result {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    border-radius: 16px;
    margin-bottom: 1rem;
}
[data-bs-theme="dark"] .date-weeknum-result {
    background: linear-gradient(135deg, #3b0764, #4c1d95);
}

.date-weeknum-big {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: #7c3aed;
    line-height: 1;
}
[data-bs-theme="dark"] .date-weeknum-big {
    color: #c4b5fd;
}

.date-weeknum-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: #8b5cf6;
}

.date-weeknum-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.date-weeknum-detail {
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    text-align: center;
}
[data-bs-theme="dark"] .date-weeknum-detail {
    background: #0f172a;
    border-color: #334155;
}

.date-weeknum-detail-label {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
}

.date-weeknum-detail-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
}
[data-bs-theme="dark"] .date-weeknum-detail-value {
    color: #f1f5f9;
}

/* ===== LEAP YEAR ===== */
.date-leap-result {
    text-align: center;
    padding: 1.5rem;
    border-radius: 16px;
    margin-bottom: 1rem;
}

.date-leap-result.is-leap {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 2px solid #86efac;
}
[data-bs-theme="dark"] .date-leap-result.is-leap {
    background: linear-gradient(135deg, #052e16, #14532d);
    border-color: #22c55e;
}

.date-leap-result.not-leap {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
    border: 2px solid #fca5a5;
}
[data-bs-theme="dark"] .date-leap-result.not-leap {
    background: linear-gradient(135deg, #450a0a, #7f1d1d);
    border-color: #ef4444;
}

.date-leap-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.date-leap-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0.25rem;
}
[data-bs-theme="dark"] .date-leap-text {
    color: #f1f5f9;
}

.date-leap-days {
    font-size: 0.85rem;
    color: #64748b;
}

.date-leap-explanation {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.6;
}
[data-bs-theme="dark"] .date-leap-explanation {
    background: #0f172a;
    border-color: #334155;
    color: #94a3b8;
}

.date-leap-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.date-leap-tag {
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
}
[data-bs-theme="dark"] .date-leap-tag {
    background: #0f172a;
    border-color: #334155;
    color: #cbd5e1;
}

.date-leap-tag.current {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* ===== ZODIAC ===== */
.date-zodiac-result {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fdf4ff, #fae8ff);
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 2px solid #e879f9;
}
[data-bs-theme="dark"] .date-zodiac-result {
    background: linear-gradient(135deg, #4a044e, #701a75);
    border-color: #d946ef;
}

.date-zodiac-symbol {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.date-zodiac-name {
    font-size: 1.75rem;
    font-weight: 900;
    color: #a21caf;
    margin-bottom: 0.25rem;
}
[data-bs-theme="dark"] .date-zodiac-name {
    color: #e879f9;
}

.date-zodiac-dates {
    font-size: 0.9rem;
    font-weight: 600;
    color: #c026d3;
    margin-bottom: 0.25rem;
}
[data-bs-theme="dark"] .date-zodiac-dates {
    color: #f0abfc;
}

.date-zodiac-element {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
}

.date-zodiac-traits {
    margin-bottom: 1rem;
}

.date-zodiac-traits-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}
[data-bs-theme="dark"] .date-zodiac-traits-title {
    color: #f1f5f9;
}

.date-zodiac-traits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.date-zodiac-trait {
    padding: 0.3rem 0.7rem;
    background: #fdf4ff;
    border: 1px solid #f0abfc;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #a21caf;
}
[data-bs-theme="dark"] .date-zodiac-trait {
    background: #4a044e;
    border-color: #86198f;
    color: #f0abfc;
}

.date-zodiac-compat {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}
[data-bs-theme="dark"] .date-zodiac-compat {
    background: #0f172a;
    border-color: #334155;
}

.date-zodiac-compat-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}
[data-bs-theme="dark"] .date-zodiac-compat-title {
    color: #f1f5f9;
}

.date-zodiac-compat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.date-zodiac-compat-item {
    padding: 0.3rem 0.7rem;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #16a34a;
}
[data-bs-theme="dark"] .date-zodiac-compat-item {
    background: #052e16;
    border-color: #22c55e;
    color: #86efac;
}

/* ===== SIDEBAR: TODAY ===== */
.date-today-card {
    border-top: 4px solid #3b82f6;
}

.date-today-display {
    text-align: center;
    padding: 1rem 0;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}
[data-bs-theme="dark"] .date-today-display {
    border-color: #334155;
}

.date-today-day {
    font-size: 1.25rem;
    font-weight: 800;
    color: #3b82f6;
}

.date-today-date {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0.15rem 0;
}
[data-bs-theme="dark"] .date-today-date {
    color: #f1f5f9;
}

.date-today-time {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: #1e293b;
}
[data-bs-theme="dark"] .date-today-time {
    color: #f1f5f9;
}

.date-today-facts {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.date-today-fact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f1f5f9;
}
[data-bs-theme="dark"] .date-today-fact {
    border-color: #1e293b;
}

.date-today-fact-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.date-today-fact-value {
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: #1e293b;
}
[data-bs-theme="dark"] .date-today-fact-value {
    color: #f1f5f9;
}

/* ===== QUICK DATES ===== */
.date-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
}

.date-quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.6rem 0.35rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    gap: 0.1rem;
}
[data-bs-theme="dark"] .date-quick-btn {
    background: #0f172a;
    border-color: #334155;
}
.date-quick-btn:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    transform: translateY(-2px);
}
[data-bs-theme="dark"] .date-quick-btn:hover {
    background: #1e3a5f;
}

.date-quick-num {
    font-size: 1rem;
    font-weight: 900;
    font-family: 'JetBrains Mono', monospace;
    color: #3b82f6;
    line-height: 1;
}

.date-quick-label {
    font-size: 0.5rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
}

/* ===== HOLIDAYS ===== */
.date-holidays-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.date-holiday-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
[data-bs-theme="dark"] .date-holiday-item {
    background: #0f172a;
    border-color: #334155;
}

.date-holiday-emoji {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.date-holiday-info {
    flex: 1;
    min-width: 0;
}

.date-holiday-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
}
[data-bs-theme="dark"] .date-holiday-name {
    color: #f1f5f9;
}

.date-holiday-date {
    font-size: 0.65rem;
    color: #64748b;
}

.date-holiday-days {
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: #3b82f6;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ===== MINI CALENDAR ===== */
.date-mini-calendar {
    font-size: 0.75rem;
}

.date-mini-cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.date-mini-cal-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
}
[data-bs-theme="dark"] .date-mini-cal-title {
    color: #f1f5f9;
}

.date-mini-cal-nav {
    display: flex;
    gap: 0.25rem;
}

.date-mini-cal-nav-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    transition: all 0.2s;
}
[data-bs-theme="dark"] .date-mini-cal-nav-btn {
    background: #0f172a;
    border-color: #334155;
    color: #94a3b8;
}
.date-mini-cal-nav-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}

.date-mini-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}

.date-mini-cal-day-header {
    font-size: 0.6rem;
    font-weight: 700;
    color: #94a3b8;
    padding: 0.3rem 0;
    text-transform: uppercase;
}

.date-mini-cal-day {
    padding: 0.35rem 0;
    border-radius: 6px;
    font-weight: 600;
    color: #475569;
    cursor: default;
    font-size: 0.7rem;
}
[data-bs-theme="dark"] .date-mini-cal-day {
    color: #cbd5e1;
}

.date-mini-cal-day.empty {
    color: transparent;
}

.date-mini-cal-day.today {
    background: #3b82f6;
    color: white;
    font-weight: 800;
    border-radius: 50%;
}

.date-mini-cal-day.weekend {
    color: #ef4444;
}

/* ===== HISTORY ===== */
.date-history-empty {
    text-align: center;
    padding: 1.5rem;
    color: #94a3b8;
}
.date-history-empty i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.4;
}
.date-history-empty p {
    margin: 0;
    font-size: 0.8rem;
}

.date-history-list {
    max-height: 250px;
    overflow-y: auto;
}

.date-history-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.75rem;
}
[data-bs-theme="dark"] .date-history-item {
    border-color: #1e293b;
}

.date-history-type {
    font-size: 0.6rem;
    font-weight: 700;
    color: #3b82f6;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
}

.date-history-text {
    font-weight: 600;
    color: #1e293b;
}
[data-bs-theme="dark"] .date-history-text {
    color: #f1f5f9;
}

.date-history-time {
    font-size: 0.6rem;
    color: #94a3b8;
}

.date-clear-history-btn {
    width: 100%;
    padding: 0.45rem;
    border: none;
    background: transparent;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    border-radius: 8px;
    transition: background 0.2s;
}
.date-clear-history-btn:hover {
    background: #fef2f2;
}

/* ===== SHARE ===== */
.date-share-row {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.date-share-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: none;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.date-share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ===== FAQ ===== */
.date-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.date-faq-item {
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}
[data-bs-theme="dark"] .date-faq-item {
    background: #0f172a;
    border-color: #334155;
}

.date-faq-item h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.4rem;
}
[data-bs-theme="dark"] .date-faq-item h3 {
    color: #f1f5f9;
}

.date-faq-item p {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
    .date-breakdown-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .date-alt-units {
        grid-template-columns: repeat(3, 1fr);
    }
    .date-biz-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .date-card {
        padding: 1.25rem;
    }
    .date-hero-header {
        flex-direction: column;
        text-align: center;
    }
    .date-hero-title {
        font-size: 1.3rem;
    }
    .date-input-grid {
        flex-direction: column;
    }
    .date-input-group {
        min-width: auto;
    }
    .date-add-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .date-breakdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .date-alt-units {
        grid-template-columns: repeat(3, 1fr);
    }
    .date-biz-results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .date-countdown-value {
        font-size: 1.5rem;
    }
    .date-countdown-item {
        min-width: 55px;
        padding: 0.75rem 0.5rem;
    }
    .date-primary-number {
        font-size: 2.25rem;
    }
    .date-tabs-card {
        position: static;
    }
    .date-dayfinder-facts {
        grid-template-columns: 1fr;
    }
    .date-weeknum-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .date-alt-units {
        grid-template-columns: repeat(2, 1fr);
    }
    .date-quick-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
