@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

body {
    font-family: 'Noto Sans SC', sans-serif;
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.page-transition {
    transition: opacity 0.3s ease-in-out;
}

.page-hidden {
    display: none !important;
    opacity: 0;
}

.page-visible {
    display: flex !important;
    opacity: 1;
}

.card-shadow {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.dark .card-shadow {
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
}

.btn-primary {
    background: linear-gradient(to right, #f48fb1, #90caf9);
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.dark .btn-primary {
    background: linear-gradient(to right, #d81b60, #1e88e5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
    transform: translateY(0);
}

.option-card {
    border: 2px solid transparent;
    transition: all 0.2s;
}

.option-card.selected {
    border-color: #90caf9;
    background-color: #f0f7ff;
}

.dark .option-card.selected {
    border-color: #1e88e5;
    background-color: #1a2a4a;
}

.fb-tag.selected {
    border-color: #90caf9;
    background-color: #f0f7ff;
}

.dark .fb-tag.selected {
    border-color: #1e88e5;
    background-color: #1a2a4a;
}

.relation-tag.selected {
    border-color: #f48fb1;
    background-color: #fdf2f8;
}

.dark .relation-tag.selected {
    border-color: #d81b60;
    background-color: #3b1530;
}

#feedback-page {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#feedback-page::-webkit-scrollbar {
    display: none;
}

::-webkit-scrollbar {
    width: 4px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(156, 163, 175, 0.3);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(156, 163, 175, 0.5);
}

.dark ::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.3);
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.5);
}

html {
    scrollbar-width: thin;
    scrollbar-color: rgba(156, 163, 175, 0.3) transparent;
}

.dark {
    scrollbar-color: rgba(100, 116, 139, 0.3) transparent;
}

#theme-toggle {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #64748b;
    flex-shrink: 0;
}

.dark #theme-toggle {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f1f5f9;
}

#theme-toggle:hover {
    transform: scale(1.1);
}
