/* T-World Gamertag MVP Styles */

:root {
    --primary-color: #6c63ff;
    --secondary-color: #2ecc71;
    --danger-color: #e74c3c;
    --warning-color: #f39c12;
    --dark-bg: #1a1a2e;
    --light-bg: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --bronze: #cd7f32;
    --silver: #c0c0c0;
    --gold: #ffd700;
    --platinum: #e5e4e2;
    --diamond: #b9f2ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--light-bg) 100%);
    color: var(--text-primary);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Containers - Add consistent top spacing */
.dashboard-container,
.leaderboard-container,
.subscribe-container,
.admin-dashboard {
    padding-top: 3rem;
}

/* Admin Container - alternative to admin-dashboard */
.admin-container {
    padding-top: 3rem;
}

.admin-container .admin-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Navbar */
.navbar {
    background: rgba(26, 26, 46, 0.95);
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(108, 99, 255, 0.1);
}

.nav-link.admin-link {
    color: var(--warning-color);
}

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(108, 99, 255, 0.1), transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-icon-burst {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(108, 99, 255, 0.5));
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(108, 99, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.hero-stat i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Buttons */
.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #5751db);
    color: white;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5751db, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.5);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #27ae60);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.5);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* Feature Cards */
.features-section {
    padding: 4rem 2rem;
    text-align: center;
}

.features-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(108, 99, 255, 0.3);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    filter: drop-shadow(0 0 10px rgba(108, 99, 255, 0.5));
}

.feature-card h3 {
    margin: 1rem 0;
    font-size: 1.3rem;
}

