:root {
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --text-color: #212529;
    --card-border: rgba(0, 0, 0, 0.1);
    --input-bg: #ffffff;
    --input-border: #ced4da;
    --input-text: #212529;
    --error-bg: #fff3f3;
    --error-border: #ffcdd2;
    --alert-bg: #cce5ff;
    --alert-border: #b8daff;
    --alert-text: #004085;
}

[data-theme="dark"] {
    --bg-color: #0a0f1f;
    --card-bg: #0f1529;
    --text-color: #e6f1ff;
    --card-border: rgba(230, 241, 255, 0.05);
    --input-bg: #141b33;
    --input-border: #1a2240;
    --input-text: #e6f1ff;
    --error-bg: #2d1f1f;
    --error-border: #3d2f2f;
    --alert-bg: #0f1a2a;
    --alert-border: #1a2440;
    --alert-text: #e6f1ff;
}

/* --- Cool Animated & Textured Background --- */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.25;    background-image:
        repeating-linear-gradient(135deg, rgba(145,71,255,0.08) 0 2px, transparent 2px 40px),
        repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 30px);
    background-blend-mode: lighten, lighten;
    background-size: cover, cover, cover, cover;
    transition: opacity 0.5s;
}

body {
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    body::before {
        opacity: 0.18;
    }
}

/* Animated elements are now cubes and lines only */

/* --- End Cool Background --- */

/* YouTube Tab Specific Styles */
.youtube-header {
    background: #ff0000 !important;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
}

.youtube-progress {
    background-color: #282828 !important;
}

.youtube-progress .progress-bar {
    background-color: #ff0000 !important;
}

#youtube-tab .btn-primary {
    background-color: #ff0000 !important;
    border-color: #cc0000 !important;
}

#youtube-tab .btn-primary:hover {
    background-color: #cc0000 !important;
    border-color: #990000 !important;
}

#youtube-tab .btn-success {
    background-color: #ff0000 !important;
    border-color: #cc0000 !important;
}

#youtube-tab .btn-success:hover {
    background-color: #cc0000 !important;
    border-color: #990000 !important;
}

#youtube-tab .alert-info {
    background-color: #282828 !important;
    border-color: #404040 !important;
    color: #ffffff !important;
}

