* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff0080;
    --primary-dark: #cc0066;
    --bg-dark: #0a0a0a;
    --bg-panel: #1a1a1a;
    --bg-hover: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border-color: #333333;
    --error-color: #ff4444;
    --success-color: #44ff44;
}

/* Light Theme */
body.light-theme {
    --bg-dark: #f5f5f5;
    --bg-panel: #ffffff;
    --bg-hover: #f0f0f0;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
}

body.light-theme {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 50%, #ffffff 100%);
    background-size: 200% 200%;
}

body.light-theme::before {
    background: radial-gradient(circle at 20% 50%, rgba(255, 0, 128, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 0, 128, 0.05) 0%, transparent 50%);
}

body.light-theme .main-panel {
    background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
    border: 2px solid var(--primary-color);
    box-shadow: 
        0 0 60px rgba(255, 0, 128, 0.3),
        0 0 100px rgba(255, 0, 128, 0.08),
        inset 0 0 30px rgba(255, 0, 128, 0.03);
}

body.light-theme .panel-header {
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.1) 0%, rgba(255, 0, 128, 0.03) 100%);
    border-bottom: 1px solid rgba(255, 0, 128, 0.15);
}

body.light-theme .sidebar {
    background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
    border-right: 1px solid rgba(255, 0, 128, 0.15);
}

body.light-theme .sidebar::after {
    background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
    opacity: 0.2;
}

body.light-theme .sidebar-btn {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .sidebar-btn:not(.active) .icon {
    color: #333333;
}

body.light-theme .sidebar-btn:not(.active):hover {
    background: rgba(255, 0, 128, 0.1);
    border-color: rgba(255, 0, 128, 0.3);
}

body.light-theme .sidebar-btn:not(.active):hover .icon {
    color: #1a1a1a;
}

body.light-theme .sidebar-btn.active {
    background: rgba(255, 0, 128, 0.15);
    border-color: var(--primary-color);
    box-shadow: 
        0 0 20px rgba(255, 0, 128, 0.3),
        inset 0 0 10px rgba(255, 0, 128, 0.05);
}

body.light-theme .sidebar-btn.active .icon {
    color: var(--primary-color);
    filter: drop-shadow(0 0 3px rgba(255, 0, 128, 0.5));
}

body.light-theme .option-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 250, 250, 0.9) 100%);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-theme .option-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(245, 245, 245, 1) 100%);
    border-color: rgba(255, 0, 128, 0.3);
    box-shadow: 
        0 0 20px rgba(255, 0, 128, 0.15),
        inset 0 0 20px rgba(255, 0, 128, 0.03);
}

body.light-theme .slider {
    background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body.light-theme .content-area {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
}

body.light-theme .content-area::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

body.light-theme .injection-status {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 250, 250, 0.95) 100%);
    border: 1px solid rgba(255, 0, 128, 0.2);
}

body.light-theme .injection-log {
    background: #ffffff;
    border: 1px solid rgba(255, 0, 128, 0.3);
    color: #cc0000;
}

body.light-theme .icon-btn {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #333333;
}

body.light-theme .icon-btn svg {
    color: #333333;
}

body.light-theme .icon-btn:hover {
    background: rgba(255, 0, 128, 0.1);
    border-color: var(--primary-color);
    color: #1a1a1a;
}

body.light-theme .icon-btn:hover svg {
    color: #1a1a1a;
}

body.light-theme .login-box {
    background: #ffffff;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.2);
}

body.light-theme .input-group input {
    background: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

body.light-theme .input-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 0, 128, 0.15);
}

body.light-theme .range-slider {
    background: linear-gradient(90deg, #e0e0e0 0%, #d0d0d0 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 50%, #0a0a0a 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 0, 128, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 0, 128, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.container {
    position: relative;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Login Box */
.login-box {
    background: var(--bg-panel);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header .icon,
.login-header #admin-login-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

body.light-theme .login-header .icon,
body.light-theme .login-header #admin-login-icon {
    color: var(--primary-color);
}

.login-header .icon svg,
.login-header #admin-login-icon svg {
    width: 100%;
    height: 100%;
}

.login-header h1 {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.login-form {
    margin-top: 30px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 0, 128, 0.2);
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    display: block;
    width: 100%;
    margin-top: 15px;
    padding: 14px;
    background: linear-gradient(135deg, #7928ca 0%, #5a1fa3 100%);
    border: 2px solid #7928ca;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 15px rgba(121, 40, 202, 0.3);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5a1fa3 0%, #4a1a8a 100%);
    box-shadow: 0 0 25px rgba(121, 40, 202, 0.5);
    transform: translateY(-2px);
    border-color: #8b3dd9;
}

.btn-secondary:active {
    transform: translateY(0);
}

.login-footer {
    margin-top: 30px;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 0, 128, 0.2);
}

.footer-info {
    margin-bottom: 15px;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 5px;
}

.footer-credits {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 0, 128, 0.3);
}

.footer-version {
    color: var(--text-secondary);
    font-size: 11px;
    opacity: 0.7;
    margin-bottom: 0;
}

/* Security Warning */
.security-warning {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 15px;
    padding: 12px 15px;
    background: rgba(255, 0, 128, 0.1);
    border: 1px solid rgba(255, 0, 128, 0.3);
    border-radius: 8px;
    text-align: left;
}

.security-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.security-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.security-text strong {
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
}

.security-text span {
    color: var(--text-secondary);
    font-size: 11px;
}

/* Support Section */
.support-section {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid;
}

.support-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.support-btn:hover::before {
    width: 300px;
    height: 300px;
}

.support-btn:hover {
    transform: translateY(-2px);
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    border-color: #25d366;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #20ba5a 0%, #1ea952 100%);
    border-color: #20ba5a;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

/* TikTok Button */
.tiktok-btn {
    background: linear-gradient(135deg, #000000 0%, #161823 100%);
    border-color: #000000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.tiktok-btn:hover {
    background: linear-gradient(135deg, #161823 0%, #000000 100%);
    border-color: #161823;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
}

.support-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.support-icon svg {
    width: 100%;
    height: 100%;
}

.support-text {
    position: relative;
    z-index: 1;
}

body.light-theme .support-btn {
    color: #ffffff;
}

body.light-theme .whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
    border-color: #25d366;
}

body.light-theme .whatsapp-btn:hover {
    background: linear-gradient(135deg, #20ba5a 0%, #1ea952 100%);
    border-color: #20ba5a;
}

body.light-theme .tiktok-btn {
    background: linear-gradient(135deg, #000000 0%, #161823 100%);
    border-color: #000000;
}

body.light-theme .tiktok-btn:hover {
    background: linear-gradient(135deg, #161823 0%, #000000 100%);
    border-color: #161823;
}

.admin-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.admin-link .link-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

body.light-theme .admin-link .link-icon {
    color: var(--primary-color);
}

.admin-link .link-icon svg {
    width: 100%;
    height: 100%;
}

.admin-link:hover {
    color: var(--primary-dark);
}

.error-message {
    background: rgba(255, 68, 68, 0.2);
    border: 1px solid var(--error-color);
    color: var(--error-color);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

.success-message {
    background: rgba(68, 255, 68, 0.2);
    border: 1px solid var(--success-color);
    color: var(--success-color);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

/* Main Panel */
.main-panel {
    background: linear-gradient(145deg, #1a1a1a 0%, #151515 100%);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    width: 100%;
    max-width: 700px;
    min-height: 500px;
    box-shadow: 
        0 0 60px rgba(255, 0, 128, 0.4),
        0 0 100px rgba(255, 0, 128, 0.1),
        inset 0 0 30px rgba(255, 0, 128, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
}

.main-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.panel-body {
    display: flex;
    flex-direction: row;
    flex: 1;
    overflow: hidden;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 0, 128, 0.2);
    background: linear-gradient(135deg, rgba(255, 0, 128, 0.15) 0%, rgba(255, 0, 128, 0.05) 100%);
    backdrop-filter: blur(10px);
    position: relative;
}

.panel-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.5;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

body.light-theme .header-icon {
    color: var(--primary-color);
}

.header-icon svg {
    width: 100%;
    height: 100%;
}

.panel-header h1 {
    color: var(--primary-color);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 0, 128, 0.5);
}

.header-right {
    display: flex;
    gap: 10px;
}

.icon-btn {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #cccccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.icon-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 0, 128, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.icon-btn:hover::before {
    width: 100%;
    height: 100%;
}

.icon-btn svg {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.icon-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 0, 128, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 0, 128, 0.3);
    transform: scale(1.05);
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border-right: 1px solid rgba(255, 0, 128, 0.1);
    background: linear-gradient(180deg, #0f0f0f 0%, #151515 100%);
    gap: 10px;
    position: relative;
}

.sidebar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.sidebar-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    color: #888888;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sidebar-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 128, 0.1), transparent);
    transition: left 0.5s ease;
}

.sidebar-btn:hover::before {
    left: 100%;
}

.sidebar-btn .icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.sidebar-btn .icon svg {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
}

/* Ícones inativos - cor clara para visibilidade */
.sidebar-btn:not(.active) .icon {
    color: #aaaaaa;
}

.sidebar-btn:not(.active):hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 0, 128, 0.3);
    transform: translateX(3px);
    box-shadow: 0 0 15px rgba(255, 0, 128, 0.2);
}

.sidebar-btn:not(.active):hover .icon {
    color: #ffffff;
}

/* Ícones ativos - cor rosa primária */
.sidebar-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 
        0 0 20px rgba(255, 0, 128, 0.5),
        inset 0 0 10px rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.sidebar-btn.active .icon {
    color: #ffffff;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}


/* Content Area */
.content-area {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.3) 0%, transparent 100%);
}

.content-area::-webkit-scrollbar {
    width: 8px;
}

.content-area::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.content-area::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(255, 0, 128, 0.3);
}

.content-area::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark), var(--primary-color));
}

