.admin-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 24px;
}
.admin-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1300px;
    margin: 40px auto 0 auto;
    gap: 32px;
    width: 100%;
}
.admin-sidebar-card {
    display: none !important;
}
.admin-main-card {
    min-width: 0;
    padding: 32px;
}
.admin-stat-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}
@media (max-width: 1024px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
}
.admin-stat-card {
    padding: 24px;
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}
.admin-stat-card i {
    font-size: 28px;
    color: var(--color-primary);
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(var(--color-primary-rgb), 0.4);
}
.admin-stat-card h4 {
    font-family: var(--font-header);
    font-size: 24px;
    color: #fff;
    margin-bottom: 4px;
}
.admin-stat-card p {
    font-size: 12px;
    color: var(--color-text-muted);
}
.form-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}
.switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: var(--color-primary);
}
input:checked + .slider:before {
    transform: translateX(24px);
}
.admin-console {
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 16px;
    font-family: monospace;
    font-size: 13px;
    color: #10b981;
    height: 200px;
    overflow-y: auto;
    margin-top: 16px;
}
.server-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.server-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.3) !important;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.15) !important;
}

/* SYSTEMA DE PESTAÑAS PREMIUM (CATEGORÍAS) */
.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 16px;
}
.admin-tab-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.admin-tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
}
.admin-tab-btn.active {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(124, 58, 237, 0.15));
    color: var(--color-primary);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.15);
}
.admin-tab-content {
    animation: fadeInTab 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Dynamic Custom Ticket Cards & Toggles */
.custom-ticket-card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    transition: all 0.3s ease;
}
.custom-ticket-card:hover {
    border-color: rgba(168, 85, 247, 0.2) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.05);
}
.custom-ticket-card .btn-delete {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}
.custom-ticket-card .btn-delete:hover {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}
.switch-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    min-width: 44px;
}
.switch-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider-toggle {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: .4s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.slider-toggle:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}
.switch-toggle input:checked + .slider-toggle {
    background-color: var(--color-primary) !important;
    border-color: rgba(168, 85, 247, 0.3);
}
.switch-toggle input:checked + .slider-toggle:before {
    transform: translateX(20px);
}
.log-toggle-card:hover {
    border-color: rgba(168, 85, 247, 0.15) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.03);
}