[data-theme="dark"] body {
    background: linear-gradient(135deg, #0a0f1f 0%, #0f1529 100%);
}

[data-theme="dark"] .card {
    background: linear-gradient(135deg, #0f1529 0%, #141b33 100%);
    border: 1px solid rgba(230, 241, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .form-control {
    background: linear-gradient(135deg, #141b33 0%, #1a2240 100%);
    border: 1px solid rgba(230, 241, 255, 0.1);
}

[data-theme="dark"] .form-control:focus {
    background: linear-gradient(135deg, #141b33 0%, #1a2240 100%);
    border-color: #9147ff;
    box-shadow: 0 0 0 0.25rem rgba(145, 71, 255, 0.15);
}

[data-theme="dark"] .input-group-text {
    background: linear-gradient(135deg, #141b33 0%, #1a2240 100%);
    border: 1px solid rgba(230, 241, 255, 0.1);
}

[data-theme="dark"] .progress {
    background: linear-gradient(135deg, #141b33 0%, #1a2240 100%);
}

[data-theme="dark"] .alert-info {
    background: linear-gradient(135deg, #0f1a2a 0%, #1a2440 100%);
    border: 1px solid rgba(230, 241, 255, 0.1);
}

[data-theme="dark"] .error-details {
    background: linear-gradient(135deg, #2d1f1f 0%, #3d2f2f 100%);
    border: 1px solid rgba(230, 241, 255, 0.1);
}

[data-theme="dark"] .theme-toggle {
    background: linear-gradient(135deg, #9147ff 0%, #7a2fff 100%);
    border: 2px solid rgba(230, 241, 255, 0.2);
    box-shadow: 0 4px 15px rgba(145, 71, 255, 0.2);
}

[data-theme="dark"] .theme-toggle i {
    color: #ffffff;
}

[data-theme="dark"] .theme-toggle:hover {
    box-shadow: 0 6px 20px rgba(145, 71, 255, 0.3);
}

[data-theme="dark"] .form-text {
    color: #b3b3b3;
}

[data-theme="dark"] .form-label {
    color: #ffffff;
}

[data-theme="dark"] .text-danger {
    color: #ff6b6b !important;
}

[data-theme="dark"] pre {
    color: #ffffff;
}

[data-theme="dark"] .form-control::placeholder {
    color: #808080;
}

[data-theme="dark"] .form-control:disabled {
    background-color: #2d2d2d;
    color: #b3b3b3;
}

[data-theme="dark"] .form-control:disabled::placeholder {
    color: #666666;
}

[data-theme="dark"] .input-group-text i {
    color: #b3b3b3;
}

/* Animated Background */
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body {
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s, color 0.3s;
    padding-top: 10vh;
    background: linear-gradient(-45deg, #0a0f1f, #1a2240, #1a103a, #2c1a4a);
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

.main-container {
    flex: 1;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 10; /* Ensure content is above background animations */
}

.card {
    background-color: var(--card-bg);
    border: none;
    box-shadow: 0 4px 6px var(--card-border);
    border-radius: 10px;
    transition: background-color 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 5; /* Ensure cards are above background animations */
}

.card-header {
    background-color: #9147ff;
    color: white;
    border-radius: 10px 10px 0 0 !important;
    padding: 1rem;
}

.btn-primary {
    background-color: #9147ff;
    border-color: #9147ff;
}

.btn-primary:hover {
    background-color: #7a2fff;
    border-color: #7a2fff;
}

.download-status {
    display: none;
    margin-top: 1rem;
}

.progress {
    height: 25px;
    border-radius: 12px;
    background-color: var(--input-bg);
}

.progress-bar {
    background-color: #9147ff;
}

.status-icon {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.error-details {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--error-bg);
    border: 1px solid var(--error-border);
    border-radius: 5px;
}

.alert-info {
    background-color: var(--alert-bg);
    border-color: var(--alert-border);
    color: var(--alert-text);
}

.form-control {
    background-color: var(--input-bg);
    border-color: var(--input-border);
    color: var(--input-text);
}

.form-control:focus {
    background-color: var(--input-bg);
    border-color: #9147ff;
    color: var(--input-text);
}

.input-group-text {
    background-color: var(--input-bg);
    border-color: var(--input-border);
    color: var(--input-text);
}

.theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    background-color: #9147ff;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
}

.theme-toggle i {
    font-size: 1.5rem;
}

[data-theme="dark"] .theme-toggle {
    background-color: #ffffff;
    border-color: #9147ff;
    color: #9147ff;
}

.tab-container {
    margin-bottom: 2rem;
}

.tab-selector {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border: none;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tab-button.active {
    background: linear-gradient(135deg, #9147ff 0%, #7a2fff 100%);
}

.tab-button i {
    margin-right: 0.5rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* YouTube Tab Specific Styles */
#youtube-tab {
    background: none;
}

/* Style the YouTube tab selector button red when active */
.youtube-tab-button.active {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
}

.youtube-tab-button:hover {
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2) !important;
}

#youtube-tab .card-header {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
    color: white !important;
}

#youtube-tab .btn-primary {
    background-color: #ff0000 !important;
    border-color: #cc0000 !important;
}

#youtube-tab .btn-primary:hover {
    background-color: #cc0000 !important;
    border-color: #990000 !important;
}

#youtube-tab .btn-success {
    background-color: #ff0000 !important;
    border-color: #cc0000 !important;
}

#youtube-tab .btn-success:hover {
    background-color: #cc0000 !important;
    border-color: #990000 !important;
}

#youtube-tab .form-control:focus {
    border-color: #ff0000 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25) !important;
}

#youtube-tab .progress-bar {
    background-color: #ff0000 !important;
}

#youtube-tab .text-success {
    color: #00ff00 !important;
}

#youtube-tab .disabled {
    cursor: not-allowed !important;
    pointer-events: none !important;
}

[data-theme="dark"] .tab-button {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

[data-theme="dark"] .tab-button.active {
    background: linear-gradient(135deg, #9147ff 0%, #7a2fff 100%);
}

[data-theme="dark"] .tab-button:hover {
    box-shadow: 0 4px 15px rgba(145, 71, 255, 0.2);
}

[data-theme="dark"] .youtube-tab-button.active {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
}

[data-theme="dark"] .youtube-shorts-tab-button.active {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
}

[data-theme="dark"] .instagram-reels-tab-button.active {
    background: linear-gradient(135deg, #833AB4 0%, #C13584 100%) !important;
}

[data-theme="dark"] .snapchat-tab-button.active {
    background: linear-gradient(135deg, #FFFC00 0%, #FFCA00 100%) !important;
    color: #000000 !important;
}

[data-theme="dark"] .snapchat-shorts-tab-button.active {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
}

.container {
    max-width: 1700px !important;
    width: 100%;
}

#vodEmbedCol .card-body {
    padding: 0;
}

#vodEmbed iframe {
    width: 100% !important;
    min-width: 100%;
    max-width: 100%;
    display: block;
}

.vod-tracking-box {
    background-color: var(--card-bg);
    border: none;
    box-shadow: 0 4px 6px var(--card-border);
    border-radius: 10px;
    transition: background-color 0.3s, box-shadow 0.3s;
    margin-top: 1rem;
    height: 100%;
}

.vod-tracking-box .card-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    border-radius: 10px 10px 0 0 !important;
    padding: 0.75rem;
}

.vod-tracking-box .card-body {
    padding: 0.75rem;
    max-height: 400px;
    overflow-y: auto;
}

.vod-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vod-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem;
    border-bottom: 1px solid var(--card-border);
}

.vod-item:last-child {
    border-bottom: none;
}

.vod-item .d-flex {
    flex: 1;
    min-width: 0;
}

.vod-item a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 100%;
}

.vod-item small {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.alert-info .vod-title {
    flex: 1;
    min-width: 0;
}

/* --- Scattered animations --- */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 0.6; }
}

@keyframes blink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes flipX {
    0% { transform: rotateX(0deg); }
    100% { transform: rotateX(180deg); }
}

@keyframes flipY {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(180deg); }
}

@keyframes alternatePosition {
    0% { transform: translate(0, 0); }
    25% { transform: translate(20px, 0); }
    50% { transform: translate(20px, 20px); }
    75% { transform: translate(0, 20px); }
    100% { transform: translate(0, 0); }
}

/* Crossing lines */
.line {
    position: absolute;
    pointer-events: none;
    z-index: -1; /* Position behind content modules */
    background-color: rgba(145, 71, 255, 0.2);
}

.line.horizontal {
    width: 40px; /* Shorter line */
    height: 1px;
    animation: fadeInOutHorizontal 6s ease-in-out infinite;
    top: 50%;
    left: -20px; /* Start left of center */
}

.line.vertical {
    width: 1px;
    height: 40px; /* Shorter line */
    animation: fadeInOutVertical 6s ease-in-out infinite;
    top: -20px; /* Start above center */
    left: 50%;
}

@keyframes fadeInOutHorizontal {
    0%, 100% { transform: translateX(0); opacity: 0; }
    15% { transform: translateX(10px); opacity: 0.4; }
    30% { transform: translateX(20px); opacity: 0.8; }
    50% { transform: translateX(30px); opacity: 1; }
    70% { transform: translateX(40px); opacity: 0.8; }
    85% { transform: translateX(50px); opacity: 0.4; }
    100% { transform: translateX(60px); opacity: 0; }
}

@keyframes fadeInOutVertical {
    0%, 100% { transform: translateY(0); opacity: 0; }
    15% { transform: translateY(10px); opacity: 0.4; }
    30% { transform: translateY(20px); opacity: 0.8; }
    50% { transform: translateY(30px); opacity: 1; }
    70% { transform: translateY(40px); opacity: 0.8; }
    85% { transform: translateY(50px); opacity: 0.4; }
    100% { transform: translateY(60px); opacity: 0; }
}

/* Crossing lines container */
.crossing-lines {
    position: absolute;
    pointer-events: none;
    z-index: -1; /* Position behind content modules */
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%); /* Center properly */
}

