/* admin-management.css - V3.5 Premium Bento Glow & Sub-Pages */

.am3-root {
    padding: 30px 40px;
    height: 100%;
    overflow-y: auto;
    color: #fff;
    background-color: transparent; /* Transparent background to reveal the main dashboard backdrop */
}

/* Page Header */
.am3-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.am3-page-title {
    font-size: 28px;
    font-weight: 900;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #fff 30%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.am3-badge-admin {
    background: rgba(155, 109, 255, 0.15);
    color: var(--accent-purple);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    border: 1px solid rgba(155, 109, 255, 0.3);
    -webkit-text-fill-color: initial; /* Reset for parent text clip */
}

.am3-page-sub {
    color: rgba(255,255,255,0.5);
    margin: 0;
    font-size: 14px;
}

/* Buttons */
.am3-btn-primary {
    background: var(--accent-purple);
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 20px rgba(155, 109, 255, 0.3);
}
.am3-btn-primary:hover {
    box-shadow: 0 0 30px rgba(155, 109, 255, 0.5);
    transform: translateY(-2px);
}

.am3-btn-secondary {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.am3-btn-secondary:hover {
    background: rgba(255,255,255,0.1);
}

.am3-btn-sub {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.am3-btn-sub.red:hover { background: rgba(244,63,94,0.15); border-color: rgba(244,63,94,0.4); color: var(--accent-rose); box-shadow: 0 0 15px rgba(244,63,94,0.3); }
.am3-btn-sub.green:hover { background: rgba(52,211,153,0.15); border-color: rgba(52,211,153,0.4); color: var(--accent-emerald); box-shadow: 0 0 15px rgba(52,211,153,0.3); }
.am3-btn-sub.purple { background: rgba(155,109,255,0.8); color: #fff; border: none; box-shadow: 0 0 15px rgba(155,109,255,0.4); }
.am3-btn-sub.purple:hover { background: rgba(155,109,255,1); box-shadow: 0 0 25px rgba(155,109,255,0.6); }

.am3-btn-back {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}
.am3-btn-back:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
}

/* View Transitions */
.view-slide-in { animation: am3-slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes am3-slideIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

/* Sub-Pages Header */
.am3-page-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
}
.am3-page-titles h2 { margin: 0 0 4px 0; font-size: 22px; font-weight: 900; }
.am3-page-titles p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.5); }

/* --- KPI Stats Row (Matches auv2-stats-row) --- */
.am3-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}
@media(max-width: 1200px) {
    .am3-stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 600px) {
    .am3-stats-row { grid-template-columns: 1fr; }
}

