@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

body {
    font-family: 'Pretendard', sans-serif;
}

/* Glassmorphism Panel (Sharp Edges) */
.glass-panel {
    background: rgba(17, 24, 39, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0 !important; /* 강제 직각 */
}

/* Light mode overrides for glass panel */
body:not(.dark) .glass-panel {
    background: #ffffff;
    border: 1px solid #e5e7eb;
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
body.dark ::-webkit-scrollbar-thumb { background: #374151; }
body.dark ::-webkit-scrollbar-thumb:hover { background: #4b5563; }

/* Subtle glow hover effect */
.glow { transition: all 0.2s; }
.glow:hover {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    transform: translateY(-1px);
}

/* Sidebar Menu Item */
.menu-item {
    transition: all 0.2s ease;
    border-radius: 0 !important;
}
.menu-item:hover {
    background: linear-gradient(90deg, rgba(59,130,246,0.1) 0%, transparent 100%);
    border-left: 3px solid #3b82f6;
    padding-left: 0.75rem;
}

/* Data Table Premium styles */
.data-table-premium {
    width: 100%;
    border-collapse: collapse;
}
.data-table-premium th {
    padding: 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f9fafb;
    color: #6b7280;
}
body.dark .data-table-premium th {
    border-bottom-color: #374151;
    background-color: rgba(31, 41, 55, 0.8);
    color: #9ca3af;
}
.data-table-premium td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.875rem;
}
body.dark .data-table-premium td {
    border-bottom-color: rgba(55, 65, 81, 0.5);
    color: #d1d5db;
}
.data-table-premium tr:hover td {
    background-color: #f3f4f6;
}
body.dark .data-table-premium tr:hover td {
    background-color: rgba(31, 41, 55, 0.5);
}

/* Iframe dark mode invert (simple fallback) */
body.dark .iframe-content {
    filter: invert(1) hue-rotate(180deg);
}

/* Base button and input resets for sharp edges */
button, input, select, textarea {
    border-radius: 0 !important;
}