/* 3D Cube */
.cube {
    position: absolute;
    pointer-events: none;
    z-index: -1; /* Position behind content modules */
    width: 20px;
    height: 20px;
    perspective: 400px;
    transform-style: preserve-3d;
    transition: all 0.5s ease-in-out;
    animation: stackToPattern 20s ease-in-out infinite;
}

/* Different animation patterns for each cube */
.cube-pattern-0 {
    animation-name: cubePattern0;
}

.cube-pattern-1 {
    animation-name: cubePattern1;
}

.cube-pattern-2 {
    animation-name: cubePattern2;
}

.cube-pattern-3 {
    animation-name: cubePattern3;
}

.cube-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: spin 30s linear infinite; /* Slower rotation, just for visual interest */
}

/* Base animation for stacking/unstacking of cubes */
@keyframes stackToPattern {
    0%, 10% { transform: translate(0, 0) scale(1); } /* Stacked at start */
    15% { transform: translate(0, 0) scale(1.2); } /* Small pulse before moving */
    20%, 80% { transform: translate(var(--x, 0), var(--y, 0)) scale(1); } /* Move to pattern position */
    85% { transform: translate(var(--x, 0), var(--y, 0)) scale(1.2); } /* Small pulse before returning */
    90%, 100% { transform: translate(0, 0) scale(1); } /* Return to stacked */
}

