﻿
/* 自定义样式 */
.time-input {
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
    background: white;
}

    .time-input:focus {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
        transform: translateY(-2px);
    }

    .time-input:hover {
        border-color: #9ca3af;
    }

/* 深色主题 */
.dark-theme {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: #f8fafc;
}

    .dark-theme .bg-white {
        background-color: #1e293b;
        color: #f8fafc;
    }

    .dark-theme .time-input {
        background-color: #334155;
        border-color: #475569;
        color: #f8fafc;
    }

    .dark-theme .text-gray-800 {
        color: #f8fafc;
    }

    .dark-theme .text-gray-600 {
        color: #cbd5e1;
    }

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-item {
    animation: fadeIn 0.5s ease-out;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

/* 按钮样式增强 */
.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

    .btn-primary:hover {
        background: linear-gradient(135deg, #1d4ed8, #1e40af);
        box-shadow: 0 6px 8px -1px rgba(59, 130, 246, 0.4);
        transform: translateY(-2px);
    }

/* 卡片悬停效果 */
.card-hover {
    transition: all 0.3s ease;
}

    .card-hover:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }
