:root {
    --primary-color: #e63946;
    --secondary-color: #ffffff;
    --accent-color: #ffffff;
    --dark-color: #2a2035; /* Slightly lighter dark purple background */
    --text-color: #f8f9fa;
    --border-radius: 4px;
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
}

body {
    font-family: var(--font-primary);
    background-color: var(--dark-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Base navbar styling with white background */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(255, 255, 255, 0.95); /* White background */
    border-bottom: 1px solid rgba(230, 57, 70, 0.1); /* Light red border */
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.logo-image {
    height: 85px;
    margin-right: 1rem;
    object-fit: contain;
    filter: none; /* Show original colors as in scrolled state */
    transition: filter 0.3s ease;
}

.logo-text {
    color: var(--primary-color); /* Red color from scrolled state */
    transition: color 0.3s ease;
    font-size: 2.2rem;
}

/* Update nav links to have dark color on white background */
.nav-links a {
    color: var(--dark-color); /* Dark color for better contrast on white */
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    white-space: nowrap;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.home-nav-links {
    display: flex;
    align-items: center;
    gap: 4rem; /* Increased spacing between links */
    flex-direction: row;
    flex-wrap: nowrap;
    margin-right: 2rem; /* Add some space before the login button */
}

.navbar-login-link {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    min-width: 80px;
    text-align: center;
}

.navbar-login-link:hover {
    background-color: transparent;
    color: var(--primary-color) !important;
    box-shadow: 0 0 0 1px var(--primary-color);
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    background-color: var(--dark-color);
    overflow: hidden;
}

/* Replace glitch with clean heading */
.hero-title {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: none; /* Remove shadow on light background */
}

.punk-text {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: rgba(255, 255, 255, 0.9); /* Much lighter text for better visibility */
    line-height: 1.6;
}

.button-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-button, .pricing-button {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover, .pricing-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
    transform: translateY(-2px);
}

.home-section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
}

.features {
    padding: 5rem 2rem;
    text-align: center;
    background-color: var(--dark-color);
    position: relative;
    /*margin-bottom: 50vh; /* Full viewport height spacing between sections */
}

.features-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
    opacity: 0.9;
}

.social-icon:hover {
    transform: translateY(-5px);
    opacity: 1;
}

.connector {
    font-size: 1.5rem;
    color: var(--primary-color);
    opacity: 0.7;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(58, 134, 255, 0.2);
}

.feature-card h3 {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.pricing {
    padding: 5rem 2rem;
    text-align: center;
    background-color: var(--dark-color);
    position: relative;
    margin-top: 50vh; /* Additional spacing from top */
}

.pricing-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    flex: 1;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(58, 134, 255, 0.2);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(58, 134, 255, 0.15);
}

.pricing-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 20px;
}

.pricing-header h3 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.price span {
    font-size: 1rem;
    font-weight: normal;
    opacity: 0.7;
}

.pricing-features {
    margin: 2rem 0;
    flex-grow: 1;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.pricing-features li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

footer {
    padding: 3rem 2rem;
    text-align: center;
    background-color: rgba(20, 15, 30, 0.9); /* Slightly darker than the main background */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Sleek page transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.page-transition.active {
    opacity: 1;
}

/* Clean scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

/* Update scrollbar for light theme */
::-webkit-scrollbar-track {
    background: var(--dark-color);
}

::-webkit-scrollbar-thumb {
    background: rgba(75, 63, 114, 0.3); /* Light purple scrollbar */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color); /* Darker purple on hover */
}

/* Navbar scrolled state - removing different styling for scrolled state */
/* Base navbar styling with white background - reduced initial size */
/* Keep navbar size consistent - remove height transitions */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(230, 57, 70, 0.1);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Only transition these properties */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 70px; /* Fixed height */
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    /* Remove height change */
}

.logo-image {
    height: 70px;
    margin-right: 1rem;
    object-fit: contain;
    filter: none;
    /* Remove transition for height */
}

/* ===== ANIMATIONS ===== */
/* Base animation styles */
[data-animation] {
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

[data-animation].animated {
    opacity: 1;
}

/* Fade in animation */
[data-animation="fade-in"] {
    opacity: 0;
}

[data-animation="fade-in"].animated {
    opacity: 1;
}

/* Slide up animation */
[data-animation="slide-up"] {
    transform: translateY(30px);
}

[data-animation="slide-up"].animated {
    transform: translateY(0);
}

/* Hover effects for buttons */
.hover-effect {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Pulse effect for social icons */
.pulse-effect {
    transition: transform 0.3s ease;
}

.pulse-effect:hover {
    transform: scale(1.1);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Navbar animation */
.navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Logo hover effect */
.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Nav links hover effect */
.nav-links a {
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color, #ff7763);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Page transition effect */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.page-transition.active {
    opacity: 1;
}

/* ===== SIGN-UP PAGE STYLES ===== */
.signup-container {
    max-width: 450px;
    margin: 80px auto;
    padding: 40px;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* You might also want to center the form elements if the container is wider */
.signup-container form {
    max-width: 400px; /* Match the max-width of the inputs or adjust as needed */
    margin-left: auto;
    margin-right: auto;
  }

.logo-container {
    text-align: center;
    margin-bottom: 0px;
}

.logo-container img {
    height: 135px;
}

.signup-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-top: 0px;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input {
    width: calc(100% - 30px);
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: #4a6cf7;
    outline: none;
}

.btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #4a6cf7;
    color: white;
}

.btn-primary:hover {
    background-color: #3a5ce5;
}

.social-login {
    margin: 25px 0;
    position: relative;
    text-align: center;
}

.social-login::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
    z-index: 1;
}

.social-login span {
    display: inline-block;
    padding: 0 15px;
    background-color: #fff;
    position: relative;
    z-index: 2;
    color: #777;
    font-size: 14px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #333;
}

.social-btn:hover {
    background-color: #f8f8f8;
}

.social-btn img {
    height: 24px;
    margin-right: 10px;
}

.login-link {
    text-align: center !important;
    margin-top: 25px;
    font-size: 15px;
    color: #2a2035 !important;
    background: none !important;
    width: 100%;
    display: block;
}

.login-link a {
    color: #4a6cf7 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.login-link a:hover {
    text-decoration: none !important;
}

/* Add any other styles from your HTML pages here */

/* Control panel specific styles */
        .container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 1rem;
            color: var(--text-color);
        }
        
        .card {
            background-color: rgba(255, 255, 255, 0.03);
            border-radius: var(--border-radius);
            border: 1px solid rgba(255, 255, 255, 0.05);
            margin-bottom: 2rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            border-color: rgba(58, 134, 255, 0.2);
        }
        
        .card-header {
            padding: 1.25rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            font-family: var(--font-secondary);
            font-weight: 600;
            font-size: 1.2rem;
        }
        
        .card-body {
            padding: 1.5rem;
        }
        
        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }
        
        .form-control, .form-select {
            width: 100%;
            padding: 0.75rem;
            background-color: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--border-radius);
            color: var(--text-color);
            margin-bottom: 1rem;
            font-family: var(--font-primary);
        }
        
        .form-control:focus, .form-select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.2);
        }
        
        .form-select {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23e63946' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            background-size: 16px 12px;
        }
        
        .btn {
            padding: 0.75rem 1.5rem;
            border-radius: var(--border-radius);
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            font-family: var(--font-primary);
        }
        
        .btn-primary {
            background-color: var(--primary-color);
            color: white;
        }
        
        .btn-primary:hover {
            background-color: transparent;
            color: var(--primary-color);
            box-shadow: 0 0 0 1px var(--primary-color);
        }
        
        .btn-danger {
            background-color: #dc3545;
            color: white;
        }
        
        .btn-danger:hover {
            background-color: transparent;
            color: #dc3545;
            box-shadow: 0 0 0 1px #dc3545;
        }
        
        .btn-sm {
            padding: 0.4rem 0.75rem;
            font-size: 0.875rem;
        }
        
        .table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .table th, .table td {
            padding: 1rem;
            text-align: left;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }
        
        .table th {
            font-weight: 600;
        }
        
        .source-badge {
            padding: 0.35rem 0.65rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            text-transform: uppercase;
        }
        
        .source-badge.youtube {
            background-color: #FF0000;
            color: white;
        }
        
        .source-badge.tiktok {
            background-color: #000000;
            color: white;
        }
        
        .source-badge.instagram {
            background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
            color: white;
        }
        
        .d-flex {
            display: flex;
        }
        
        .align-items-center {
            align-items: center;
        }
        
        .justify-content-between {
            justify-content: space-between;
        }
        
        .mb-3 {
            margin-bottom: 1rem;
        }
        
        .mb-4 {
            margin-bottom: 1.5rem;
        }
        
        .me-1 {
            margin-right: 0.25rem;
        }
        
        .me-3 {
            margin-right: 1rem;
        }
        
        .row {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -0.5rem;
        }
        
        .col-md-6 {
            flex: 0 0 50%;
            padding: 0 0.5rem;
        }
        
        @media (max-width: 768px) {
            .col-md-6 {
                flex: 0 0 100%;
            }
            
            .row {
                flex-direction: column;
            }
        }
        
        /* Animation for loaded content */
        [data-animation] {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }
        
        [data-animation].animated {
            opacity: 1;
            transform: translateY(0);
        }
        
        #noConfigs {
            padding: 2rem;
            color: rgba(255, 255, 255, 0.6);
            font-style: italic;
        }
        
        /* Updated styles for better readability */
        .nav-links span {
            color: var(--primary-color);
            font-weight: 500;
        }
        
        /* Override the login-link styles for the logout button */
        .nav-links .login-link {
            padding: 0.8rem 2rem; /* Increased horizontal padding */
            margin-left: 0.5rem;
            background-color: #dc3545; /* Danger red for logout */
        }
        
        .nav-links .login-link:hover {
            background-color: transparent;
            color: #dc3545 !important;
            box-shadow: 0 0 0 1px #dc3545;
        }
        
        /* Fix for select dropdown text color */
        .form-select {
            color: rgba(255, 255, 255, 0.8);
        }
        
        .form-select option {
            background-color: white;
            color: var(--dark-color);
        }
        
        ::placeholder {
            color: rgba(255, 255, 255, 0.6);
            opacity: 1;
        }
        
        /* Replace movement animation with subtle glow */
        .card {
            transition: box-shadow 0.3s ease, border-color 0.3s ease;
        }
        
        .card:hover {
            transform: none;
            box-shadow: 0 0 20px rgba(230, 57, 70, 0.15);
            border-color: rgba(230, 57, 70, 0.3);
        }
        
        /* Make all inputs in the configuration card the same length */
        #configForm .form-control, 
        #configForm .form-select {
            width: 100%;
            box-sizing: border-box;
        }
        
        /* Ensure the Discord Channel ID input takes full width */
        #configForm .mb-3 {
            max-width: 100%;
        }
        
        /* Updated logo size */
        .logo-image {
            height: 100px !important; /* Override the default height */
            object-fit: contain;
        }
        
        /* Hide logo text */
        .logo-text {
            display: none;
        }
		
		/* Source type buttons styling */
    .source-type-buttons {
        display: flex;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .source-type-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.75rem 1rem;
        border-radius: var(--border-radius);
        border: 1px solid rgba(255, 255, 255, 0.1);
        background-color: rgba(255, 255, 255, 0.05);
        color: white;
        cursor: pointer;
        transition: all 0.3s ease;
        flex: 1;
    }
    
    .source-icon {
        height: 24px;
        width: auto;
        margin-right: 0.5rem;
    }
    
    .source-type-btn i {
        font-size: 1.5rem;
        margin-right: 0.5rem;
    }
    
    .source-type-btn:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: translateY(-2px);
    }
    
    .source-type-btn.active {
        border-color: var(--primary-color);
        background-color: rgba(230, 57, 70, 0.1);
    }
    
    .source-type-btn.youtube {
        border-color: rgba(255, 0, 0, 0.3);
    }
    
    .source-type-btn.youtube:hover, .source-type-btn.youtube.active {
        background-color: rgba(255, 0, 0, 0.1);
        border-color: rgba(255, 0, 0, 0.5);
    }
    
    .source-type-btn.tiktok {
        border-color: rgba(0, 0, 0, 0.3);
    }
    
    .source-type-btn.tiktok:hover, .source-type-btn.tiktok.active {
        background-color: rgba(0, 0, 0, 0.1);
        border-color: rgba(0, 0, 0, 0.5);
    }
    
    .source-type-btn.instagram {
        border-color: rgba(225, 48, 108, 0.3);
    }
    
    .source-type-btn.instagram:hover, .source-type-btn.instagram.active {
        background-color: rgba(225, 48, 108, 0.1);
        border-color: rgba(225, 48, 108, 0.5);
    }