.am3-stat-card {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 21, 35, 0.45) 0%, rgba(10, 11, 20, 0.75) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    overflow: hidden;
}
.am3-stat-card::before {
    content: ''; position: absolute; width: 80px; height: 80px; border-radius: 50%; top: -30px; right: -30px; filter: blur(35px); opacity: 0.12; transition: all 0.4s ease; z-index: 0; pointer-events: none;
}
.am3-stat-card.purple::before { background: var(--accent-purple); }
.am3-stat-card.emerald::before { background: #34d399; }
.am3-stat-card.rose::before { background: #f87171; }
.am3-stat-card.cyan::before { background: #22d3ee; }

.am3-stat-card:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(20, 21, 35, 0.55) 0%, rgba(10, 11, 20, 0.8) 100%);
}

/* Glowing top edge line */
.am3-stripe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px;
    z-index: 10 !important;
    border-radius: 18px 18px 0 0;
    transition: box-shadow 0.3s ease;
}
.am3-stat-card.purple .am3-stripe { background: linear-gradient(90deg, #e9d5ff, #c084fc, #9b6dff); box-shadow: 0 2px 12px rgba(155, 109, 255, 0.65); }
.am3-stat-card.emerald .am3-stripe { background: linear-gradient(90deg, #d1fae5, #34d399, #10b981); box-shadow: 0 2px 12px rgba(16, 185, 129, 0.65); }
.am3-stat-card.rose .am3-stripe { background: linear-gradient(90deg, #ffe4e6, #fb7185, #f43f5e); box-shadow: 0 2px 12px rgba(244, 63, 94, 0.65); }
.am3-stat-card.cyan .am3-stripe { background: linear-gradient(90deg, #cffafe, #22d3ee, #06b6d4); box-shadow: 0 2px 12px rgba(34, 211, 238, 0.65); }

/* Hover glows */
.am3-stat-card.purple:hover .am3-stripe { box-shadow: 0 4px 20px rgba(155, 109, 255, 0.9), 0 0 35px rgba(155, 109, 255, 0.7) !important; }
.am3-stat-card.emerald:hover .am3-stripe { box-shadow: 0 4px 20px rgba(16, 185, 129, 0.9), 0 0 35px rgba(16, 185, 129, 0.7) !important; }
.am3-stat-card.rose:hover .am3-stripe { box-shadow: 0 4px 20px rgba(244, 63, 94, 0.9), 0 0 35px rgba(244, 63, 94, 0.7) !important; }
.am3-stat-card.cyan:hover .am3-stripe { box-shadow: 0 4px 20px rgba(34, 211, 238, 0.9), 0 0 35px rgba(34, 211, 238, 0.7) !important; }

.am3-stat-card.purple:hover { border-color: rgba(139, 92, 246, 0.55); box-shadow: 0 16px 35px rgba(0, 0, 0, 0.55), 0 0 25px rgba(139, 92, 246, 0.35); }
.am3-stat-card.purple:hover::before { opacity: 0.3; width: 110px; height: 110px; }
.am3-stat-card.emerald:hover { border-color: rgba(52, 211, 153, 0.55); box-shadow: 0 16px 35px rgba(0, 0, 0, 0.55), 0 0 25px rgba(52, 211, 153, 0.35); }
.am3-stat-card.emerald:hover::before { opacity: 0.3; width: 110px; height: 110px; }
.am3-stat-card.rose:hover { border-color: rgba(248, 113, 113, 0.55); box-shadow: 0 16px 35px rgba(0, 0, 0, 0.55), 0 0 25px rgba(248, 113, 113, 0.35); }
.am3-stat-card.rose:hover::before { opacity: 0.3; width: 110px; height: 110px; }
.am3-stat-card.cyan:hover { border-color: rgba(34, 211, 238, 0.55); box-shadow: 0 16px 35px rgba(0, 0, 0, 0.55), 0 0 25px rgba(34, 211, 238, 0.35); }
.am3-stat-card.cyan:hover::before { opacity: 0.3; width: 110px; height: 110px; }

.am3-stat-card > i {
    position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 14px; background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.25); color: var(--accent-purple); display: flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 0 12px rgba(139, 92, 246, 0.15); transition: all 0.35s ease;
}
.am3-stat-card.emerald > i { background: rgba(52, 211, 153, 0.1); border-color: rgba(52, 211, 153, 0.25); color: #34d399; box-shadow: 0 0 12px rgba(52, 211, 153, 0.15); }
.am3-stat-card.rose > i { background: rgba(248, 113, 113, 0.1); border-color: rgba(248, 113, 113, 0.25); color: #f87171; box-shadow: 0 0 12px rgba(248, 113, 113, 0.15); }
.am3-stat-card.cyan > i { background: rgba(34, 211, 238, 0.1); border-color: rgba(34, 211, 238, 0.25); color: #22d3ee; box-shadow: 0 0 12px rgba(34, 211, 238, 0.15); }

/* Hover icon animations */
.am3-stat-card:hover > i {
    transform: scale(1.1);
}
.am3-stat-card.purple:hover > i { animation: pulse-icon-purple 1.5s infinite; }
.am3-stat-card.emerald:hover > i { animation: pulse-icon-emerald 1.5s infinite; }
.am3-stat-card.rose:hover > i { animation: pulse-icon-rose 1.5s infinite; }
.am3-stat-card.cyan:hover > i { animation: pulse-icon-cyan 1.5s infinite; }

@keyframes pulse-icon-purple {
    0% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(139, 92, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(139, 92, 246, 0); }
}
@keyframes pulse-icon-emerald {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
@keyframes pulse-icon-rose {
    0% { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(248, 113, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(248, 113, 113, 0); }
}
@keyframes pulse-icon-cyan {
    0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.4); }
    70% { box-shadow: 0 0 0 8px rgba(34, 211, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.am3-stat-info { display: flex; flex-direction: column; gap: 2px; position: relative; z-index: 1; }
.am3-stat-info h3 { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.4); font-weight: 700; margin: 0; }
.am3-stat-info span { font-size: 20px; font-weight: 800; color: #fff; line-height: 1; }
.am3-stat-sub { font-size: 10px; font-weight: 700; color: rgba(255, 255, 255, 0.35); margin-top: 3px; display: flex; align-items: center; gap: 4px; }
.am3-stat-sub.emerald { color: #34d399; }
.am3-stat-sub.rose { color: #f87171; }
.am3-stat-sub.cyan { color: #22d3ee; }
.am3-stat-sub.purple { color: #c4b5fd; }

/* --- Search & Filter Bar --- */
.am3-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    background: rgba(12, 12, 28, 0.45);
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid rgba(155, 109, 255, 0.12);
    margin-bottom: 25px;
}

.am3-search-box {
    flex: 1;
    position: relative;
    min-width: 280px;
}
.am3-search-box i {
    position: absolute;
    left: 14px;
    top: 12px;
    color: rgba(255, 255, 255, 0.3);
}
.am3-search-input {
    width: 100%;
    height: 38px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0 40px;
    color: #fff;
    font-size: 13.5px;
    outline: none;
    transition: all 0.3s ease;
}
.am3-search-input:focus {
    border-color: rgba(155, 109, 255, 0.4);
    background: rgba(0, 0, 0, 0.6);
}
.am3-search-reset {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}
.am3-search-reset:hover { color: #fff; }

.am3-filter-group { display: flex; gap: 10px; }

/* Custom dropdown selects */
.am3-custom-select {
    position: relative;
    width: 160px;
    user-select: none;
}
.am3-select-trigger {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 13px;
    color: #fff;
    transition: all 0.2s;
}
.am3-select-trigger:hover { border-color: rgba(255, 255, 255, 0.2); }
.am3-custom-select.open .am3-select-trigger { border-color: rgba(155, 109, 255, 0.4); background: rgba(0, 0, 0, 0.6); }
.am3-select-trigger i { font-size: 10px; opacity: 0.6; transition: transform 0.2s; }
.am3-custom-select.open .am3-select-trigger i { transform: rotate(180deg); }

.am3-select-options {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #0f1220;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    display: none;
}
.am3-custom-select.open .am3-select-options { display: block; }
.am3-select-option { padding: 10px 16px; font-size: 13px; color: rgba(255,255,255,0.7); cursor: pointer; transition: all 0.2s; }
.am3-select-option:hover { background: rgba(255,255,255,0.05); color: #fff; }
.am3-select-option.selected { background: rgba(155, 109, 255, 0.15); color: var(--accent-purple); font-weight: 700; }

.am3-refresh-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.am3-refresh-btn:hover { border-color: rgba(255, 255, 255, 0.2); color: #fff; }

/* Category Sections & Separation Lines */
.am3-category-section {
    margin-top: 35px;
    margin-bottom: 25px;
}
.am3-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.am3-category-header h2 {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    margin: 0;
    text-shadow: 0 0 10px color-mix(in srgb, var(--role-color) 30%, transparent);
}
.am3-category-count {
    font-weight: 800;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 6px;
    line-height: 1;
    box-shadow: 0 0 10px color-mix(in srgb, var(--role-color) 30%, transparent);
}
.am3-category-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--role-color) 0%, transparent 100%);
    opacity: 0.35;
}

/* Bento Grid */
.am3-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 20px auto;
    width: 100%;
    align-items: stretch;
}

@media (max-width: 1100px) {
    .am3-bento-grid {
        grid-template-columns: 1fr;
    }
}

/* --- PRO Admin Card Layout --- */
.am3-pro-admin-card {
    background: linear-gradient(135deg, rgba(20, 21, 35, 0.45) 0%, rgba(10, 11, 20, 0.75) 100%);
    border: 1px solid color-mix(in srgb, var(--role-color, rgba(255, 255, 255, 0.04)) 15%, rgba(255, 255, 255, 0.04));
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.03);
    overflow: hidden;
}

/* Glowing backlight matching the role color */
.am3-pro-admin-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--role-color);
    filter: blur(45px);
    opacity: 0.08;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 0;
}

.am3-pro-admin-card:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--role-color, rgba(255, 255, 255, 0.15)) 40%, rgba(255, 255, 255, 0.15));
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45), 0 0 20px color-mix(in srgb, var(--role-color) 12%, transparent);
    background: linear-gradient(135deg, rgba(25, 26, 42, 0.55) 0%, rgba(14, 15, 27, 0.85) 100%);
}

.am3-pro-admin-card:hover::before {
    opacity: 0.15;
    width: 140px;
    height: 140px;
}

.am3-pro-admin-card .am3-stripe {
    background: var(--role-color);
}

.am3-pro-admin-card:hover .am3-stripe {
    box-shadow: 0 4px 20px var(--role-color), 0 0 35px color-mix(in srgb, var(--role-color) 70%, transparent) !important;
}

/* Card Role Watermark Icon */
.am3-pro-admin-card .card-watermark {
    position: absolute;
    bottom: 30px;
    right: -10px;
    font-size: 80px;
    color: var(--role-color);
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
    transition: all 0.3s ease;
}
.am3-pro-admin-card:hover .card-watermark {
    opacity: 0.06;
    transform: scale(1.1) rotate(-10deg);
}

.am3-pro-admin-card.suspended {
    border-left: 4px solid #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(15, 17, 26, 0.8) 100%);
}

.am3-pro-admin-card .card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.am3-pro-admin-card .avatar-container {
    position: relative;
}

.am3-pro-admin-card .avatar-circle {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--theme-bg);
    color: var(--theme-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.am3-pro-admin-card .status-indicator {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid #0f111a;
}
.am3-pro-admin-card .status-indicator.online { background: #10b981; }
.am3-pro-admin-card .status-indicator.offline { background: #ef4444; }

.am3-pro-admin-card .user-identity {
    flex: 1;
}

.am3-pro-admin-card .username {
    margin: 0 0 2px 0;
    color: #fff;
    font-size: 16.5px;
    font-weight: 700;
}

.am3-pro-admin-card .discord-tag {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12.5px;
}

.am3-pro-admin-card .role-badge {
    padding: 6px 12px;
    background: color-mix(in srgb, var(--role-color) 10%, transparent);
    color: var(--role-color);
    border: 1px solid color-mix(in srgb, var(--role-color) 25%, transparent);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--role-color) 8%, transparent);
}

.am3-pro-admin-card .role-badge i {
    font-size: 10.5px;
}

/* Card Note */
.am3-card-note {
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid rgba(6, 182, 212, 0.15);
    color: #a5f3fc;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12px;
    margin-bottom: 24px;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}
.am3-card-note i {
    color: #22d3ee;
    margin-right: 6px;
}

/* Card Detailed Info Grid */
.am3-card-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.25);
    padding: 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    z-index: 1;
}

.am3-info-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.am3-info-cell.span-2 {
    grid-column: span 2;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 8px;
    margin-top: 4px;
}

.am3-info-label {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 1px;
}

.am3-info-value {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.am3-info-value.muted {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
}

.am3-info-value.perm {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.am3-pro-admin-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
    position: relative;
    z-index: 1;
}

.am3-pro-admin-card .action-group {
    display: flex;
    gap: 8px;
}

.am3-pro-admin-card .action-btn {
    width: auto !important;
    height: auto !important;
    min-height: 36px !important;
    white-space: nowrap !important;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    padding: 8px 16px !important;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.am3-pro-admin-card .action-btn.icon-only {
    width: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
}

.am3-pro-admin-card .action-btn i {
    font-size: 12.5px;
    transition: transform 0.2s ease;
}

.am3-pro-admin-card .action-btn:hover:not(.disabled) {
    color: #fff;
    transform: translateY(-1.5px);
}

/* Specific colors & glows */
.am3-pro-admin-card .action-btn.logs {
    background: rgba(59, 130, 246, 0.06);
    border-color: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}
.am3-pro-admin-card .action-btn.logs:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.45);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.25);
}

.am3-pro-admin-card .action-btn.edit {
    background: rgba(139, 92, 246, 0.06);
    border-color: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
}
.am3-pro-admin-card .action-btn.edit:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.45);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.25);
}

.am3-pro-admin-card .action-btn.suspend {
    background: rgba(245, 158, 11, 0.06);
    border-color: rgba(245, 158, 11, 0.2);
    color: #fde047;
}
.am3-pro-admin-card .action-btn.suspend:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}
.am3-pro-admin-card .action-btn.suspend.active {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
}
.am3-pro-admin-card .action-btn.suspend.active:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.45);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}

