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

:root {
    --primary-blue: #003066;
    --accent-orange: #f26522;
    --light-blue: #e6f0fa;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    overflow-x: hidden;
}

/* Sidebar Styling */
.sidebar {
    width: 280px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background-color: var(--primary-blue);
    color: white;
    z-index: 50;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 4px solid transparent;
    opacity: 0.7;
    text-decoration: none;
    color: white;
}

.sidebar-item.active {
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--accent-orange);
    opacity: 1;
}

.sidebar-item:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
}

/* Content Area */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
    transition: all 0.3s;
}

/* Transitions */
.page-section {
    animation: fadeIn 0.6s ease-out forwards;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

/* Shop Styles */
.category-tab.active {
    background-color: var(--primary-blue);
    color: white;
}

.modal-overlay {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

@media (max-width: 1024px) {
    .sidebar {
        width: 80px;
    }

    .sidebar-text {
        display: none;
    }

    .main-content {
        margin-left: 80px;
    }
}