.section {
    display: none;
}

.section.active {
    display: block;
}

.option-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.8) 0%, rgba(15, 15, 15, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.option-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 128, 0.1), transparent);
    transition: left 0.5s ease;
}

.option-item:hover::before {
    left: 100%;
}

.option-item:hover {
    border-color: rgba(255, 0, 128, 0.4);
    box-shadow: 
        0 0 20px rgba(255, 0, 128, 0.2),
        inset 0 0 20px rgba(255, 0, 128, 0.05);
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.9) 0%, rgba(20, 20, 20, 0.9) 100%);
}

.option-label {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 54px;
    height: 28px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 28px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 8px rgba(255, 255, 255, 0.1);
}

.slider:after {
    position: absolute;
    content: "✓";
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
    z-index: 1;
}

.toggle-switch input:checked + .slider {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-color: var(--primary-color);
    box-shadow: 
        0 0 20px rgba(255, 0, 128, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.toggle-switch input:checked + .slider:before {
    transform: translateX(26px);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(255, 255, 255, 0.3);
}

.toggle-switch input:checked + .slider:after {
    transform: translate(-50%, -50%) scale(1);
}

.toggle-switch:hover .slider {
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(255, 0, 128, 0.2);
}

.toggle-switch input:checked:hover + .slider {
    box-shadow: 
        0 0 25px rgba(255, 0, 128, 0.5),
        inset 0 0 15px rgba(255, 255, 255, 0.15);
}

/* Range Slider */
.slider-container {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    max-width: 300px;
}

.range-slider {
    flex: 1;
    height: 8px;
    background: linear-gradient(90deg, #1a1a1a 0%, #2a2a2a 100%);
    border-radius: 4px;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.range-slider::-webkit-slider-thumb {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 0 15px rgba(255, 0, 128, 0.5),
        0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 
        0 0 20px rgba(255, 0, 128, 0.7),
        0 3px 8px rgba(0, 0, 0, 0.4);
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 0 15px rgba(255, 0, 128, 0.5),
        0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

.range-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 
        0 0 20px rgba(255, 0, 128, 0.7),
        0 3px 8px rgba(0, 0, 0, 0.4);
}

.slider-value {
    color: var(--primary-color);
    font-weight: 700;
    min-width: 40px;
    text-align: right;
    text-shadow: 0 0 10px rgba(255, 0, 128, 0.5);
    font-size: 16px;
}

/* Injection Section */
.injection-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.btn-inject {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(255, 0, 128, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-inject::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-inject:hover::before {
    left: 100%;
}

.btn-inject:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    box-shadow: 
        0 6px 25px rgba(255, 0, 128, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-inject:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 10px rgba(255, 0, 128, 0.3),
        inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-inject .btn-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

body.light-theme .btn-inject .btn-icon {
    color: #ffffff;
}

.btn-inject .btn-icon svg {
    width: 100%;
    height: 100%;
}

.btn-inject:hover {
    background: var(--primary-dark);
    box-shadow: 0 0 20px rgba(255, 0, 128, 0.4);
    transform: translateY(-2px);
}

.btn-inject:active {
    transform: translateY(0);
}

.injection-status {
    margin-bottom: 15px;
    padding: 15px 18px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(15, 15, 15, 0.9) 100%);
    border: 1px solid rgba(255, 0, 128, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(5px);
    box-shadow: 
        0 0 20px rgba(255, 0, 128, 0.1),
        inset 0 0 20px rgba(255, 0, 128, 0.05);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

#injection-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#injection-icon svg {
    width: 100%;
    height: 100%;
}

.injection-log-container {
    margin-top: 15px;
}

.injection-log {
    width: 100%;
    height: 200px;
    background: #000000;
    border: 1px solid rgba(255, 0, 128, 0.3);
    border-radius: 12px;
    padding: 15px;
    color: #ff3333;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    resize: none;
    line-height: 1.6;
    box-shadow: 
        inset 0 0 30px rgba(255, 0, 0, 0.1),
        0 0 20px rgba(255, 0, 128, 0.1);
    text-shadow: 0 0 5px rgba(255, 0, 0, 0.5);
}

.injection-log::-webkit-scrollbar {
    width: 8px;
}

.injection-log::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

.injection-log::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .main-panel {
        max-width: 100%;
        min-height: auto;
    }
    
    .panel-body {
        flex-direction: row;
    }
    
    .sidebar {
        flex-direction: column;
        padding: 10px 8px;
        min-width: 60px;
        width: 60px;
        border-right: 1px solid rgba(255, 0, 128, 0.1);
        border-bottom: none;
    }
    
    .sidebar-btn {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }
    
    .sidebar-btn .icon {
        width: 20px;
        height: 20px;
    }
    
    .content-area {
        padding: 15px;
        flex: 1;
        min-width: 0;
    }
    
    .panel-header {
        padding: 15px 20px;
    }
    
    .panel-header h1 {
        font-size: 18px;
    }
    
    .header-icon {
        width: 28px;
        height: 28px;
    }
    
    .option-item {
        padding: 14px 16px;
        margin-bottom: 10px;
    }
    
    .option-label {
        font-size: 14px;
    }
    
    .toggle-switch {
        width: 48px;
        height: 26px;
    }
    
    .slider:before {
        height: 20px;
        width: 20px;
    }
    
    .toggle-switch input:checked + .slider:before {
        transform: translateX(22px);
    }
    
    .btn-inject {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .injection-log {
        height: 150px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .sidebar {
        min-width: 55px;
        width: 55px;
        padding: 8px 6px;
    }
    
    .sidebar-btn {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .sidebar-btn .icon {
        width: 18px;
        height: 18px;
    }
    
    .content-area {
        padding: 12px;
    }
    
    .panel-header {
        padding: 12px 15px;
    }
    
    .panel-header h1 {
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .option-item {
        padding: 12px 14px;
    }
    
    .option-label {
        font-size: 13px;
    }
}

/* ========================================
   PWA INSTALLATION BANNER
   ======================================== */
.pwa-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a1a 50%, #0a0a0a 100%);
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 18px 20px;
    z-index: 10000;
    box-shadow: 
        0 4px 30px rgba(255, 0, 128, 0.4),
        0 0 20px rgba(255, 0, 128, 0.2),
        inset 0 1px 0 rgba(255, 0, 128, 0.1);
    animation: slideDown 0.5s ease-out;
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.pwa-banner-content {
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.pwa-banner-icon {
    font-size: 2.2rem;
    filter: drop-shadow(0 0 10px var(--primary-color));
    animation: pwaPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pwaPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px var(--primary-color));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px var(--primary-color));
    }
}

.pwa-banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pwa-banner-text strong {
    font-size: 1.1rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    text-shadow: 
        0 0 10px rgba(255, 0, 128, 0.5),
        0 0 20px rgba(255, 0, 128, 0.3);
}

.pwa-banner-text span {
    font-size: 0.9rem;
    opacity: 0.85;
    color: rgba(255, 0, 128, 0.8);
    letter-spacing: 0.5px;
}

.pwa-install-btn {
    padding: 12px 24px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 0 15px rgba(255, 0, 128, 0.3),
        inset 0 0 10px rgba(255, 0, 128, 0.1);
    text-shadow: 0 0 5px var(--primary-color);
}

.pwa-install-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 0, 128, 0.3), transparent);
    transition: left 0.5s ease;
}

.pwa-install-btn:hover {
    background: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 
        0 0 25px rgba(255, 0, 128, 0.6),
        0 0 40px rgba(255, 0, 128, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px) scale(1.02);
    text-shadow: none;
}

.pwa-install-btn:hover::before {
    left: 100%;
}

.pwa-install-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 0 15px rgba(255, 0, 128, 0.4);
}

.pwa-dismiss-btn {
    background: transparent;
    border: 2px solid transparent;
    color: var(--primary-color);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 8px 12px;
    line-height: 1;
    transition: all 0.3s ease;
    opacity: 0.7;
    font-weight: bold;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-shadow: 0 0 10px rgba(255, 0, 128, 0.5);
}

.pwa-dismiss-btn:hover {
    opacity: 1;
    transform: scale(1.15) rotate(90deg);
    background: rgba(255, 0, 128, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 0, 128, 0.4);
}

/* Ajustar conteúdo quando banner está visível */
body.has-pwa-banner .container {
    padding-top: 100px;
    transition: padding-top 0.3s ease;
}

body.has-pwa-banner.has-ios-instructions .container {
    padding-top: 400px;
}

/* Instruções iOS */
.pwa-ios-instructions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 0, 128, 0.3);
    animation: fadeIn 0.3s ease;
    background: rgba(255, 0, 128, 0.05);
    border-radius: 0 0 8px 8px;
    padding: 20px;
    margin: 20px -20px -18px -20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ios-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.ios-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: rgba(255, 0, 128, 0.08);
    padding: 14px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    border: 1px solid rgba(255, 0, 128, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 0, 128, 0.1);
}

.ios-step:hover {
    background: rgba(255, 0, 128, 0.12);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(255, 0, 128, 0.2);
    transform: translateX(5px);
}

.step-number {
    background: var(--primary-color);
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(255, 0, 128, 0.5);
}

.step-text {
    flex: 1;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

.step-text strong {
    color: var(--primary-color);
    font-weight: bold;
}

.pwa-ios-close-btn {
    width: 100%;
    padding: 12px 24px;
    background: var(--primary-color);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 
        0 0 20px rgba(255, 0, 128, 0.4),
        inset 0 0 10px rgba(255, 255, 255, 0.1);
}

.pwa-ios-close-btn:hover {
    background: var(--primary-dark);
    box-shadow: 
        0 0 30px rgba(255, 0, 128, 0.6),
        inset 0 0 15px rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.pwa-ios-close-btn:active {
    transform: translateY(0);
}

/* Responsive PWA Banner */
@media (max-width: 768px) {
    .pwa-banner {
        padding: 12px 15px;
    }
    
    .pwa-banner-content {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .pwa-banner-icon {
        font-size: 1.5rem;
    }
    
    .pwa-banner-text {
        flex: 1 1 100%;
        min-width: 0;
    }
    
    .pwa-banner-text strong {
        font-size: 0.9rem;
    }
    
    .pwa-banner-text span {
        font-size: 0.75rem;
    }
    
    .pwa-install-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
        flex: 1;
        min-width: 100px;
    }
    
    .pwa-dismiss-btn {
        position: absolute;
        top: 5px;
        right: 5px;
        padding: 5px;
    }
    
    body:has(.pwa-banner[style*="display: block"]) .container {
        padding-top: 120px;
    }
    
    body:has(.pwa-banner[style*="display: block"]):has(.pwa-ios-instructions[style*="display: block"]) .container {
        padding-top: 400px;
    }
}

/* Responsive - Support Section and Security Warning */
@media (max-width: 768px) {
    .support-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .support-btn {
        width: 100%;
    }
    
    .security-warning {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .security-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .pwa-banner {
        padding: 10px 12px;
    }
    
    .pwa-banner-text strong {
        font-size: 0.85rem;
    }
    
    .pwa-banner-text span {
        font-size: 0.7rem;
    }
    
    .pwa-install-btn {
        padding: 7px 12px;
        font-size: 0.75rem;
    }
}