.am3-pro-admin-card .action-btn.delete {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}
.am3-pro-admin-card .action-btn.delete:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.45);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.25);
}

.am3-pro-admin-card .action-btn.disabled {
    opacity: 0.25;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.02) !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: none !important;
    transform: none !important;
}

.am3-card-btn.delete {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(244, 63, 94, 0.05);
    border: 1px solid rgba(244, 63, 94, 0.2);
    color: #fda4af;
}
.am3-card-btn.delete:hover {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(244, 63, 94, 0.35);
}

.am3-card-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #94a3b8;
}
.am3-card-btn.disabled:hover {
    transform: none;
    box-shadow: none;
    color: #94a3b8;
}

/* =========================================================
   ULTIMATE DETAILS VIEW (CREATE / EDIT) - V3.5 GLOWING
   ========================================================= */

.am3-split-layout {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 1200px) {
    .am3-split-layout { grid-template-columns: 1fr; }
}

.am3-detail-card {
    background: linear-gradient(145deg, rgba(16, 17, 30, 0.6) 0%, rgba(9, 10, 18, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 20px 22px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Neon Shadow Glows */
.am3-detail-card.glowing-purple {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 
                0 0 50px rgba(139, 92, 246, 0.15),
                inset 0 0 20px rgba(139, 92, 246, 0.05);
}
.am3-detail-card.glowing-blue {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 
                0 0 50px rgba(59, 130, 246, 0.15),
                inset 0 0 20px rgba(59, 130, 246, 0.05);
}

.card-title-bar {
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}
.card-title-bar i {
    color: var(--accent-purple);
    text-shadow: 0 0 10px rgba(155, 109, 255, 0.5);
}

/* Avatar Preview Selector */
.avatar-preview-section {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    background: rgba(0,0,0,0.3);
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.avatar-large-preview {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.avatar-theme-selection {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.avatar-theme-selection label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    letter-spacing: 1px;
}
.avatar-theme-circles {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.avatar-theme-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.avatar-theme-circle:hover {
    transform: scale(1.15);
    border-color: rgba(255,255,255,0.4);
}
.avatar-theme-circle.active {
    border-color: #fff;
    box-shadow: 0 0 12px rgba(255,255,255,0.5), 0 4px 8px rgba(0, 0, 0, 0.4);
    transform: scale(1.15);
}

/* Premium Form Group Controls (Normal/Compact-sized inputs as requested) */
.am3-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    width: 100%;
    position: relative;
}

.am3-form-group label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
    margin-bottom: 2px;
}

.am3-root .am3-form-group input[type="text"],
.am3-root .am3-form-group input[type="text"]:focus,
.am3-root .am3-form-group input[type="text"]:hover {
    width: 100%;
    height: 40px; /* Reduced from 48px to look normal/compact */
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    padding: 0 14px !important;
    color: #fff !important;
    font-size: 13.5px !important; /* Slightly smaller to look proportional */
    font-weight: 500 !important;
    outline: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.am3-root .input-with-icon input[type="text"],
.am3-root .input-with-icon input[type="text"]:focus,
.am3-root .input-with-icon input[type="text"]:hover,
.am3-root #detail_discord,
.am3-root #detail_discord:focus,
.am3-root #detail_discord:hover {
    width: 100%;
    height: 40px;
    background: rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 10px !important;
    padding: 0 14px 0 38px !important; /* Explicitly add 38px left padding to prevent overlap with absolute icon in all states */
    color: #fff !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    outline: none !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.am3-root .am3-form-group input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.25) !important;
}

.am3-root .am3-form-group input[type="text"]:hover {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: rgba(0, 0, 0, 0.45) !important;
}

.am3-root .am3-form-group input[type="text"]:focus {
    border-color: var(--accent-purple) !important;
    background: rgba(0, 0, 0, 0.5) !important;
    box-shadow: 0 0 15px rgba(155, 109, 255, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.input-with-icon {
    position: relative;
    width: 100%;
}

.input-with-icon i {
    position: absolute;
    left: 14px; /* Shifted left to match compact input */
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.35);
    font-size: 14px;
    pointer-events: none;
    transition: color 0.3s;
    z-index: 10;
}

.input-with-icon input[type="text"] {
    padding-left: 38px !important;
}

.input-with-icon input[type="text"]:focus + i {
    color: var(--accent-purple);
    text-shadow: 0 0 10px rgba(155, 109, 255, 0.5);
}

.input-hint {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}
.input-hint i {
    font-size: 10.5px;
    color: var(--accent-purple);
}

/* Warning Box */
.am3-warning-box {
    display: flex;
    gap: 10px;
    background: rgba(251, 191, 36, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.15);
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 14px;
    color: rgba(251, 191, 36, 0.8);
    font-size: 11.5px;
    line-height: 1.45;
}
.am3-warning-box i {
    font-size: 14px;
    margin-top: 2px;
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}
.am3-warning-box p {
    margin: 0;
}

/* Textarea & Custom inputs */
.am3-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.5;
    resize: vertical;
    min-height: 70px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.am3-textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.am3-textarea:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.45);
}

.am3-textarea:focus {
    border-color: var(--accent-purple);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(155, 109, 255, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.3);
    outline: none;
}

.am3-form-row-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.35);
    border-radius: 10px;
    padding: 8px 12px;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
    transition: all 0.3s ease;
}
.am3-form-row-flex:hover {
    border-color: rgba(255,255,255,0.12);
    background: rgba(0,0,0,0.45);
}

.am3-form-group-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.am3-form-group-flex label {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* --- Role Selection Mega Grid (3-column centered premium cards) --- */
.am3-role-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
@media (max-width: 1600px) and (min-width: 1200px) {
    .am3-role-mega-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .am3-role-mega-grid { grid-template-columns: 1fr; }
}

.am3-role-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.role-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%; /* Symmetrical circle */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--r-color);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    margin: 0 auto;
}

