/* 重新设计的黄历样式 - 深色主题现代化设计 */
.almanac-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #0f1531;
    border-radius: 0 0 20px 20px;
    overflow: hidden; /* 改为hidden，让子元素处理滚动 */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid #2d1b69;
    border-top: none;
    height: 100%;
    max-height: 500px;
    min-height: 0; /* 确保flex子元素可以正确收缩 */
}

/* 移动端黄历容器优化 */
@media (max-width: 768px) {
    .almanac-container {
        border-radius: 20px;
        margin: 8px;
        max-height: 600px;
    }
}

@media (max-width: 480px) {
    .almanac-container {
        margin: 4px;
        border-radius: 12px;
        max-height: 500px;
    }
}

/* 日期选择器容器 */
.date-picker-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 日期输入框 */
.date-input {
    flex: 1;
    background: rgba(20, 30, 65, 0.8);
    border: 1px solid #2c4b9c;
    border-radius: 12px;
    padding: 10px 15px;
    color: #e0e0e0;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.date-input:focus {
    outline: none;
    border-color: #6a11cb;
    box-shadow: 0 0 0 2px rgba(106, 17, 203, 0.2);
    background: rgba(20, 30, 65, 0.9);
}

.date-input::placeholder {
    color: rgba(224, 224, 224, 0.7);
}

/* 刷新按钮 */
.refresh-btn {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border: none;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
    box-shadow: 0 4px 12px rgba(106, 17, 203, 0.3);
}

.refresh-btn:active {
    transform: scale(0.95);
}

.refresh-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(106, 17, 203, 0.4);
}

.refresh-btn i {
    font-size: 14px;
}

/* 内容区域 */
.content-area {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #0f1531;
    position: relative;
    min-height: 0; /* 确保flex子元素可以正确收缩 */
}

/* 自定义滚动条 */
.content-area::-webkit-scrollbar {
    width: 4px;
}

.content-area::-webkit-scrollbar-track {
    background: rgba(20, 30, 65, 0.5);
    border-radius: 10px;
}

.content-area::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 10px;
}

/* 移动端内容区域优化 */
@media (max-width: 768px) {
    .content-area {
        padding: 12px;
        border-radius: 0 0 14px 14px;
    }
}

@media (max-width: 480px) {
    .content-area {
        padding: 10px;
        border-radius: 0 0 10px 10px;
    }
}

/* 内容占位符 */
.content-placeholder {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: #4a69bd;
}

.placeholder-text {
    color: #6a93cb;
    font-size: 16px;
    margin-top: 15px;
    font-weight: 500;
}

.loading-animation {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(106, 17, 203, 0.3);
    border-radius: 50%;
    border-top-color: #6a11cb;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hidden {
    display: none;
}