/* Cube-specific patterns - focusing on position changes rather than rotation */
@keyframes cubePattern0 {
    0%, 10% { --x: 0px; --y: 0px; } /* Stacked */
    20%, 40% { --x: -25px; --y: 15px; } /* First position */
    50%, 70% { --x: -15px; --y: 35px; } /* Second position */
    80% { --x: -35px; --y: 25px; } /* Third position */
    90%, 100% { --x: 0px; --y: 0px; } /* Return to stack */
}

@keyframes cubePattern1 {
    0%, 10% { --x: 0px; --y: 0px; } /* Stacked */
    20%, 40% { --x: 30px; --y: -5px; } /* First position */
    50%, 70% { --x: 40px; --y: 15px; } /* Second position */
    80% { --x: 20px; --y: 5px; } /* Third position */
    90%, 100% { --x: 0px; --y: 0px; } /* Return to stack */
}

@keyframes cubePattern2 {
    0%, 10% { --x: 0px; --y: 0px; } /* Stacked */
    20%, 40% { --x: 10px; --y: 30px; } /* First position */
    50%, 70% { --x: 25px; --y: 20px; } /* Second position */
    80% { --x: 15px; --y: 35px; } /* Third position */
    90%, 100% { --x: 0px; --y: 0px; } /* Return to stack */
}

@keyframes cubePattern3 {
    0%, 10% { --x: 0px; --y: 0px; } /* Stacked */
    20%, 40% { --x: -20px; --y: -15px; } /* First position */
    50%, 70% { --x: -40px; --y: 5px; } /* Second position */
    80% { --x: -25px; --y: -25px; } /* Third position */
    90%, 100% { --x: 0px; --y: 0px; } /* Return to stack */
}

