* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #8B0000 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Dashboard body override */
body.dashboard-body {
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 0, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Login Container */
.login-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.login-box {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: slideUp 0.5s ease-out;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.logo svg {
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.5));
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.8));
    }
}

.logo h1 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    margin-top: 15px;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    letter-spacing: 1px;
}

/* Alert Messages */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.alert-error {
    background: rgba(139, 0, 0, 0.2);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

.alert-success {
    background: rgba(0, 100, 0, 0.2);
    color: #4cff4c;
    border: 1px solid rgba(76, 255, 76, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
}

/* Form Styles */
.login-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.form-group label svg {
    stroke-width: 2.5;
    color: #ff0000;
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.5));
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: rgba(26, 26, 26, 0.8);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.form-group input:focus {
    outline: none;
    border-color: #ff0000;
    background: rgba(30, 30, 30, 0.9);
    box-shadow: 
        0 0 0 3px rgba(255, 0, 0, 0.2),
        0 0 20px rgba(255, 0, 0, 0.3);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:hover {
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

/* Button */
.btn-login {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 50%, #8B0000 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        0 4px 15px rgba(255, 0, 0, 0.4),
        0 0 0 1px rgba(255, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-login:hover::before {
    left: 100%;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(255, 0, 0, 0.6),
        0 0 30px rgba(255, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #ff1a1a 0%, #ff0000 50%, #cc0000 100%);
}

.btn-login:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 10px rgba(255, 0, 0, 0.4),
        inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.btn-login svg {
    stroke-width: 3;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

/* Login Footer */
.login-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 0, 0, 0.2);
}

.login-footer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* Dashboard Styles */
.dashboard-container {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #8B0000 100%);
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

.dashboard-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 0, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.dashboard-header {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 0, 0, 0.15);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-channel-form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px 0;
    border-top: 1px solid rgba(255, 0, 0, 0.1);
}

.channel-form-header {
    display: flex;
    gap: 12px;
    align-items: center;
}

.channel-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    background: rgba(13, 13, 13, 0.6);
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.channel-input-wrapper:focus-within {
    border-color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    background: rgba(13, 13, 13, 0.8);
}

.header-channel-input {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 14px;
    outline: none;
}

.header-channel-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-header-add {
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.btn-header-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 0, 0, 0.6);
    background: linear-gradient(135deg, #ff1a1a, #e60000);
}

.btn-header-add:active {
    transform: translateY(0);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo-small {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-small svg {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.4));
}

.logo-small h2 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
    letter-spacing: 0.5px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 10px;
}

.username {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 500;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.2);
}

.user-role {
    color: #ff0000;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 4px;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.15);
}

.btn-admin {
    padding: 8px 14px;
    background: rgba(255, 0, 0, 0.1);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-admin svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.9;
}

.btn-admin:hover {
    background: rgba(255, 0, 0, 0.2);
    color: #ffffff;
    border-color: rgba(255, 0, 0, 0.4);
    transform: translateY(-1px);
}

.btn-admin:hover svg {
    opacity: 1;
}

.btn-logout {
    padding: 8px 14px;
    background: linear-gradient(135deg, #8B0000 0%, #cc0000 50%, #ff0000 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: 
        0 2px 8px rgba(255, 0, 0, 0.3),
        0 0 0 1px rgba(255, 0, 0, 0.15);
    border: 1px solid rgba(255, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-logout:hover {
    background: linear-gradient(135deg, #cc0000 0%, #ff0000 50%, #ff1a1a 100%);
    transform: translateY(-1px);
    box-shadow: 
        0 4px 15px rgba(255, 0, 0, 0.5),
        0 0 20px rgba(255, 0, 0, 0.3);
}

.btn-packages {
    padding: 8px 14px;
    background: linear-gradient(135deg, #ffd700, #ffed4e, #ffd700);
    border: 1px solid rgba(255, 215, 0, 0.6);
    border-radius: 6px;
    color: #000000;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4), 0 0 15px rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: goldPulse 3s ease-in-out infinite;
}

.btn-packages:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700, #ffed4e);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 15px rgba(255, 215, 0, 0.6),
        0 0 25px rgba(255, 215, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

@keyframes goldPulse {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4), 0 0 15px rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 0 2px 12px rgba(255, 215, 0, 0.6), 0 0 25px rgba(255, 215, 0, 0.4);
    }
}

.dashboard-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    position: relative;
    z-index: 1;
}

.welcome-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.welcome-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.welcome-icon {
    opacity: 0.3;
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.5));
}

.welcome-icon svg {
    stroke: #ff0000;
}

.welcome-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff0000, #cc0000, #8B0000, #cc0000, #ff0000);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.welcome-card h1 {
    font-size: 32px;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    font-weight: 700;
}

.welcome-card p {
    font-size: 16px;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.dashboard-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
    transition: left 0.5s;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 0, 0, 0.4),
        0 0 30px rgba(255, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 0, 0, 0.4);
}

.card h3 {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

.card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

/* Account Form Styles */
.account-form .form-group,
.import-form .form-group {
    margin-bottom: 15px;
}

.account-form label,
.import-form label {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.account-form input[type="text"],
.account-form input[type="email"],
.account-form input[type="number"],
.account-form textarea,
.import-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: rgba(26, 26, 26, 0.8);
    color: #ffffff;
    backdrop-filter: blur(10px);
    font-family: inherit;
}

.account-form input:focus,
.account-form textarea:focus,
.import-form textarea:focus {
    outline: none;
    border-color: #ff0000;
    background: rgba(30, 30, 30, 0.9);
    box-shadow: 
        0 0 0 3px rgba(255, 0, 0, 0.2),
        0 0 20px rgba(255, 0, 0, 0.3);
}

.account-form input:hover,
.account-form textarea:hover,
.import-form textarea:hover {
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

.account-form input::placeholder,
.account-form textarea::placeholder,
.import-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 50%, #8B0000 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 
        0 4px 15px rgba(255, 0, 0, 0.4),
        0 0 0 1px rgba(255, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(255, 0, 0, 0.6),
        0 0 30px rgba(255, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #ff1a1a 0%, #ff0000 50%, #cc0000 100%);
}

.btn-submit:active {
    transform: translateY(0);
}

.card code {
    color: #ff0000;
    font-family: monospace;
    font-size: 12px;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff0000, #cc0000, #8B0000);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 0, 0, 0.4),
        0 0 30px rgba(255, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 0, 0, 0.4);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.stat-primary .stat-icon {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(204, 0, 0, 0.1));
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.stat-primary .stat-icon svg {
    color: #ff0000;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.5));
}

.stat-success .stat-icon {
    background: linear-gradient(135deg, rgba(0, 200, 0, 0.2), rgba(0, 150, 0, 0.1));
    border: 1px solid rgba(0, 200, 0, 0.3);
}

.stat-success .stat-icon svg {
    color: #00c800;
    filter: drop-shadow(0 0 10px rgba(0, 200, 0, 0.5));
}

.stat-warning .stat-icon {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.2), rgba(255, 140, 0, 0.1));
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.stat-warning .stat-icon svg {
    color: #ffa500;
    filter: drop-shadow(0 0 10px rgba(255, 165, 0, 0.5));
}

.stat-danger .stat-icon {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(200, 0, 0, 0.1));
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.stat-danger .stat-icon svg {
    color: #ff4444;
    filter: drop-shadow(0 0 10px rgba(255, 68, 68, 0.5));
}

.stat-content h3 {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 5px 0;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.stat-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

/* Action Cards */
.action-card {
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.card-header h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.card-header svg {
    color: #ff0000;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.5));
}

.card-action-btn {
    margin-top: auto;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 50%, #8B0000 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 4px 15px rgba(255, 0, 0, 0.4),
        0 0 0 1px rgba(255, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.card-action-btn:hover {
    background: linear-gradient(135deg, #ff1a1a 0%, #ff0000 50%, #cc0000 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(255, 0, 0, 0.6),
        0 0 30px rgba(255, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.card-action-btn svg {
    stroke-width: 2.5;
}

/* Info Card */
.info-card {
    grid-column: 1 / -1;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 0, 0, 0.1);
}

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

.info-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.info-value {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

/* Accounts Section */
.accounts-section {
    margin-top: 40px;
}

.section-header {
    margin-bottom: 20px;
}

.section-header h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.section-header svg {
    color: #ff0000;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.5));
}

.accounts-table-container {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.accounts-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
}

.accounts-table thead {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(204, 0, 0, 0.1));
    border-bottom: 2px solid rgba(255, 0, 0, 0.3);
}

.accounts-table th {
    color: #ffffff;
    font-weight: 700;
    padding: 15px 12px;
    text-align: left;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
    white-space: nowrap;
}

.accounts-table td {
    color: rgba(255, 255, 255, 0.9);
    padding: 15px 12px;
    border-bottom: 1px solid rgba(255, 0, 0, 0.1);
    font-size: 14px;
}

.accounts-table tbody tr {
    transition: all 0.3s ease;
}

.accounts-table tbody tr:hover {
    background: rgba(255, 0, 0, 0.05);
    box-shadow: inset 0 0 20px rgba(255, 0, 0, 0.1);
}

.accounts-table tbody tr:last-child td {
    border-bottom: none;
}

.account-email {
    font-weight: 600;
    color: #ffffff;
    word-break: break-all;
}

.account-password,
.account-client,
.account-token {
    font-family: monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    word-break: break-all;
    cursor: help;
}

.account-proxy {
    font-family: monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.account-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-active {
    background: rgba(0, 200, 0, 0.2);
    color: #00c800;
    border: 1px solid rgba(0, 200, 0, 0.4);
    box-shadow: 0 0 10px rgba(0, 200, 0, 0.2);
}

.status-inactive {
    background: rgba(255, 165, 0, 0.2);
    color: #ffa500;
    border: 1px solid rgba(255, 165, 0, 0.4);
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.2);
}

.status-error {
    background: rgba(255, 0, 0, 0.2);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.4);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

/* Accounts Grid */
.accounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.account-card {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 30px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 0, 0, 0.4),
        0 0 30px rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.4);
}

.account-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.account-card .account-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 14px;
    word-break: break-word;
    flex: 1;
    line-height: 1.4;
}

.account-card .status-badge {
    font-size: 11px;
    padding: 5px 12px;
    flex-shrink: 0;
}

.account-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 0, 0, 0.1);
}

.account-card .account-date {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .accounts-grid {
        grid-template-columns: 1fr;
    }
}

/* Delete Inactive Button */
.btn-delete-inactive {
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 50%, #8B0000 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 
        0 4px 15px rgba(255, 68, 68, 0.4),
        0 0 0 1px rgba(255, 68, 68, 0.2);
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.btn-delete-inactive:hover {
    background: linear-gradient(135deg, #ff5555 0%, #ff0000 50%, #cc0000 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(255, 68, 68, 0.6),
        0 0 30px rgba(255, 68, 68, 0.4);
}

.btn-delete-inactive:active {
    transform: translateY(0);
}

.btn-delete-inactive svg {
    stroke-width: 2.5;
}

/* Responsive Table */
@media (max-width: 1200px) {
    .accounts-table {
        font-size: 12px;
    }
    
    .accounts-table th,
    .accounts-table td {
        padding: 10px 8px;
    }
}

@media (max-width: 768px) {
    .accounts-table-container {
        overflow-x: scroll;
    }
    
    .accounts-table {
        min-width: 800px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .login-box {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .logo svg {
        width: 100px;
        height: 70px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .user-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-channel-form {
        padding: 15px 20px 0;
    }
    
    .channel-form-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .channel-input-wrapper {
        width: 100%;
    }
    
    .btn-header-add {
        width: 100%;
        justify-content: center;
    }
    
    .dashboard-main {
        padding: 20px 15px;
    }
    
    .welcome-card {
        padding: 25px;
    }
    
    .welcome-card h1 {
        font-size: 24px;
    }
    
    .welcome-content {
        flex-direction: column;
        text-align: center;
    }
    
    .welcome-icon {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        grid-column: 1;
    }
}

/* Filter Form */
.filter-form {
    padding: 0;
}

.filter-group {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 15px;
    align-items: end;
}

.filter-group .form-group {
    margin-bottom: 0;
}

.filter-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-group input[type="text"],
.filter-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: rgba(26, 26, 26, 0.8);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.filter-group input[type="text"]:focus,
.filter-group select:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    background: rgba(26, 26, 26, 0.95);
}

.filter-group select {
    cursor: pointer;
}

.btn-filter,
.btn-reset {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-filter {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
}

.btn-reset {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-left: 10px;
}

.btn-reset:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding: 20px;
}

.pagination-info {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
}

.pagination-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(204, 0, 0, 0.1));
    color: #ffffff;
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pagination-btn:hover {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.3), rgba(204, 0, 0, 0.2));
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .filter-group {
        grid-template-columns: 1fr;
    }
    
    .btn-reset {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .pagination {
        flex-direction: column;
    }
}

/* Elite User Dashboard Styles */
.elite-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.95), rgba(13, 13, 13, 0.95));
    border: 1px solid rgba(255, 0, 0, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.elite-card:hover {
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.elite-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(255, 0, 0, 0.3);
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: rgba(13, 13, 13, 0.8);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.elite-input:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.4);
    background: rgba(13, 13, 13, 0.95);
}

.elite-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.btn-elite {
    padding: 14px 28px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.btn-elite:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 0, 0, 0.6);
    background: linear-gradient(135deg, #ff1a1a, #e60000);
}

.btn-elite:active {
    transform: translateY(0);
}

.btn-fetch {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: 16px;
}

.channel-form {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.channel-form .form-group {
    flex: 1;
    margin-bottom: 0;
}

.channels-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.channel-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: rgba(13, 13, 13, 0.6);
    border: 1px solid rgba(255, 0, 0, 0.15);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.channel-item:hover {
    background: rgba(13, 13, 13, 0.8);
    border-color: rgba(255, 0, 0, 0.3);
    transform: translateX(5px);
}

.channel-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.channel-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 0, 0, 0.3);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
}

.channel-details {
    flex: 1;
}

.channel-info h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.channel-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.channel-meta span {
    display: inline-flex;
    align-items: center;
}

.channel-thumb-small {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 6px;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.channel-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 0, 0, 0.8);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
}

.channel-link:hover {
    color: #ff0000;
    gap: 8px;
}

.btn-delete {
    padding: 10px 12px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 8px;
    color: #ff4444;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-delete:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 68, 68, 0.5);
    color: #ff6666;
    transform: scale(1.1);
}

/* Videos Section */
.videos-section {
    margin-top: 40px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.video-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.95), rgba(13, 13, 13, 0.95));
    border: 1px solid rgba(255, 0, 0, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 0, 0, 0.1);
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 0, 0, 0.4);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 0, 0, 0.2),
        0 0 30px rgba(255, 0, 0, 0.2);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    background: rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-button {
    width: 64px;
    height: 64px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.5);
}

.play-button:hover {
    transform: scale(1.1);
    background: #ff0000;
    box-shadow: 0 6px 30px rgba(255, 0, 0, 0.7);
}

.video-content {
    padding: 20px;
}

.video-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
}

.video-channel,
.video-time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
}

.video-channel svg,
.video-time svg {
    opacity: 0.6;
}

.video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.2), rgba(204, 0, 0, 0.1));
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.video-link:hover {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.3), rgba(204, 0, 0, 0.2));
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    transform: translateY(-2px);
    gap: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .channel-form {
        flex-direction: column;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .video-card {
        border-radius: 12px;
    }
}

/* Video Count Notification - Next to Videos Link */
.video-count-notification {
    color: #ff0000;
    font-size: 10px;
    font-weight: 600;
    margin-left: 4px;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
    animation: notificationFade 2s infinite;
}

@keyframes notificationFade {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