.role-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.role-text-wrap h4 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 800;
    color: #fff;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}
.role-text-wrap span {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.35;
    display: block;
    margin: 0;
}

/* Hover effects */
.am3-role-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    background: rgba(0, 0, 0, 0.45);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 255, 255, 0.03);
}
.am3-role-card:hover .role-icon-wrap {
    transform: scale(1.08);
    border-color: color-mix(in srgb, var(--r-color) 45%, transparent);
    box-shadow: 0 0 12px color-mix(in srgb, var(--r-color) 25%, transparent);
}

/* Active Glowing states */
.am3-role-card.active {
    border-color: color-mix(in srgb, var(--r-color) 50%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--r-color) 8%, transparent) 0%, rgba(9, 10, 18, 0.95) 100%);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px color-mix(in srgb, var(--r-color) 25%, transparent);
    transform: translateY(-3px);
}

.am3-role-card.active .role-icon-wrap {
    background: var(--r-color);
    color: #0d0f14;
    border-color: transparent;
    box-shadow: 0 0 15px color-mix(in srgb, var(--r-color) 60%, transparent);
}
.am3-role-card.active .role-text-wrap h4 {
    color: #fff;
    text-shadow: 0 0 10px color-mix(in srgb, var(--r-color) 40%, transparent);
}
.am3-role-card.active .role-text-wrap span {
    color: rgba(255, 255, 255, 0.65);
}