@keyframes spin {
    from { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    to { transform: rotateX(360deg) rotateY(360deg) rotateZ(360deg); }
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(145, 71, 255, 0.15);
    border: 1px solid rgba(145, 71, 255, 0.3);
    backface-visibility: visible;
    transition: all 0.3s ease;
}

.cube-face.front { transform: translateZ(10px); }
.cube-face.back { transform: rotateY(180deg) translateZ(10px); }
.cube-face.right { transform: rotateY(90deg) translateZ(10px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(10px); }
.cube-face.top { transform: rotateX(90deg) translateZ(10px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(10px); }

/* Small decorative elements */
.square {
    position: absolute;
    pointer-events: none;
    z-index: -1; /* Position behind content modules */
    width: 10px;
    height: 10px;
    background-color: rgba(0, 255, 208, 0.2);
    animation: float 6s infinite ease-in-out;
}

.triangle {
    position: absolute;
    pointer-events: none;
    z-index: -1; /* Position behind content modules */
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 16px solid rgba(255, 64, 129, 0.2);
    animation: float 8s infinite ease-in-out;
}

/* Position presets - add more positions in your HTML as needed */
.pos1 { top: 15%; left: 10%; animation-delay: 0s; }
.pos2 { top: 25%; right: 15%; animation-delay: 1s; }
.pos3 { top: 80%; left: 20%; animation-delay: 2s; }
.pos4 { top: 40%; right: 25%; animation-delay: 0.5s; }
.pos5 { top: 60%; left: 85%; animation-delay: 1.5s; }
.pos6 { top: 30%; left: 40%; animation-delay: 3s; }
.pos7 { top: 70%; right: 10%; animation-delay: 2.5s; }
.pos8 { top: 90%; right: 30%; animation-delay: 1.8s; }
.pos9 { top: 10%; left: 60%; animation-delay: 0.2s; }
.pos10 { top: 50%; left: 30%; animation-delay: 1.2s; }

/* Generate more animations dynamically */
.animate-slow { animation-duration: 8s !important; }
.animate-fast { animation-duration: 3s !important; }

/* Hide some animations on mobile to improve performance */
@media (max-width: 768px) {
    .square, .triangle, .cube, .crossing-lines {
        display: none;
    }
}

/* Remove any existing animated shapes we don't need anymore */
.animated-shape {
    display: none;
}

/* Hide scrollbars but keep functionality */
/* For Webkit browsers (Chrome, Safari, etc.) */
::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
}

/* For Firefox */
* {
    scrollbar-width: none;
}

/* For Edge and IE */
* {
    -ms-overflow-style: none;
}

/* --- End Scattered animations --- */

/* YouTube Shorts Tab Specific Styles */
.youtube-shorts-tab-button.active {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
}

.youtube-shorts-tab-button:hover {
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2) !important;
}

.shorts-header {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%) !important;
    color: white !important;
}

.shorts-progress {
    background-color: #282828 !important;
}

.shorts-progress .progress-bar {
    background-color: #ff0000 !important;
}

#youtube-shorts-tab .btn-primary {
    background-color: #ff0000 !important;
    border-color: #cc0000 !important;
}

#youtube-shorts-tab .btn-primary:hover {
    background-color: #cc0000 !important;
    border-color: #990000 !important;
}

#youtube-shorts-tab .form-control:focus {
    border-color: #ff0000 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 0, 0, 0.25) !important;
}

#youtube-shorts-tab .progress-bar {
    background-color: #ff0000 !important;
}

#youtube-shorts-tab .alert-info {
    background-color: #282828 !important;
    border-color: #404040 !important;
    color: #ffffff !important;
}

#youtube-shorts-tab .text-success {
    color: #00ff00 !important;
}

