:root {
    --bg-color: #0c0e14;
    --card-bg: #13151f;
    --text-primary: #e6e6e6;
    --text-secondary: #8a8f98;
    --border-color: #2a2d3a;
    --warning-bg: rgba(255, 170, 0, 0.1);
    --warning-text: #ffaa00;
    --accent: #3a86ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html, body {
    height: 100%;
    width: 100%;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow: hidden;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dashboard {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 20px;
    width: 100%;
    height: calc(100vh - 40px);
    max-height: 800px;
}

.graph-details, .graph-container {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    height: 100%;
}

.graph-details {
    display: flex;
    flex-direction: column;
}

.graph-details h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

.divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 20px 0;
}

.detail-item {
    margin-bottom: 20px;
}

.detail-item h3 {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.value {
    font-size: 16px;
    font-weight: 500;
}

.url-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.copy-btn:hover {
    color: var(--text-primary);
}

.copy-btn svg {
    width: 16px;
    height: 16px;
}

.actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.action-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.action-btn svg {
    width: 16px;
    height: 16px;
}

.reminder {
    background-color: var(--warning-bg);
    border-radius: 6px;
    padding: 15px;
    margin-top: auto;
}

.reminder h4 {
    color: var(--warning-text);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.reminder p {
    color: var(--warning-text);
    font-size: 13px;
    line-height: 1.5;
}

.graph-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--card-bg);
    color: var(--text-primary);
    padding: 12px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 1000;
    border-left: 3px solid var(--accent);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr;
        height: auto;
        max-height: none;
        overflow-y: auto;
    }
    
    body {
        overflow-y: auto;
        height: auto;
    }
}