/* Glowing backlights for active role cards */
.role-card-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    top: -30px;
    right: -30px;
    filter: blur(35px);
    opacity: 0;
    background: var(--r-color);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.am3-role-card.active .role-card-glow {
    opacity: 0.3;
}

/* --- Permissions Macros Selection Bar --- */
.permissions-macro-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(0, 0, 0, 0.35);
    padding: 12px 20px;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}
.permissions-macro-bar > span {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}
.permissions-macro-bar button {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.permissions-macro-bar button:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.45);
    color: #fff;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.35);
    transform: translateY(-1.5px);
}
.permissions-macro-bar button:nth-child(2):hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: rgba(6, 182, 212, 0.45);
    color: #fff;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.35);
}
.permissions-macro-bar button:nth-child(3):hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.45);
    color: #fff;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.35);
}
.permissions-macro-bar button:nth-child(4):hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.45);
    color: #fff;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.35);
}
.permissions-macro-bar button:nth-child(5):hover {
    background: rgba(244, 63, 94, 0.15);
    border-color: rgba(244, 63, 94, 0.45);
    color: #fff;
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.35);
}

/* Permissions Mega Grid Overhaul (Category Cards - Sized up for high readability & glowing effects as requested) */
.am3-permissions-section {
    background: linear-gradient(180deg, rgba(16, 17, 30, 0.5) 0%, rgba(9, 10, 18, 0.75) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    padding: 35px;
    margin-top: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.am3-perm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.perm-title-block h3 {
    font-size: 26px; /* Enlarged further */
    font-weight: 900;
    margin: 0 0 6px 0;
    background: linear-gradient(135deg, #fff 40%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.perm-title-block span {
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.25);
    color: var(--accent-purple);
    font-size: 13px; /* Enlarged further */
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 10px;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
}
.perm-title-block p {
    margin: 4px 0 0 0;
    font-size: 15.5px; /* Enlarged further */
    color: rgba(255, 255, 255, 0.45);
}
.perm-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.am3-perm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1600px) { .am3-perm-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1200px) { .am3-perm-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .am3-perm-grid { grid-template-columns: 1fr; } }

.am3-perm-category-card {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}
.am3-perm-category-card:hover {
    border-color: color-mix(in srgb, var(--cat-color) 45%, transparent);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
                0 0 30px color-mix(in srgb, var(--cat-color) 25%, transparent),
                inset 0 0 20px color-mix(in srgb, var(--cat-color) 8%, transparent);
}
.am3-perm-category-card:has(.perm-checkbox:checked) {
    border-color: color-mix(in srgb, var(--cat-color) 45%, transparent);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, color-mix(in srgb, var(--cat-color) 6%, rgba(0, 0, 0, 0.5)) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 
                0 0 25px color-mix(in srgb, var(--cat-color) 20%, transparent); /* Enhanced glow */
}

.am3-perm-cat-header {
    background: rgba(255, 255, 255, 0.015);
    padding: 22px 24px; /* Enlarged padding */
    display: flex;
    align-items: flex-start;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.am3-perm-cat-header .cat-icon {
    width: 44px; /* Enlarged from 40px */
    height: 44px; /* Enlarged from 40px */
    border-radius: 12px;
    background: color-mix(in srgb, var(--cat-color) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--cat-color) 25%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cat-color);
    font-size: 18px; /* Enlarged from 16px */
    box-shadow: 0 0 15px color-mix(in srgb, var(--cat-color) 25%, transparent);
}

.am3-perm-cat-header h4 { margin: 0 0 4px 0; font-size: 18.5px; font-weight: 800; color: #fff; } /* Enlarged further */
.am3-perm-cat-header p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, 0.45); line-height: 1.45; } /* Enlarged further */

