:root {
    --bg-color: #0a0a0c;
    --panel-bg: rgba(20, 20, 25, 0.85);
    --accent-blue: #4285f4;
    --accent-green: #34a853;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-main: #e0e0e0;
    --text-dim: #999;
}

body {
    margin: 0;
    background: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow: hidden;
}

/* Panel */
#ui-container {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 340px;
    max-height: calc(100vh - 40px);
    background: var(--panel-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 100;
    transition: transform 0.3s ease;
}

/* Labels */
h1 {
    margin: 0 0 8px 0;
    font-size: 22px;
    font-weight: 600;
    background: linear-gradient(135deg, #4285f4, #34a853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#status {
    font-size: 0.8rem;
    color: var(--accent-blue);
    padding: 8px;
    background: rgba(66, 133, 244, 0.1);
    border-radius: 6px;
    border-left: 3px solid var(--accent-blue);
}

/* Input Styling */
input[type="text"], 
input[type="password"] {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.08);
}

/* Button Styling */
button {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.1s, filter 0.2s;
}

button:hover {
    filter: brightness(1.1);
}

button:active {
    transform: scale(0.98);
}

button:disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
}

/* Specific Section Styles */
#api-key-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#api-key-section small {
    font-size: 11px;
    line-height: 1.4;
    color: var(--text-dim);
}

#download-btn {
    margin-top: auto;
    background: transparent;
    border: 1px solid var(--accent-green);
    color: var(--accent-green);
}

#download-btn:hover {
    background: var(--accent-green);
    color: white;
}

.hidden { display: none; }