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

body {
    font-family: 'Noto Sans KR', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nav-active {
    color: #2563eb; /* Tailwind blue-600 */
    font-weight: 600; /* semibold */
    border-bottom: 3px solid #2563eb;
    padding-bottom: 0.25rem; 
}

.mobile-nav-active {
    color: #2563eb; /* Tailwind blue-600 */
    background-color: #eff6ff; /* Tailwind blue-50 */
    font-weight: 600;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f2f5; /* Slightly lighter gray */
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1; /* slate-300 */
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; /* slate-500 */
}

.card-hover-effect {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}
.card-hover-effect:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 20px -4px rgba(0, 0, 0, 0.1), 0 8px 8px -4px rgba(0, 0, 0, 0.05);
}


.bar-chart-container {
    background-color: #f8fafc; /* Tailwind slate-50 */
    padding: 1.5rem; /* p-6 */
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); /* shadow-md */
    border: 1px solid #e5e7eb; /* border-gray-200 */
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    height: 280px; 
    gap: 1.25rem; 
    border-bottom: 2px solid #e5e7eb; /* Tailwind gray-200 */
    padding-bottom: 0.75rem;
    margin-top: 1.5rem;
    justify-content: space-around; 
}

.bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1; 
    max-width: 90px; 
    position: relative;
}

.bar {
    background-color: #3b82f6; /* Tailwind blue-500 */
    width: 70%; /* Bar width relative to its wrapper */
    display: flex;
    justify-content: center;
    align-items: flex-end; 
    color: white;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* medium */
    border-radius: 0.375rem 0.375rem 0 0; /* rounded-t-md */
    transition: height 0.5s ease-out, background-color 0.3s;
    min-height: 20px; 
    padding-bottom: 0.25rem;
}
.bar:hover {
    background-color: #2563eb; /* Tailwind blue-600 */
}

.bar-value {
    position: absolute;
    top: -1.75rem; 
    left: 50%;
    transform: translateX(-50%);
    color: #374151; /* Tailwind gray-700 */
    font-size: 0.875rem; /* text-sm */
    font-weight: 600; /* semibold */
    background-color: rgba(255,255,255,0.8);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
}

.bar-label {
    margin-top: 0.75rem;
    color: #6b7280; /* Tailwind gray-500 */
    font-size: 0.875rem; /* text-sm */
    text-align: center;
    font-weight: 500;
}