/* Platforms Section */
.platforms-section {
    padding: 4rem 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.platforms-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.platforms-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.platforms-showcase-4 {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
}

.platform-showcase-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.platform-showcase-card i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.platform-showcase-card.youtube {
    border-color: #ff0000;
}

.platform-showcase-card.youtube:hover {
    background: rgba(255, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.platform-showcase-card.youtube i {
    color: #ff0000;
}

.platform-showcase-card.tiktok {
    border-color: #000000;
}

.platform-showcase-card.tiktok:hover {
    background: rgba(105, 105, 105, 0.1);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.platform-showcase-card.tiktok i {
    color: #ffffff;
}

.platform-showcase-card.twitch {
    border-color: #9146ff;
}

.platform-showcase-card.twitch:hover {
    background: rgba(145, 70, 255, 0.1);
    box-shadow: 0 10px 30px rgba(145, 70, 255, 0.3);
}

.platform-showcase-card.twitch i {
    color: #9146ff;
}

.platform-showcase-card.instagram {
    border-color: #e1306c;
}

.platform-showcase-card.instagram:hover {
    background: rgba(225, 48, 108, 0.1);
    box-shadow: 0 10px 30px rgba(225, 48, 108, 0.3);
}

.platform-showcase-card.instagram i {
    color: #e1306c;
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(46, 204, 113, 0.1));
    margin-top: 4rem;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.cta-button {
    margin-top: 2rem;
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(108, 99, 255, 0.6);
    }
}

/* Login/Register Container */
.login-container,
.register-container {
    max-width: 450px;
    margin: 3rem auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.login-container h1,
.register-container h1 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.login-container > p,
.register-container > p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.login-form,
.register-form {
    margin-top: 2rem;
}

/* Profile Card */
.profile-card {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(46, 204, 113, 0.2));
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.avatar-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin: 0 auto;
}

.tpoints-display {
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
}

.tpoints-label {
    display: block;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.tpoints-value {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.subscription-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    margin-top: 1rem;
}

.subscription-badge.bronze { background: var(--bronze); }
.subscription-badge.silver { background: var(--silver); color: #000; }
.subscription-badge.gold { background: var(--gold); color: #000; }
.subscription-badge.platinum { background: var(--platinum); color: #000; }
.subscription-badge.diamond { background: var(--diamond); color: #000; }

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Leaderboard */
.leaderboard-container {
    padding-top: 3rem;
}

.leaderboard-container h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.leaderboard-container h1 i {
    color: var(--gold);
}

.leaderboard-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
}

.tab-button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.tab-button:hover {
    background: rgba(108, 99, 255, 0.2);
}

.leaderboard-table {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
}

.leaderboard-table table {
    width: 100%;
    border-collapse: collapse;
}

.leaderboard-table th,
.leaderboard-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-table th {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Leaderboard specific styles */
.leaderboard-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 0.75rem;
}

.gamertag-cell {
    display: flex;
    align-items: center;
}

.rank-cell {
    font-size: 1.5rem;
    font-weight: bold;
}

.medal {
    font-size: 2rem;
}

.medal-large {
    font-size: 4rem;
}

.tpoints-cell {
    color: var(--primary-color);
    font-weight: 600;
}

/* Top Performers Grid */
.top-performers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.performer-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s;
}

.performer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
    border-color: var(--primary-color);
}

.performer-rank {
    margin-bottom: 1rem;
}

.rank-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.performer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
    border: 3px solid var(--primary-color);
}

.performer-avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.performer-card h4 {
    margin: 0.5rem 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.performer-points {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 0.5rem 0;
}

.performer-game {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0.5rem 0 1rem;
}

.performer-card .btn {
    width: 100%;
    margin-top: 0.5rem;
}

/* Tier Cards */
.tiers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1200px) {
    .tiers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tiers-grid {
        grid-template-columns: 1fr;
    }
}

.tier-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.tier-card.bronze {
    border-color: var(--bronze);
}

.tier-card.silver {
    border-color: var(--silver);
}

.tier-card.gold {
    border-color: var(--gold);
}

.tier-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(108, 99, 255, 0.3);
}

.tier-card.bronze:hover {
    box-shadow: 0 10px 40px rgba(205, 127, 50, 0.4);
}

.tier-card.silver:hover {
    box-shadow: 0 10px 40px rgba(192, 192, 192, 0.4);
}

.tier-card.gold:hover {
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.4);
}

.tier-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.tier-card.bronze .tier-icon {
    background: linear-gradient(135deg, var(--bronze), #e89b54);
    color: white;
}

.tier-card.silver .tier-icon {
    background: linear-gradient(135deg, var(--silver), #d4d4d4);
    color: #333;
}

.tier-card.gold .tier-icon {
    background: linear-gradient(135deg, var(--gold), #ffed4e);
    color: #333;
}

.tier-card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.tier-card .price {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

.tier-card .price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.tier-card ul {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

.tier-card li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tier-card li:before {
    content: "?";
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.current-subscription {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check-input {
    width: auto;
    cursor: pointer;
}

.form-check-label {
    margin-bottom: 0;
    cursor: pointer;
}

.form-text {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.text-danger {
    color: var(--danger-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.mt-3 {
    margin-top: 1rem;
    text-align: center;
}

.mt-3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.mt-3 a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.post-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-thumbnail {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.post-info {
    padding: 1rem;
}

.platform-badge {
    background: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
}

.post-metrics {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.post-tpoints {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Platform Cards */
.social-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.platform-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

/* Admin Dashboard Styles */
.admin-dashboard {
    padding: 2rem 0;
}

.admin-header {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.admin-header .back-button {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    white-space: nowrap;
    order: 2;
}

.admin-header .back-button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.admin-header-content {
    flex: 1;
    order: 1;
}

.admin-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-nav-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}

@media (max-width: 1024px) {
    .admin-nav-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-nav-cards {
        grid-template-columns: 1fr;
    }
}

.admin-nav-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(108, 99, 255, 0.3);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
    min-height: 80px;
}

.admin-nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transition: transform 0.3s;
}

.admin-nav-card:hover::before {
    transform: scaleY(1);
}

.admin-nav-card:hover {
    transform: translateX(8px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.3);
    background: rgba(108, 99, 255, 0.1);
}

.admin-nav-card i {
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.admin-nav-card:hover i {
    transform: scale(1.1);
}

.admin-nav-card div {
    flex: 1;
}

.admin-nav-card h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.admin-nav-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.85rem;
}

.admin-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.metric-card {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(46, 204, 113, 0.1));
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    overflow: hidden;
}

.metric-card:hover {
    transform: translateY(-5px);
}

.metric-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    opacity: 0.8;
    flex-shrink: 0;
}

.metric-icon i {
    color: var(--secondary-color);
    animation: metricIconPulse 2.5s ease-in-out infinite;
}

@keyframes metricIconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(46, 204, 113, 0.3));
    }
    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 15px rgba(46, 204, 113, 0.6));
    }
}

.metric-content {
    flex: 1;
    min-width: 0;
}

.metric-content h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.metric-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0.5rem 0;
    word-break: break-word;
}

.metric-content small {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .metric-card {
        flex-direction: column;
        text-align: center;
    }
    
    .metric-value {
        font-size: 1.5rem;
    }
    
    .metric-content small {
        justify-content: center;
    }
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--light-bg) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.modal-header i {
    font-size: 2rem;
    color: var(--warning-color);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-body {
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-body p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
}

.modal-body strong {
    color: var(--text-primary);
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.modal-actions button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-btn-cancel {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
}

.modal-btn-confirm {
    background: var(--danger-color);
    color: white;
}

.modal-btn-confirm:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.modal-btn-confirm.primary {
    background: var(--primary-color);
}

.modal-btn-confirm.primary:hover {
    background: #5751db;
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

/* Link Social Page */
.link-social-container {
    padding-top: 3rem;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 2rem;
}

.page-header-content {
    flex: 1;
}

.page-header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.page-header .back-button {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    white-space: nowrap;
}

.page-header .back-button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateX(-5px);
}

.social-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.platform-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(108, 99, 255, 0.3);
}

.platform-card.youtube {
    border-color: rgba(255, 0, 0, 0.3);
}

.platform-card.youtube:hover {
    border-color: #ff0000;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
}

.platform-card.tiktok {
    border-color: rgba(255, 255, 255, 0.3);
}

.platform-card.tiktok:hover {
    border-color: #ffffff;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.platform-card.twitch {
    border-color: rgba(145, 70, 255, 0.3);
}

.platform-card.twitch:hover {
    border-color: #9146ff;
    box-shadow: 0 10px 30px rgba(145, 70, 255, 0.4);
}

.platform-card.instagram {
    border-color: rgba(225, 48, 108, 0.3);
}

.platform-card.instagram:hover {
    border-color: #e1306c;
    box-shadow: 0 10px 30px rgba(225, 48, 108, 0.4);
}

.platform-card .platform-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.platform-card.youtube .platform-icon i {
    color: #ff0000;
}

.platform-card.tiktok .platform-icon i {
    color: #ffffff;
}

.platform-card.twitch .platform-icon i {
    color: #9146ff;
}

.platform-card.instagram .platform-icon i {
    color: #e1306c;
}

.platform-card h3 {
    margin: 1rem 0 0.5rem 0;
    font-size: 1.5rem;
}

.platform-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.linked-accounts-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
}

.linked-accounts-section h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.linked-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.linked-account-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.linked-account-item:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.account-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.account-info i {
    font-size: 2rem;
}

.account-info div {
    display: flex;
    flex-direction: column;
}

.account-info strong {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.account-info span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-badge.active {
    background: var(--secondary-color);
    color: white;
}

.status-badge.inactive {
    background: var(--text-secondary);
    color: white;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-left: 4px solid;
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    border-color: var(--danger-color);
    color: var(--danger-color);
}

.alert-success {
    background: rgba(46, 204, 113, 0.1);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.alert-warning {
    background: rgba(243, 156, 18, 0.1);
    border-color: var(--warning-color);
    color: var(--warning-color);
}

.alert i {
    font-size: 1.5rem;
}

.alert span {
    flex: 1;
}

/* ConfigHealth Page Styles */
.health-grid-small {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.health-grid-platforms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

@media (max-width: 1024px) {
    .health-grid-platforms {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .health-grid-platforms {
        grid-template-columns: 1fr;
    }
}

.health-card-modern {
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.health-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.health-card-modern.healthy {
    border-color: rgba(46, 204, 113, 0.5);
    animation: healthCardPulse 3s ease-in-out infinite;
}

.health-card-modern.warning {
    border-color: rgba(243, 156, 18, 0.5);
    background: rgba(243, 156, 18, 0.05);
}

.health-card-modern.unhealthy {
    border-color: rgba(231, 76, 60, 0.5);
    background: rgba(231, 76, 60, 0.05);
}

@keyframes healthCardPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(46, 204, 113, 0.2);
    }
    50% {
        box-shadow: 0 0 25px rgba(46, 204, 113, 0.5);
    }
}

.health-card-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.health-card-modern.healthy .health-card-icon {
    color: var(--secondary-color);
    animation: iconPulse 2s ease-in-out infinite;
}

.health-card-modern.warning .health-card-icon {
    color: var(--warning-color);
}

.health-card-modern.unhealthy .health-card-icon {
    color: var(--danger-color);
}

.health-card-content {
    text-align: left;
    flex: 1;
}

.health-card-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.health-card-content p {
    margin: 0.25rem 0;
    font-weight: 600;
    font-size: 1.1rem;
}

.health-card-content small {
    display: block;
    margin-top: 0.5rem;
    opacity: 0.7;
    font-size: 0.9rem;
}

.health-card-modern.platform-card {
    flex-direction: column;
    text-align: center;
}

.health-card-modern.platform-card .health-card-icon {
    font-size: 4rem;
}

.health-card-modern.platform-card .health-card-content {
    text-align: center;
}

/* Fix Action Buttons in Admin/Users */
.action-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn-icon {
    background: rgba(108, 99, 255, 0.15);
    border: 1px solid rgba(108, 99, 255, 0.4);
    color: var(--primary-color);
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
}

.btn-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.btn-icon i {
    margin: 0;
}

/* Fix Subscription Metrics Overflow */
.admin-metrics .metric-card {
    overflow: hidden;
}

.admin-metrics .metric-card h3 {
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-metrics .metric-value {
    font-size: 2rem;
    word-break: break-all;
}

@media (max-width: 768px) {
    .admin-metrics .metric-value {
        font-size: 1.5rem;
    }
}

/* Green Pulsating Icons in Dashboard Stats */
.metric-icon i {
    color: var(--secondary-color);
    animation: metricIconPulse 2.5s ease-in-out infinite;
}

@keyframes metricIconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(46, 204, 113, 0.3));
    }
    50% {
        transform: scale(1.15);
        filter: drop-shadow(0 0 15px rgba(46, 204, 113, 0.6));
    }
}

/* Admin Tables */
.admin-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.admin-table thead {
    background: rgba(108, 99, 255, 0.1);
}

.admin-table th {
    padding: 1rem;
    text-align: left;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-bottom: 2px solid rgba(108, 99, 255, 0.3);
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table tbody tr {
    transition: all 0.2s;
}

.admin-table tbody tr:hover {
    background: rgba(108, 99, 255, 0.1);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.table-responsive {
    overflow-x: auto;
    border-radius: 12px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-success {
    background: var(--secondary-color);
    color: white;
}

.badge-danger {
    background: var(--danger-color);
    color: white;
}

.badge-warning {
    background: var(--warning-color);
    color: white;
}

.badge-secondary {
    background: var(--text-secondary);
    color: white;
}

.tpoints-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-secondary);
}

.empty-state i {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state p {
    font-size: 1.2rem;
}

/* Admin Controls */
.admin-controls {
    margin: 2rem 0;
}

.search-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-form .form-group {
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.search-form .btn {
    white-space: nowrap;
}

/* Health Indicators */
.health-indicators {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 1.5rem 0;
}

@media (max-width: 768px) {
    .health-indicators {
        grid-template-columns: 1fr;
    }
}

.health-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid rgba(46, 204, 113, 0.3);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.health-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(46, 204, 113, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    animation: healthPulse 3s ease-in-out infinite;
}

@keyframes healthPulse {
    0%, 100% {
        opacity: 0;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.health-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.3);
}

.health-item:hover::before {
    opacity: 1;
}

.health-item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.health-item-header > i {
    font-size: 2rem;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(46, 204, 113, 0.5));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px rgba(46, 204, 113, 0.8));
    }
}

.health-item-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.health-label {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.health-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    animation: statusPulse 2.5s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.status-healthy {
    color: var(--secondary-color);
}

.status-healthy i {
    animation: checkPulse 1.5s ease-in-out infinite;
}

@keyframes checkPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.text-success {
    color: var(--secondary-color);
}

.text-warning {
    color: var(--warning-color);
}

.text-muted {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Platform Stats */
.platform-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.platform-stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.platform-stat-card:hover {
    transform: translateY(-5px);
}

.platform-stat-card.youtube {
    border-color: rgba(255, 0, 0, 0.3);
}

.platform-stat-card.youtube:hover {
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
}

.platform-stat-card.tiktok {
    border-color: rgba(255, 255, 255, 0.3);
}

.platform-stat-card.tiktok:hover {
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.platform-stat-card.twitch {
    border-color: rgba(145, 70, 255, 0.3);
}

.platform-stat-card.twitch:hover {
    box-shadow: 0 10px 30px rgba(145, 70, 255, 0.3);
}

.platform-stat-card.instagram {
    border-color: rgba(225, 48, 108, 0.3);
}

.platform-stat-card.instagram:hover {
    box-shadow: 0 10px 30px rgba(225, 48, 108, 0.3);
}

.platform-stat-card .platform-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.platform-stat-card.youtube .platform-icon i {
    color: #ff0000;
}

.platform-stat-card.tiktok .platform-icon i {
    color: #ffffff;
}

.platform-stat-card.twitch .platform-icon i {
    color: #9146ff;
}

.platform-stat-card.instagram .platform-icon i {
    color: #e1306c;
}

.platform-stat-card h4 {
    text-align: center;
    margin: 1rem 0;
}

.platform-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.platform-metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.platform-metric i {
    color: var(--primary-color);
}

/* Progress Bars */
.progress-bar-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    height: 30px;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    transition: width 0.6s ease;
}

.progress-bar-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
}

/* Linked Posts Section (Dashboard) */
.linked-posts-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.linked-posts-section h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* Tier Breakdown */
.tier-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.tier-breakdown-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-breakdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.tier-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.tier-breakdown-bar {
    background: rgba(0, 0, 0, 0.3);
    height: 10px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.tier-breakdown-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.6s ease;
}

.tier-breakdown-fill.bronze {
    background: var(--bronze);
}

.tier-breakdown-fill.silver {
    background: var(--silver);
}

.tier-breakdown-fill.gold {
    background: var(--gold);
}

.tier-breakdown-stats {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Toggle Switch Styles */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
    border-radius: 30px;
}

.toggle-slider:before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 2px;
    bottom: 2px;
    background: var(--text-secondary);
    transition: all 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(108, 99, 255, 0.5);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(30px);
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.toggle-switch:hover .toggle-slider {
    border-color: var(--primary-color);
}

/* Settings Form Styles */
.settings-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.setting-form {
    width: 100%;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.setting-item:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(108, 99, 255, 0.3);
}

.setting-info {
    flex: 1;
}

.setting-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.setting-info p {
    margin: 0 0 0.75rem 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.setting-warning {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(243, 156, 18, 0.1);
    border-left: 3px solid var(--warning-color);
    border-radius: 6px;
    margin-top: 0.75rem;
    color: var(--warning-color);
    font-size: 0.9rem;
}

.setting-info-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(108, 99, 255, 0.1);
    border-left: 3px solid var(--primary-color);
    border-radius: 6px;
    margin-top: 0.75rem;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.setting-control {
    flex-shrink: 0;
}

.info-box {
    background: rgba(108, 99, 255, 0.05);
    border: 1px solid rgba(108, 99, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
}

.info-box h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem 0;
    color: var(--primary-color);
}

.info-box ul {
    margin: 0;
    padding-left: 1.5rem;
}

.info-box li {
    margin: 0.5rem 0;
    line-height: 1.6;
    color: var(--text-secondary);
}

.info-box li strong {
    color: var(--text-primary);
}

/* Stripe ID Display */
.stripe-id {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    color: var(--primary-color);
    border: 1px solid rgba(108, 99, 255, 0.3);
}

@media (max-width: 768px) {
    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .setting-control {
        align-self: flex-end;
    }
}