.am3-perm-list {
    padding: 20px 24px; /* Enlarged padding */
    flex: 1;
}

.am3-perm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0; /* Enlarged padding from 16px */
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}
.am3-perm-row:last-child { border-bottom: none; }

.am3-perm-info h5 { margin: 0 0 4px 0; font-size: 16px; font-weight: 700; color: #fff; } /* Enlarged from 15px */
.am3-perm-info span { font-size: 12.5px; color: rgba(255, 255, 255, 0.45); line-height: 1.4; display: block; } /* Enlarged from 12px */

/* Custom Toggle SMALL (Themed by category color - SIZED UP SIGNIFICANTLY as requested) */
.am-toggle.small {
    position: relative;
    display: inline-block;
    width: 54px; /* Enlarged further from 48px */
    height: 28px; /* Enlarged further from 25px */
    flex-shrink: 0;
}
.am-toggle.small input { opacity: 0; width: 0; height: 0; }
.am-toggle.small .am-slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.08); transition: .3s; border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.am-toggle.small .am-slider:before {
    position: absolute; content: ""; 
    height: 22px; /* Enlarged from 19px */
    width: 22px;  /* Enlarged from 19px */
    left: 2px; bottom: 2px;
    background-color: #fff; transition: .3s; border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
.am-toggle.small input:checked + .am-slider { background-color: var(--accent-purple); }
.am-toggle.small input:checked + .am-slider:before { transform: translateX(26px); } /* Adjusted translation from 23px */
.am-toggle.small input:disabled + .am-slider { opacity: 0.5; cursor: not-allowed; }

.am3-perm-category-card .am-toggle.small input:checked + .am-slider {
    background-color: var(--cat-color);
    box-shadow: 0 0 15px color-mix(in srgb, var(--cat-color) 70%, transparent); /* Enhanced glow shadow */
}

/* Glowing backlights for category cards */
.cat-card-glow {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    top: -50px;
    right: -50px;
    filter: blur(45px);
    opacity: 0.05;
    background: var(--cat-color);
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.am3-perm-category-card:hover .cat-card-glow {
    opacity: 0.16;
}
.am3-perm-category-card:has(.perm-checkbox:checked) .cat-card-glow {
    opacity: 0.12;
}

/* Glass Panel for Logs Page */
.am3-glass-panel {
    background: rgba(13, 17, 28, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    margin-top: 20px;
}

/* Chronik / Timeline view for Logs */
.am3-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255,255,255,0.4);
}
.am3-empty-state i {
    font-size: 48px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.1);
}

