:root {
    --bg-color: #0d1117;
    --card-bg: rgba(22, 27, 34, 0.8);
    --accent-color: #58a6ff;
    --text-color: #c9d1d9;
    --success-color: #238636;
    --warning-color: #d29922;
    --border-color: #30363d;
    --error-color: #f85149;
    --glass-blur: blur(12px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, sans-serif;
}

body {
    background: var(--bg-color);
    background-image:
        radial-gradient(at 10% 20%, rgba(88, 166, 255, 0.05) 0px, transparent 50%),
        radial-gradient(at 90% 80%, rgba(35, 134, 54, 0.05) 0px, transparent 50%);
    color: var(--text-color);
    min-height: 100vh;
    padding: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #58a6ff, #238636);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.signal-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.signal-buy {
    background: rgba(35, 134, 54, 0.2);
    color: #44cf6e;
    border: 1px solid var(--success-color);
}

.signal-wait {
    background: rgba(210, 153, 34, 0.2);
    color: #ffd33d;
    border: 1px solid var(--warning-color);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th,
td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    font-weight: 600;
    color: #8b949e;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 1.2rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #8b949e;
}

input,
select,
textarea {
    width: 100%;
    padding: 0.8rem;
    background: #0d1117;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #c9d1d9;
    font-size: 1rem;
}

input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: filter 0.2s;
}

.btn-primary {
    background: var(--accent-color);
    color: #fff;
}

.btn-secondary {
    background: #21262d;
    border: 1px solid var(--border-color);
    color: #c9d1d9;
}

.btn:hover {
    filter: brightness(1.2);
}

.nav-links a {
    color: #8b949e;
    text-decoration: none;
    margin-left: 1rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.status-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.status-online {
    background: var(--success-color);
}

.status-offline {
    background: #f85149;
}