/* popup.css - V8 Dark Mode (Responsive) */
body {
    background-color: #1a1b1e;
    color: #e5e7eb;
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    user-select: none;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    box-sizing: border-box;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2c2e33;
    padding-bottom: 8px;
}

.header-title {
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.badge {
    background: #228be6;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

/* Sections */
.section {
    background: #25262b;
    border: 1px solid #2c2e33;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
}

.section:hover {
    border-color: #4a4d55;
    background: #2a2b30;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.section-title {
    font-size: 11px;
    text-transform: uppercase;
    color: #909296;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

/* Controls */
.main-toggle-btn {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #373a40;
    background: #2c2e33;
    color: #909296;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.main-toggle-btn:hover {
    background: #373a40;
    border-color: #4a4d55;
    transform: scale(1.02);
}

.main-toggle-btn.active {
    background: linear-gradient(135deg, #228be6, #1c7ed6);
    color: white;
    border-color: #1c7ed6;
    box-shadow: 0 4px 15px rgba(34, 139, 230, 0.4);
}

.main-toggle-btn.active:hover {
    background: linear-gradient(135deg, #339af0, #228be6);
    box-shadow: 0 6px 20px rgba(34, 139, 230, 0.5);
    transform: scale(1.02);
}

.media-row {
    display: flex;
    gap: 8px;
}

.media-btn {
    flex: 1;
    background: #2c2e33;
    border: 1px solid #373a40;
    color: #e5e7eb;
    border-radius: 6px;
    padding: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
}

.media-btn:hover {
    background: #373a40;
    color: #fff;
    border-color: #4a4d55;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.media-btn:active {
    transform: scale(0.95);
}

/* Responsive Range Wrapper */
.range-wrapper {
    width: 100%;
}

/* Inputs */
.control-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.control-row label {
    font-size: 11px;
    color: #c1c2c5;
}

select {
    width: 100%;
    padding: 8px;
    background: #1a1b1e;
    border: 1px solid #373a40;
    border-radius: 4px;
    color: #e5e7eb;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

select:hover {
    border-color: #4a4d55;
    background: #25262b;
}

select:focus {
    border-color: #228be6;
    box-shadow: 0 0 0 2px rgba(34, 139, 230, 0.2);
}

input[type="text"], input[type="password"] {
    width: 100%;
    padding: 8px;
    background: #1a1b1e;
    border: 1px solid #373a40;
    border-radius: 4px;
    color: white;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

input[type="text"]:hover, input[type="password"]:hover {
    border-color: #4a4d55;
}

input[type="text"]:focus, input[type="password"]:focus {
    border-color: #228be6;
    box-shadow: 0 0 0 2px rgba(34, 139, 230, 0.2);
    outline: none;
}

/* Checkbox Style */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.checkbox-wrapper span {
    font-size: 12px;
    color: #e5e7eb;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: auto;
    padding-top: 8px;
}

.footer a {
    color: #5c5f66;
    text-decoration: none;
    font-size: 10px;
}
.footer a:hover {
    color: #909296;
}