.am3-timeline {
    position: relative;
    padding-left: 30px;
    margin-top: 15px;
}

.am3-timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 11px;
    width: 2px;
    background: rgba(255,255,255,0.05);
}

.am3-timeline-item {
    position: relative;
    margin-bottom: 24px;
}

.am3-timeline-dot {
    position: absolute;
    left: -24px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #111;
    border: 2px solid rgba(255,255,255,0.3);
    z-index: 2;
}
.am3-timeline-dot.info { border-color: var(--accent-cyan); background: var(--accent-cyan); box-shadow: 0 0 10px rgba(34,211,238,0.4); }
.am3-timeline-dot.warning { border-color: var(--accent-amber); background: var(--accent-amber); box-shadow: 0 0 10px rgba(251,191,36,0.4); }
.am3-timeline-dot.critical { border-color: var(--accent-rose); background: var(--accent-rose); box-shadow: 0 0 10px rgba(244,63,94,0.4); }

.am3-timeline-content {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 12px;
    padding: 16px 20px;
}

.am3-timeline-meta {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.am3-timeline-text {
    margin: 0;
    font-size: 13.5px;
    color: #fff;
    line-height: 1.5;
}

/* Logs Filter Bar / Log Archive Container */
.am3-log-archive-container {
    background: rgba(10, 10, 18, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.02);
    display: flex;
    flex-direction: column;
    gap: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.am3-log-archive-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.am3-log-archive-header i {
    color: var(--accent-purple);
    font-size: 15px;
}

.am3-logs-filter-row {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
}
.am3-logs-filter-row::-webkit-scrollbar {
    height: 4px;
}
.am3-logs-filter-row::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.am3-filter-group-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    margin-left: 4px;
}
.am3-filter-group-line {
    width: 20px;
    height: 2px;
    border-radius: 1px;
    background: var(--group-color, rgba(255, 255, 255, 0.1));
}

.am3-filter-group-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 4px;
}

.am3-log-filter-btn {
    height: 36px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.65);
    padding: 0 16px;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.am3-log-filter-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    transform: translateY(-1px);
}
.am3-log-filter-btn i {
    color: var(--cat-color);
    font-size: 13px;
    transition: all 0.25s ease;
}
.am3-log-filter-btn.active {
    background: color-mix(in srgb, var(--cat-color) 12%, transparent);
    border-color: color-mix(in srgb, var(--cat-color) 45%, transparent);
    color: #fff;
    box-shadow: 0 0 15px color-mix(in srgb, var(--cat-color) 15%, transparent);
}
.am3-log-filter-btn.active i {
    text-shadow: 0 0 10px color-mix(in srgb, var(--cat-color) 60%, transparent);
}

/* ==========================================================================
   Suspend (Sperren) View
   ========================================================================== */
.am3-suspend-container {
    max-width: 800px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.am3-suspend-warning-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    border-radius: 20px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: inset 0 0 40px rgba(239, 68, 68, 0.05);
}

.am3-suspend-warning-box.info {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: inset 0 0 40px rgba(16, 185, 129, 0.05);
}

.am3-suspend-warning-box i {
    font-size: 32px;
    color: #ef4444;
    margin-top: 4px;
}
.am3-suspend-warning-box.info i {
    color: #10b981;
}

.am3-suspend-warning-box h4 {
    margin: 0 0 8px 0;
    color: #fff;
    font-size: 18px;
    font-family: var(--font-display);
}

.am3-suspend-warning-box p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 14px;
}

.am3-suspend-form {
    background: rgba(12, 13, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
}

/* Premium Form Inputs (Glassmorphism) */
.am3-form-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.am3-form-section-title {
    margin: 0 0 8px 0;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.4;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 12px;
}

.am3-premium-input-wrapper,
.am3-premium-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.am3-input-icon {
    position: absolute;
    left: 16px;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    font-size: 14px;
}

.am3-input-premium {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px 12px 42px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
    appearance: none;
}
.am3-input-premium:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2), inset 0 2px 4px rgba(0,0,0,0.2);
}

.am3-premium-select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 16px;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}
.am3-premium-select-wrapper select option {
    background: #12131c;
    color: #fff;
}

.am3-textarea-premium {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    resize: vertical;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}
.am3-textarea-premium:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(139, 92, 246, 0.5);
}

/* Premium Animated Toggle Switches */
.am3-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 16px 0;
    border-radius: 0;
    transition: all 0.2s ease;
}
.am3-toggle-row:last-child {
    border-bottom: none;
}
.am3-toggle-row:hover {
    background: transparent;
}

.am3-toggle-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.am3-toggle-info label {
    color: #f3f4f6;
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    cursor: pointer;
}
.am3-toggle-info span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.am3-premium-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}
.am3-premium-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.am3-premium-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .3s;
    border-radius: 34px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}
