* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans CJK";
    font-weight: normal;
    background: #fafafa;
    min-height: 100vh;
    color: #171717;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #d4d4d4;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a3a3a3;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes skeleton {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f5f5f5 25%, #e5e5e5 50%, #f5f5f5 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s ease-in-out infinite;
    border-radius: 8px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.form-input {
    transition: all 0.2s ease;
}

.form-input:focus {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.toggle-btn {
    transition: all 0.2s ease;
}

.toggle-btn.active {
    background: #171717;
    color: #fff;
    border-color: #171717;
}

.card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
}

.datetime-input {
    appearance: none;
    -webkit-appearance: none;
    background-color: white;
    cursor: pointer;
}

.datetime-input::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    filter: invert(0);
}

.datetime-input::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.btn-primary {
    background: #171717;
    color: white;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #404040;
}

.btn-primary:disabled {
    background: #a3a3a3;
}

.btn-secondary {
    background: white;
    color: #171717;
    border: 1px solid #e5e5e5;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #fafafa;
    border-color: #d4d4d4;
}

.badge-primary {
    background: #171717;
    color: white;
}

.badge-secondary {
    background: #f5f5f5;
    color: #525252;
}

.badge-success {
    background: #f0fdf4;
    color: #15803d;
}

.badge-warning {
    background: #fffbeb;
    color: #b45309;
}

.badge-danger {
    background: #fef2f2;
    color: #dc2626;
}
