body {
    font-family: 'Noto Sans TC', sans-serif;
    background-color: #f5f7fa;
}

.file-label {
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition: all 0.3s ease;
}

.file-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.file-label input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-preview {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    background-color: #f8fafc;
    transition: all 0.3s ease;
}

.nav-tab {
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.nav-tab.active {
    border-bottom: 2px solid #2563eb;
    font-weight: 500;
}

.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn:active {
    transform: translateY(1px);
}

.gradient-bg {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

.loading-spinner {
    border-top-color: #3b82f6;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal-bg {
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.modal-content {
    transform: scale(0.95);
    transition: all 0.3s ease;
}

.modal-visible .modal-content {
    transform: scale(1);
}

.tool-card {
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
}

.tool-card.active {
    border-color: #3b82f6;
}

.tool-card:not(.active) {
    opacity: 0.8;
}

.tool-card.active .bg-gray-100 {
    background-color: #dbeafe;
}

.tool-card.active .text-gray-600 {
    color: #2563eb;
}