/* Settings dropdown styles */
.settings-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 1rem;
}

.settings-btn {
    background: none;
    border: none;
    color: var(--primary-color); /* Changed to primary color (pink) */
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-right: 0.5rem; /* Added spacing between gear and logout button */
}

.settings-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
}

.settings-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    background-color: var(--dark-color);
    min-width: 180px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-10px);}
    to {opacity: 1; transform: translateY(0);}
}

.settings-menu a {
    color: var(--text-color);
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
}

.settings-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
}

.settings-menu a i {
    color: var(--primary-color);
    margin-right: 0.75rem; /* Increased spacing between icon and text */
}

.settings-menu.show {
    display: block;
}
/* Fix navbar spacing */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0; /* Remove any gap between flex items */
}

.nav-links span {
    color: var(--primary-color);
    font-weight: 500;
    margin-right: 5px; /* Remove margin between username and gear icon */
}

.settings-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 0; /* Ensure no left margin */
    margin-right: 0; /* Ensure no right margin */
}

.settings-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    padding-left: 0; /* Remove left padding to bring icon closer to username */
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-right: 0; /* Remove margin for the settings button */
}

.settings-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
}

.settings-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    background-color: var(--dark-color);
    min-width: 180px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-10px);}
    to {opacity: 1; transform: translateY(0);}
}