/* 日期显示样式 - 根据设计图优化 */
.date-display {
    text-align: center;
    margin-bottom: 16px;
    padding: 16px 12px;
    background: rgba(20, 30, 65, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.date-primary {
    font-size: 24px;
    font-weight: 700;
    color: #7dc2f8;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.date-secondary {
    font-size: 14px;
    color: #a0b3e0;
    font-weight: 500;
    opacity: 0.9;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    line-height: 1.2;
}

/* 移动端日期显示优化 */
@media (max-width: 768px) {
    .date-primary {
        font-size: 20px;
        flex-direction: column;
        gap: 2px;
    }
    
    .date-secondary {
        font-size: 12px;
        gap: 1px;
    }
}

@media (max-width: 480px) {
    .date-primary {
        font-size: 18px;
    }
    
    .date-secondary {
        font-size: 11px;
    }
}

/* 黄历信息网格 - 根据设计图优化 */
.almanac-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.almanac-card {
    background: rgba(20, 30, 65, 0.4);
    border-radius: 10px;
    padding: 12px 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.almanac-card:hover {
    background: rgba(20, 30, 65, 0.6);
    border-color: #6a11cb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(106, 17, 203, 0.2);
}

.almanac-label {
    font-size: 11px;
    color: #6a93cb;
    margin-bottom: 4px;
    font-weight: 500;
    opacity: 0.9;
}

.almanac-value {
    font-size: 13px;
    color: #e0e0e0;
    font-weight: 600;
    line-height: 1.2;
}

/* 移动端黄历网格优化 */
@media (max-width: 768px) {
    .almanac-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .almanac-card {
        padding: 10px 8px;
        border-radius: 8px;
    }
    
    .almanac-label {
        font-size: 10px;
        margin-bottom: 3px;
    }
    
    .almanac-value {
        font-size: 12px;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .almanac-grid {
        gap: 6px;
        margin-bottom: 10px;
    }
    
    .almanac-card {
        padding: 8px 6px;
        border-radius: 6px;
    }
    
    .almanac-label {
        font-size: 9px;
        margin-bottom: 2px;
    }
    
    .almanac-value {
        font-size: 11px;
        line-height: 1.4;
    }
}

/* 宜忌事项区域样式 - 根据设计图优化 */
.activities-section {
    margin-top: 16px;
}

.activities-header {
    margin-bottom: 16px;
}

.activities-title {
    font-size: 18px;
    color: #7dc2f8;
    font-weight: 600;
    padding-left: 10px;
    border-left: 3px solid #6a11cb;
}

.activities-tabs {
    display: flex;
    gap: 6px;
    width: 100%;
}

.activity-tab {
    background: rgba(20, 30, 65, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    color: #a0b3e0;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    flex: 1;
    text-align: center;
    min-width: 0;
}

.activity-tab.active {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-color: #6a11cb;
    color: white;
    box-shadow: 0 2px 8px rgba(106, 17, 203, 0.3);
}

.activity-tab:hover:not(.active) {
    background: rgba(20, 30, 65, 0.6);
    border-color: #6a11cb;
    color: #7dc2f8;
}

.activities-content {
    margin-top: 12px;
}

.activity-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(20, 30, 65, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 6px 12px;
    color: #e0e0e0;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.activity-item:hover {
    background: rgba(20, 30, 65, 0.6);
    border-color: #6a11cb;
    transform: translateY(-1px);
}

.activity-item i {
    color: #4ade80;
    font-size: 12px;
}

/* 忌事图标为红色 - 提高优先级 */
.activity-item.bad-item i {
    color: #ef4444 !important;
}

/* 忌事times-circle图标为红色 */
.activity-item.bad-item .fa-times-circle {
    color: #ef4444 !important;
}

.no-activities {
    color: #6a93cb;
    font-style: italic;
    text-align: center;
    padding: 20px;
    font-size: 14px;
}

/* 移动端宜忌事项优化 */
@media (max-width: 768px) {
    .activities-section {
        margin-top: 12px;
    }
    
    .activities-header {
        margin-bottom: 12px;
    }
    
    .activities-tabs {
        gap: 4px;
    }
    
    .activity-tab {
        padding: 6px 8px;
        font-size: 12px;
        border-radius: 6px;
    }
    
    .activities-content {
        margin-top: 10px;
    }
    
    .activity-list {
        gap: 6px;
        justify-content: center;
    }
    
    .activity-item {
        padding: 5px 10px;
        font-size: 12px;
        border-radius: 16px;
    }
    
    .activity-item i {
        font-size: 11px;
    }
    
    .no-activities {
        padding: 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .activities-section {
        margin-top: 10px;
    }
    
    .activities-header {
        margin-bottom: 10px;
    }
    
    .activities-tabs {
        gap: 3px;
    }
    
    .activity-tab {
        padding: 5px 6px;
        font-size: 11px;
        border-radius: 5px;
    }
    
    .activities-content {
        margin-top: 8px;
    }
    
    .activity-list {
        gap: 4px;
    }
    
    .activity-item {
        padding: 4px 8px;
        font-size: 11px;
        border-radius: 12px;
    }
    
    .activity-item i {
        font-size: 10px;
    }
    
    .no-activities {
        padding: 12px;
        font-size: 12px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .almanac-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .almanac-card {
        padding: 14px 12px;
    }
    
    .date-primary {
        font-size: 24px;
    }
    
    .date-secondary {
        font-size: 14px;
    }
    
    .activities-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .activities-tabs {
        width: 100%;
        justify-content: center;
    }
    
    .activity-list {
        justify-content: center;
    }
    
    .activity-item {
        font-size: 12px;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .almanac-container {
        padding: 15px;
    }
    
    .date-display {
        padding: 15px 10px;
        margin-bottom: 20px;
    }
    
    .date-primary {
        font-size: 20px;
    }
    
    .almanac-card {
        padding: 12px 10px;
    }
    
    .almanac-label {
        font-size: 11px;
    }
    
    .almanac-value {
        font-size: 13px;
    }
    
    .activity-tab {
        padding: 6px 12px;
        font-size: 13px;
    }
}

.section-title {
    font-size: 18px;
    color: #7dc2f8;
    margin: 20px 0 12px;
    padding-left: 10px;
    border-left: 3px solid #6a11cb;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 8px;
}

/* 标签页容器 */
.tab-container {
    display: flex;
    background: rgba(20, 30, 65, 0.5);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 15px;
    border: 1px solid #25356e;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
    color: #a0b3e0;
}

.tab.active {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(106, 17, 203, 0.3);
}

.tab:hover:not(.active) {
    background: rgba(20, 30, 65, 0.7);
    color: #e0e0e0;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.good-item {
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.5);
    color: #28a745;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.good-item:hover {
    background: rgba(40, 167, 69, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.bad-item {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #dc3545;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.bad-item:hover {
    background: rgba(220, 53, 69, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.god-item {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.5);
    color: #ffc107;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.god-item:hover {
    background: rgba(255, 193, 7, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

.empty-state {
    text-align: center;
    padding: 20px;
    color: #6a93cb;
    font-style: italic;
    font-size: 14px;
}

/* 加载状态样式 */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.loading-spinner {
    margin-bottom: 16px;
}

.loading-spinner i {
    font-size: 24px;
    color: #6a11cb;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: #6a93cb;
    font-size: 14px;
    font-weight: 500;
}

/* 错误状态样式 */
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.error-icon {
    margin-bottom: 16px;
}

.error-icon i {
    font-size: 24px;
    color: #dc3545;
}

.error-text {
    color: #6a93cb;
    font-size: 14px;
    margin-bottom: 16px;
}

.retry-btn {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.retry-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(106, 17, 203, 0.3);
}

.retry-btn i {
    margin-right: 4px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .almanac-container {
        border-radius: 20px;
        margin: 8px;
    }
    
    .app-header {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }
    
    .app-title-section {
        align-self: flex-start;
    }
    
    .date-picker-container {
        align-self: stretch;
        justify-content: center;
    }
    
    .date-input {
        width: 100%;
        font-size: 16px; /* 防止iOS缩放 */
    }
    
    .refresh-btn {
        width: 100%;
        height: 44px;
    }
    
    .solar-date {
        font-size: 20px;
    }
    
    .lunar-date {
        font-size: 14px;
    }
    
    .content-area {
        padding: 12px;
        border-radius: 0 0 14px 14px;
    }
    
    .basic-info-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .almanac-container {
        margin: 4px;
        border-radius: 12px;
    }
    
    .app-header {
        padding: 12px;
        gap: 8px;
    }
    
    .date-picker-container {
        gap: 6px;
    }
    
    .date-input {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .refresh-btn {
        min-width: 40px;
        height: 40px;
    }
    
    .refresh-btn i {
        font-size: 12px;
    }
    
    .content-area {
        padding: 10px;
        border-radius: 0 0 10px 10px;
    }
    
    .solar-date {
    font-size: 18px;
    }
    
    .lunar-date {
        font-size: 13px;
    }
    
    .info-card {
        padding: 10px;
    }
    
    .items-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    
    .good-item,
    .bad-item,
    .god-item {
        padding: 6px 4px;
        font-size: 12px;
    }
}

/* 白天主题适配 */
[data-theme="day"] .almanac-container {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-color: #cbd5e1;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
}

[data-theme="day"] .content-area {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1e293b;
}

[data-theme="day"] .date-display {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

[data-theme="day"] .date-primary {
    color: #1e40af;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

[data-theme="day"] .date-secondary {
    color: #475569;
}

[data-theme="day"] .almanac-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

[data-theme="day"] .almanac-card:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

[data-theme="day"] .almanac-label {
    color: #64748b;
}

[data-theme="day"] .almanac-value {
    color: #1e293b;
}

[data-theme="day"] .activity-tab {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #475569;
    backdrop-filter: blur(10px);
}

[data-theme="day"] .activity-tab.active {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    border-color: #3b82f6;
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

[data-theme="day"] .activity-tab:hover:not(.active) {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    color: #1e40af;
}

[data-theme="day"] .activity-item {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #1e293b;
    backdrop-filter: blur(10px);
}

[data-theme="day"] .activity-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    transform: translateY(-1px);
}

[data-theme="day"] .activity-item i {
    color: #10b981;
}

/* 白天主题忌事图标为红色 - 提高优先级 */
[data-theme="day"] .activity-item.bad-item i {
    color: #dc2626 !important;
}

/* 白天主题忌事times-circle图标为红色 */
[data-theme="day"] .activity-item.bad-item .fa-times-circle {
    color: #dc2626 !important;
}

[data-theme="day"] .no-activities {
    color: #64748b;
}

[data-theme="day"] .placeholder-text {
    color: #64748b;
}

[data-theme="day"] .loading-animation {
    border: 3px solid rgba(59, 130, 246, 0.3);
    border-top-color: #3b82f6;
}

/* 白天主题滚动条样式 */
[data-theme="day"] .content-area::-webkit-scrollbar-track {
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
}

[data-theme="day"] .content-area::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    border-radius: 10px;
}

[data-theme="day"] .content-area::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
}

/* 白天主题section标题样式 */
[data-theme="day"] .section-title {
    color: #1e40af;
    border-left-color: #3b82f6;
}

/* 白天主题标签页容器样式 */
[data-theme="day"] .tab-container {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
}

[data-theme="day"] .tab {
    color: #475569;
}

[data-theme="day"] .tab.active {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

[data-theme="day"] .tab:hover:not(.active) {
    background: rgba(59, 130, 246, 0.1);
    color: #1e40af;
}

/* 白天主题项目样式 */
[data-theme="day"] .good-item {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
}

[data-theme="day"] .good-item:hover {
    background: rgba(16, 185, 129, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

[data-theme="day"] .bad-item {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #dc2626;
}

[data-theme="day"] .bad-item:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

[data-theme="day"] .god-item {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: #d97706;
}

[data-theme="day"] .god-item:hover {
    background: rgba(251, 191, 36, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
}

[data-theme="day"] .empty-state {
    color: #64748b;
}

[data-theme="day"] .loading-text,
[data-theme="day"] .error-text {
    color: #64748b;
}

[data-theme="day"] .retry-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

[data-theme="day"] .retry-btn:hover {
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* 夜间主题适配 */
[data-theme="night"] .almanac-container {
    background: #0f0f23;
    border-color: #4c1d95;
}

[data-theme="night"] .date-input {
    background: rgba(15, 15, 35, 0.9);
    border-color: #2d1b69;
    color: #e0e7ff;
}

[data-theme="night"] .date-input:focus {
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

[data-theme="night"] .solar-date,
[data-theme="night"] .lunar-date {
    color: #e0e7ff;
}

[data-theme="night"] .content-area {
    background: #0f0f23;
    color: #e5e7eb;
}

[data-theme="night"] .placeholder-text {
    color: #9ca3af;
}

[data-theme="night"] .info-card {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="night"] .info-card:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: #7c3aed;
}

[data-theme="night"] .info-label {
    color: #9ca3af;
}

[data-theme="night"] .info-value {
    color: #e5e7eb;
}

[data-theme="night"] .section-title {
    color: #c4b5fd;
    border-left-color: #7c3aed;
}

[data-theme="night"] .good-item {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

[data-theme="night"] .bad-item {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

[data-theme="night"] .god-item {
    background: rgba(251, 191, 36, 0.2);
    border-color: rgba(251, 191, 36, 0.4);
    color: #fbbf24;
}

[data-theme="night"] .loading-text,
[data-theme="night"] .error-text {
    color: #9ca3af;
}

[data-theme="night"] .retry-btn {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

[data-theme="night"] .retry-btn:hover {
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}