#youtube-shorts-tab .disabled {
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* Snapchat Tab Specific Styles */
.snapchat-tab-button.active {
    background: linear-gradient(135deg, #FFFC00 0%, #FFCA00 100%) !important;
    color: #000000 !important;
}

.snapchat-tab-button:hover {
    box-shadow: 0 4px 15px rgba(255, 252, 0, 0.3) !important;
}

.snapchat-header {
    background: linear-gradient(135deg, #FFFC00 0%, #FFCA00 100%) !important;
    color: black !important;
}

.snapchat-progress {
    background-color: #282828 !important;
}

.snapchat-progress .progress-bar {
    background-color: #FFFC00 !important;
    color: black !important;
}

/* Snapchat Stories specific styles */
.snapchat-stories-section {
    border-left: 4px solid #FFFC00;
    padding-left: 15px;
    margin-bottom: 20px;
}

.snapchat-stories-input {
    border: 2px solid #FFFC00 !important;
    transition: all 0.3s ease;
}

.snapchat-stories-input:focus {
    border-color: #FFCA00 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 252, 0, 0.15) !important;
}

/* Snapchat Spotlights specific styles */
.snapchat-spotlights-section {
    border-left: 4px solid #FFCA00;
    padding-left: 15px;
    margin-bottom: 20px;
}

.snapchat-spotlights-input {
    border: 2px solid #FFCA00 !important;
    transition: all 0.3s ease;
}

.snapchat-spotlights-input:focus {
    border-color: #FFB600 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 202, 0, 0.15) !important;
}

/* Content type toggle switch */
.snapchat-toggle {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    background: rgba(255, 252, 0, 0.1);
    padding: 10px;
    border-radius: 25px;
}

.snapchat-toggle-btn {
    padding: 8px 20px;
    margin: 0 5px;
    border: none;
    border-radius: 20px;
    background: transparent;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.snapchat-toggle-btn.active {
    background: #FFFC00;
    box-shadow: 0 2px 8px rgba(255, 252, 0, 0.3);
}

[data-theme="dark"] .snapchat-toggle {
    background: rgba(255, 252, 0, 0.05);
}

[data-theme="dark"] .snapchat-toggle-btn {
    color: #FFFC00;
}

[data-theme="dark"] .snapchat-toggle-btn.active {
    background: #FFFC00;
    color: #000;
}

/* Progress indicators */
.snapchat-stories-progress .progress-bar {
    background: linear-gradient(135deg, #FFFC00 0%, #FFCA00 100%) !important;
}

.snapchat-spotlights-progress .progress-bar {
    background: linear-gradient(135deg, #FFCA00 0%, #FFB600 100%) !important;
}

/* Common button styles */
#snapchat-tab .btn-primary {
    background-color: #FFFC00 !important;
    border-color: #FFCA00 !important;
    color: black !important;
}

#snapchat-tab .btn-primary:hover {
    background-color: #FFCA00 !important;
    border-color: #FFB600 !important;
    color: black !important;
}

#snapchat-tab .form-control:focus {
    border-color: #FFFC00 !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 252, 0, 0.25) !important;
}

#snapchat-tab .progress-bar {
    background-color: #FFFC00 !important;
    color: black !important;
}

#snapchat-tab .btn-success {
    background-color: #FFFC00 !important;
    border-color: #FFCA00 !important;
    color: black !important;
}

#snapchat-tab .btn-success:hover {
    background-color: #FFCA00 !important;
    border-color: #FFB600 !important;
    color: black !important;
}

/* Snapchat Specific Styles */
.snapchat-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.snapchat-toggle-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid #fffc00;
    background-color: transparent;
    color: #000000;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-theme="dark"] .snapchat-toggle-btn {
    color: #ffffff;
}

.snapchat-toggle-btn.active {
    background-color: #fffc00;
    color: #000000;
}

.snapchat-toggle-btn:hover {
    background-color: rgba(255, 252, 0, 0.1);
}

.snapchat-toggle-btn.active:hover {
    background-color: #fffc00;
}

.snapchat-stories-section,
.snapchat-spotlights-section {
    display: none;
}

.snapchat-stories-section.active,
.snapchat-spotlights-section.active {
    display: block;
}
