/* Standard CSS for TradingView Dark Theme */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

:root {
    --trade-bg: #0E1117;
    --trade-card: #1E222D;
    --trade-border: #2A2E39;
    --trade-text: #D1D4DC;
    --trade-accent: #2962FF;
    --trade-up: #00B894;
    --trade-down: #FF5252;
}

body {
    background-color: var(--trade-bg);
    color: var(--trade-text);
    font-family: 'Noto Sans KR', sans-serif;
}

/* Custom Range Slider */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--trade-accent);
    cursor: pointer;
    margin-top: -8px;
    box-shadow: 0 0 10px rgba(41, 98, 255, 0.5);
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    cursor: pointer;
    background: var(--trade-border);
    border-radius: 2px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--trade-bg);
}

::-webkit-scrollbar-thumb {
    background: #363A45;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4A4F5E;
}

/* Sidebar Styles */
.sidebar-card {
    background-color: var(--trade-card);
    border: 1px solid var(--trade-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
    margin-bottom: 1.5rem;
}

.sidebar-card:hover {
    transform: translateY(-2px);
}

.sidebar-title,
.sidebar-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    /* Removed bullets */
    padding: 0;
    margin: 0;
}

.sidebar-link,
.sidebar-list a {
    display: block;
    padding: 0.75rem;
    background-color: rgba(42, 46, 57, 0.5);
    border-radius: 0.5rem;
    color: #D1D4DC;
    text-decoration: none;
    transition: all 0.2s;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.sidebar-link:hover,
.sidebar-list a:hover {
    background-color: var(--trade-accent);
    color: white;
    transform: translateX(4px);
}

/* Extra classes for sidebar content */
.link-icon {
    font-size: 1.25rem;
    line-height: 1.5;
}

.link-content {
    display: flex;
    flex-direction: column;
}

.link-title {
    font-weight: 500;
    font-size: 0.95rem;
}

.link-desc {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.2rem;
}

.ad-container {
    margin: 20px auto;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
}

.ad-container.top-ad {
    margin-bottom: 20px;
}

.ad-container.bottom-ad {
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Logo Gradient Text */
.logo-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, #ffffff, #9ca3af);
}