.settings-menu a {
    color: var(--text-color);
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
}

.settings-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
}

.settings-menu a i {
    color: var(--primary-color);
    margin-right: 0.75rem; /* Increased spacing between icon and text */
}

.settings-menu.show {
    display: block;
}

.settings-menu a.logout-link {
    color: #dc3545;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}

.settings-menu a.logout-link:hover {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.settings-menu a.logout-link i {
    color: #dc3545;
}

/* Modal styles */
    .modal {
        display: none;
        position: fixed;
        z-index: 1050;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
    }
    
    .modal-content {
        background-color: var(--dark-color);
        margin: 10% auto;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: var(--border-radius);
        width: 90%;
        max-width: 500px;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
        animation: modalFadeIn 0.3s;
    }
    
    @keyframes modalFadeIn {
        from {opacity: 0; transform: translateY(-20px);}
        to {opacity: 1; transform: translateY(0);}
    }
    
    .modal-header {
        padding: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .modal-header h3 {
        margin: 0;
        color: var(--text-color);
    }
    
    .close-btn {
        color: rgba(255, 255, 255, 0.5);
        font-size: 1.5rem;
        font-weight: bold;
        cursor: pointer;
    }
    
    .close-btn:hover {
        color: var(--text-color);
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding-top: 1rem;
        display: flex;
        justify-content: flex-end;
        gap: 1rem;
    }
    
    .btn-secondary {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--text-color);
    }
    
    .btn-secondary:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }
	
	
	/* Profile page specific styles */
        .container {
            max-width: 1200px;
            margin: 2rem auto;
            padding: 0 1rem;
            color: var(--text-color);
        }
        
        .card {
            background-color: rgba(255, 255, 255, 0.03);
            border-radius: var(--border-radius);
            border: 1px solid rgba(255, 255, 255, 0.05);
            margin-bottom: 2rem;
            transition: box-shadow 0.3s ease, border-color 0.3s ease;
        }
        
        .card:hover {
            box-shadow: 0 0 20px rgba(230, 57, 70, 0.15);
            border-color: rgba(230, 57, 70, 0.3);
        }
        
        .card-header {
            padding: 1.25rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            font-family: var(--font-secondary);
            font-weight: 600;
            font-size: 1.2rem;
        }
        
        .card-body {
            padding: 1.5rem;
        }
        
        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
        }
        
        .form-control {
            width: 100%;
            padding: 0.75rem;
            background-color: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--border-radius);
            color: var(--text-color);
            margin-bottom: 1rem;
            font-family: var(--font-primary);
        }
        
        .form-control:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.2);
        }
        
        .btn {
            padding: 0.75rem 1.5rem;
            border-radius: var(--border-radius);
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            font-family: var(--font-primary);
        }
        
        .btn-primary {
            background-color: var(--primary-color);
            color: white;
        }
        
        .btn-primary:hover {
            background-color: transparent;
            color: var(--primary-color);
            box-shadow: 0 0 0 1px var(--primary-color);
        }
        
        .btn-danger {
            background-color: #dc3545;
            color: white;
        }
        
        .btn-danger:hover {
            background-color: transparent;
            color: #dc3545;
            box-shadow: 0 0 0 1px #dc3545;
        }
        
        .mb-3 {
            margin-bottom: 1rem;
        }
        
        .mb-4 {
            margin-bottom: 1.5rem;
        }
        
        .me-1 {
            margin-right: 0.25rem;
        }
        
        .me-3 {
            margin-right: 1rem;
        }
        
        .row {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -0.5rem;
        }
        
        .col-md-6 {
            flex: 0 0 50%;
            padding: 0 0.5rem;
        }
        
        @media (max-width: 768px) {
            .col-md-6 {
                flex: 0 0 100%;
            }
            
            .row {
                flex-direction: column;
            }
        }
        
        /* Animation for loaded content */
        [data-animation] {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s ease, transform 0.5s ease;
        }
        
        [data-animation].animated {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Profile specific styles */
        .profile-header {
            display: flex;
            align-items: center;
            margin-bottom: 2rem;
        }
        
        .profile-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background-color: var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            color: white;
            margin-right: 1.5rem;
        }
        
        .profile-info h1 {
            margin: 0;
            font-size: 1.8rem;
            margin-bottom: 0.5rem;
        }
        
        .profile-info p {
            margin: 0;
            color: rgba(255, 255, 255, 0.7);
        }
        
        .section-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--primary-color);
        }
        
        .form-hint {
            font-size: 0.85rem;
            color: rgba(255, 255, 255, 0.6);
            margin-top: -0.5rem;
            margin-bottom: 1rem;
        }
        
        .success-message {
            display: none;
            background-color: rgba(40, 167, 69, 0.1);
            border: 1px solid rgba(40, 167, 69, 0.2);
            color: #28a745;
            padding: 0.75rem;
            border-radius: var(--border-radius);
            margin-bottom: 1rem;
        }
        
        /* Settings dropdown styles */
        .settings-dropdown {
            position: relative;
            display: inline-block;
            margin-left: 0;
            margin-right: 0;
        }

        .settings-btn {
            background: none;
            border: none;
            color: var(--primary-color);
            font-size: 1.2rem;
            cursor: pointer;
            padding: 0.5rem;
            padding-left: 0;
            border-radius: 50%;
            transition: all 0.3s ease;
            margin-right: 0;
        }

        .settings-btn:hover {
            background-color: rgba(255, 255, 255, 0.1);
            transform: rotate(30deg);
        }

        .settings-menu {
            display: none;
            position: absolute;
            right: 0;
            top: 100%;
            margin-top: 0.5rem;
            background-color: var(--dark-color);
            min-width: 180px;
            border-radius: var(--border-radius);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            z-index: 1000;
            border: 1px solid rgba(255, 255, 255, 0.1);
            overflow: hidden;
            animation: fadeIn 0.2s ease;
        }

        @keyframes fadeIn {
            from {opacity: 0; transform: translateY(-10px);}
            to {opacity: 1; transform: translateY(0);}
        }

        .settings-menu a {
            color: var(--text-color);
            padding: 0.75rem 1rem;
            text-decoration: none;
            display: block;
            transition: background-color 0.2s ease;
            font-size: 0.9rem;
        }

        .settings-menu a:hover {
            background-color: rgba(255, 255, 255, 0.05);
            color: var(--primary-color);
        }

        .settings-menu a i {
            color: var(--primary-color);
            margin-right: 0.75rem;
        }

        .settings-menu.show {
            display: block;
        }

        /* Fix navbar spacing */
        .nav-links {
            display: flex;
            align-items: center;
            gap: 0;
        }

        .nav-links span {
            color: var(--primary-color);
            font-weight: 500;
            margin-right: 5px;
        }

        .settings-menu a.logout-link {
            color: #dc3545;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            margin-top: 0.5rem;
            padding-top: 0.75rem;
        }

        .settings-menu a.logout-link:hover {
            background-color: rgba(220, 53, 69, 0.1);
            color: #dc3545;
        }

        .settings-menu a.logout-link i {
            color: #dc3545;
        }

        /* Modal styles */
        .modal {
            display: none;
            position: fixed;
            z-index: 1050;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            background-color: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(5px);
        }
        
        .modal-content {
            background-color: var(--dark-color);
            margin: 10% auto;
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: var(--border-radius);
            width: 90%;
            max-width: 500px;
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
            animation: modalFadeIn 0.3s;
        }
        
        @keyframes modalFadeIn {
            from {opacity: 0; transform: translateY(-20px);}
            to {opacity: 1; transform: translateY(0);}
        }
        
        .modal-header {
            padding: 1.5rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .modal-header h3 {
            margin: 0;
            color: var(--text-color);
        }
        
        .close-btn {
            color: rgba(255, 255, 255, 0.5);
            font-size: 1.5rem;
            font-weight: bold;
            cursor: pointer;
        }
        
        .close-btn:hover {
            color: var(--text-color);
        }
        
        .modal-body {
            padding: 1.5rem;
        }
        
        .modal-footer {
            padding-top: 1rem;
            display: flex;
            justify-content: flex-end;
            gap: 1rem;
        }
		
		
		
		/* sign-up page */
		.signup-container {
            max-width: 450px;
            margin: 80px auto;
            padding: 40px;
            border-radius: 12px;
            background-color: #ffffff;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }
        
        .logo-container {
            text-align: center;
            margin-bottom: 0px;
        }
        
        .logo-container img {
            height: 135px; /* Increased logo size from 60px to 90px */
        }
        
        .signup-title {
            font-size: 24px;
            font-weight: 700;
            text-align: center;
            margin-top: 0px;
            margin-bottom: 30px;
            color: #333;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #555;
        }
        
        .form-group input {
            width: calc(100% - 30px); /* Adjusted width to match button width */
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 16px;
            transition: border-color 0.3s;
        }
        
        .form-group input:focus {
            border-color: #4a6cf7;
            outline: none;
        }

        /* Add this rule to limit the width of email and password inputs */
        .form-group input[type="email"],
        .form-group input[type="password"] {
            width: 100%; /* Ensure it still tries to fill the container */
            max-width: 400px; /* Adjust this value as needed */
            box-sizing: border-box; /* Include padding and border in the element's total width and height */
        }
        
        .remember-me {
            display: flex;
            align-items: center;
            label {
                margin-bottom: 0px;
            }
        }
        
        .remember-me input[type="checkbox"] {
            margin-right: 8px;
            width: auto;
        }
        
        .remember-forgot {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .btn {
            display: block;
            width: 100%;
            padding: 14px;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .btn-primary {
            background-color: #4a6cf7;
            color: white;
        }
        
        .btn-primary:hover {
            background-color: #3a5ce5;
        }
        
        .social-login {
            margin: 25px 0;
            position: relative;
            text-align: center;
        }
        
        .social-login::before {
            content: "";
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background-color: #e0e0e0;
            z-index: 1;
        }
        
        .social-login span {
            display: inline-block;
            padding: 0 15px;
            background-color: #fff;
            position: relative;
            z-index: 2;
            color: #777;
            font-size: 14px;
        }
        
        .social-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 12px;
            background-color: #fff;
            border: 1px solid #ddd;
            color: #333;
        }
        
        .social-btn:hover {
            background-color: #f8f8f8;
        }
        
        .social-btn img {
            height: 24px;
            margin-right: 10px;
        }
        
        .login-link {
            text-align: center;
            margin-top: 25px;
            font-size: 15px;
            color: #2a2035 !important; /* Darker text color for better contrast on white */
            background: none;
            width: 100%; /* Ensure full width for proper centering */
            display: block; /* Make sure it's a block element */
        }
        
        .login-link a {
            color: #4a6cf7;
            text-decoration: none;
            font-weight: 500;
        }
        
        /* Removing the hover animation */
        .login-link a:hover {
            text-decoration: none !important; /* Removed underline on hover */
        }
        
        /* Error message styling */
        .error-message {
            background-color: #ffebee;
            color: #d32f2f;
            border: 1px solid #ef9a9a;
            border-radius: 4px;
            padding: 12px 16px;
            margin-bottom: 20px;
            font-size: 14px;
            font-weight: 500;
            display: flex;
            align-items: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .error-message::before {
            content: "⚠️";
            margin-right: 10px;
            font-size: 16px;
        }