.am3-premium-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}
.am3-premium-toggle input:checked + .am3-premium-slider {
    background-color: #3b82f6; /* Default Blue */
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}
.am3-premium-toggle input:checked + .am3-premium-slider.danger-slider {
    background-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}
.am3-premium-toggle input:checked + .am3-premium-slider.warning-slider {
    background-color: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}
.am3-premium-toggle input:checked + .am3-premium-slider.purple-slider {
    background-color: #8b5cf6;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.4);
}
.am3-premium-toggle input:checked + .am3-premium-slider:before {
    transform: translateX(20px);
}

.large-action-btn {
    padding: 14px 28px;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Custom Dropdown Styles */
.am3-custom-dropdown {
    position: relative;
    width: 100%;
    cursor: pointer;
    user-select: none;
}

.am3-dropdown-selected {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 40px 12px 42px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
    min-height: 45px;
    display: flex;
    align-items: center;
}

.am3-custom-dropdown.open .am3-dropdown-selected {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2), inset 0 2px 4px rgba(0,0,0,0.2);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.am3-dropdown-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.am3-custom-dropdown.open .am3-dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.am3-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(18, 19, 28, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.5);
    border-top: none;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    max-height: 250px;
    overflow-y: auto;
}

.am3-custom-dropdown.open .am3-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.am3-dropdown-item {
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.am3-dropdown-item:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #fff;
    border-left-color: #8b5cf6;
}

.am3-dropdown-item.active {
    background: rgba(139, 92, 246, 0.2);
    color: #fff;
    border-left-color: #8b5cf6;
    font-weight: 600;
}

/* ==========================================================================
   PRO SPLIT LAYOUT (Suspend Page)
   ========================================================================== */
.am3-suspend-pro-container {
    max-width: 1100px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Banner */
.am3-pro-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 32px;
    border-radius: 16px;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2), inset 0 0 40px rgba(239, 68, 68, 0.05);
}
.am3-pro-banner.info {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2), inset 0 0 40px rgba(16, 185, 129, 0.05);
}

.am3-pro-banner-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}
.am3-pro-banner.danger .am3-pro-banner-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}
.am3-pro-banner.info .am3-pro-banner-icon {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.am3-pro-banner-text h4 {
    margin: 0 0 6px 0;
    color: #fff;
    font-size: 18px;
    letter-spacing: 0.5px;
}
.am3-pro-banner-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
}

/* Split Layout Grid */
.am3-pro-split-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .am3-pro-split-layout {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.am3-pro-card {
    background: rgba(12, 13, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(20px);
}

.am3-pro-card-title {
    margin: 0 0 4px 0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}
.am3-pro-card-sub {
    margin: 0 0 24px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Right Column Utilities */
.am3-pro-right-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.am3-action-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.am3-pro-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.am3-btn-block {
    width: 100%;
}

/* Toggle List Styling */
.am3-pro-toggle-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.am3-pro-toggle-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.2s ease;
}
.am3-pro-toggle-card:hover {
    background: rgba(255, 255, 255, 0.04);
}
.am3-pro-toggle-card.danger {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.2);
}
.am3-pro-toggle-card.notify {
    background: rgba(139, 92, 246, 0.05);
    border-color: rgba(139, 92, 246, 0.2);
    padding: 16px 0; /* Reset padding for action card integration */
    border: none;
    background: transparent;
}

.am3-pro-toggle-card .icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.icon-box.blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.icon-box.red { background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.icon-box.dark { background: rgba(255, 255, 255, 0.05); color: #9ca3af; }
.icon-box.orange { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }
.icon-box.dark-red { background: rgba(153, 27, 27, 0.2); color: #fca5a5; }
.icon-box.purple { background: rgba(139, 92, 246, 0.1); color: #a855f7; }

.am3-pro-toggle-card .info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.am3-pro-toggle-card label {
    margin: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}
.am3-pro-toggle-card span {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}
.text-danger {
    color: #ef4444 !important;
}

/* Modern Back Button for Admin pages */
.modern-back-btn {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 12px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 6px 16px 6px 6px !important;
    margin-bottom: 8px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    backdrop-filter: blur(10px) !important;
    width: auto !important;
    height: auto !important;
}
.modern-back-btn .icon-wrap {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 8px !important;
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    color: #a78bfa !important;
}
.modern-back-btn:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #fff !important;
    border-color: rgba(168, 85, 247, 0.3) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 15px rgba(168, 85, 247, 0.1) !important;
    transform: translateX(-4px) !important;
}
.modern-back-btn:hover .icon-wrap {
    background: rgba(168, 85, 247, 0.15) !important;
    color: #c084fc !important;
    transform: scale(1.05) !important;
}

/* Categorized Control Center styles */
.control-category {
    margin-bottom: 24px;
}
.control-category:last-child {
    margin-bottom: 0;
}
.control-category-title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}
.control-category-title i {
    color: var(--accent-purple);
    text-shadow: 0 0 8px rgba(139, 92, 246, 0.3);
}
