:root {
    --primary: #2196F3;
    --primary-dark: #1976D2;
    --primary-light: #64B5F6;
    --primary-soft: #E3F2FD;
    --secondary: #00BCD4;
    --success: #4CAF50;
    --warning: #FF9800;
    --danger: #F44336;
    --info: #00BCD4;
    --dark: #1a237e;
    --light: #f5f7fa;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%);
    min-height: 100vh;
    color: var(--gray-800);
    line-height: 1.6;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--dark) 100%);
    color: white;
    padding: 20px;
    z-index: 1000;
    overflow-y: auto;
    transition: var(--transition);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-brand .logo {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.sidebar-brand h2 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.sidebar-nav {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-size: 14px;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    background: rgba(255,255,255,0.15);
    color: white;
    transform: translateX(5px);
}

.sidebar-nav a i {
    width: 20px;
    text-align: center;
    font-size: 18px;
}

.sidebar-nav .menu-header {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    padding: 20px 15px 10px;
    margin-top: 10px;
}

.main-content {
    margin-left: 260px;
    padding: 25px;
    min-height: 100vh;
    transition: var(--transition);
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 25px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.top-bar .page-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.top-bar .user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(33, 150, 243, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--success) 0%, #388E3C 100%);
    color: white;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #D32F2F 100%);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(244, 67, 54, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning) 0%, #F57C00 100%);
    color: white;
}

.btn-info {
    background: linear-gradient(135deg, var(--info) 0%, #0097A7 100%);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
    margin-bottom: 25px;
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-hover);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-200);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.bg-primary { background: var(--primary); }
.bg-success { background: var(--success); }
.bg-warning { background: var(--warning); }
.bg-danger { background: var(--danger); }
.bg-info { background: var(--info); }

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

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.stat-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.stat-info p {
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 5px;
}

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

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

select.form-control {
    cursor: pointer;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: table;
}

thead {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

th, td {
    padding: 15px;
    text-align: left;
    font-size: 14px;
}

th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

tbody tr {
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

tbody tr:hover {
    background: var(--primary-soft);
}

tbody tr:last-child {
    border-bottom: none;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.badge-primary { background: var(--primary-soft); color: var(--primary-dark); }
.badge-success { background: #E8F5E9; color: #2E7D32; }
.badge-warning { background: #FFF3E0; color: #E65100; }
.badge-danger { background: #FFEBEE; color: #C62828; }
.badge-info { background: #E0F7FA; color: #006064; }

.alert {
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: #E8F5E9;
    color: #2E7D32;
    border-left: 4px solid var(--success);
}

.alert-danger {
    background: #FFEBEE;
    color: #C62828;
    border-left: 4px solid var(--danger);
}

.alert-warning {
    background: #FFF3E0;
    color: #E65100;
    border-left: 4px solid var(--warning);
}

.alert-info {
    background: #E0F7FA;
    color: #006064;
    border-left: 4px solid var(--info);
}

.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%);
}

.login-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 450px;
    padding: 40px;
    animation: slideUp 0.5s ease;
}

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

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 32px;
    color: white;
}

.login-header h1 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 5px;
}

.login-header p {
    color: var(--gray-600);
    font-size: 14px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 18px;
    color: var(--dark);
}

.modal-close {
    width: 35px;
    height: 35px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: var(--gray-600);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--danger);
    color: white;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    background: var(--gray-100);
    padding: 5px;
    border-radius: var(--radius-sm);
}

.tab-btn {
    flex: 1;
    padding: 10px 20px;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 10px rgba(33, 150, 243, 0.3);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-box input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-box button {
    padding: 12px 25px;
}

.action-btns {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.btn-edit {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.btn-edit:hover {
    background: var(--primary);
    color: white;
}

.btn-delete {
    background: #FFEBEE;
    color: #C62828;
}

.btn-delete:hover {
    background: var(--danger);
    color: white;
}

.btn-view {
    background: #E0F7FA;
    color: #006064;
}

.btn-view:hover {
    background: var(--info);
    color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.pagination button {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gray-200);
    background: var(--white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.pagination button:hover,
.pagination button.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
}

.empty-state i {
    font-size: 60px;
    margin-bottom: 20px;
    color: var(--gray-300);
}

.empty-state h3 {
    color: var(--gray-600);
    margin-bottom: 10px;
}

.footer {
    text-align: center;
    padding: 20px;
    color: var(--gray-600);
    font-size: 14px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    min-width: 180px;
    display: none;
    z-index: 100;
}

.dropdown-menu.show {
    display: block;
    animation: fadeIn 0.2s ease;
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--gray-700);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.dropdown-item:first-child {
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

@media (max-width: 1024px) {
    .sidebar {
        width: 80px;
        padding: 15px 10px;
    }
    
    .sidebar-brand h2,
    .sidebar-nav a span,
    .sidebar-nav .menu-header {
        display: none;
    }
    
    .sidebar-nav a {
        justify-content: center;
        padding: 12px;
    }
    
    .main-content {
        margin-left: 80px;
    }
}

@media (max-width: 820px) {
    .sidebar {
        transform: translateX(-100%);
        width: 260px;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        z-index: 999;
        transition: none;
    }
    
    .sidebar.show {
        transform: translateX(0);
        transition: none;
    }
    
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 998;
    }
    
    .sidebar-overlay.show {
        display: block;
    }
    
    .menu-toggle {
        display: flex !important;
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1001;
        pointer-events: auto;
    }
    
    .sidebar-brand h2,
    .sidebar-nav a span,
    .sidebar-nav .menu-header {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
        padding-top: 60px;
    }
    
    .top-bar {
        padding: 15px;
    }
    
    .top-bar .page-title {
        font-size: 18px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .card-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .search-box button {
        width: 100%;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    table thead,
    table tbody,
    table th,
    table td,
    table tr {
        display: block;
    }
    
    table thead {
        display: none;
    }
    
    table tbody tr {
        background: var(--white);
        border-radius: var(--radius);
        margin-bottom: 15px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        padding: 15px;
    }
    
    table td {
        padding: 8px 10px;
        border: none;
        text-align: left;
        position: relative;
    }
    
    table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--primary);
        display: block;
        margin-bottom: 4px;
    }
    
    table td:last-child {
        padding-top: 15px;
        border-top: 1px solid var(--gray-200);
        margin-top: 10px;
    }
    
    .action-btns {
        flex-direction: column;
    }
    
    .modal-content {
        margin: 10px;
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
        padding: 15px;
    }
    
    .modal-body {
        padding: 10px;
    }
}

.menu-toggle {
    display: none;
    width: 45px;
    height: 45px;
    border: none;
    background: #2563eb;
    border-radius: 8px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.sidebar-overlay {
    display: none;
}

.sidebar-overlay.show {
    display: block;
}

.photo-upload {
    width: 120px;
    height: 120px;
    border: 3px dashed var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
    background: var(--gray-100);
}

.photo-upload:hover {
    border-color: var(--primary);
}

.photo-upload img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-upload i {
    font-size: 40px;
    color: var(--gray-400);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
    transition: width 0.5s ease;
}

.chart-container {
    position: relative;
    height: 300px;
    margin: 20px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.info-item {
    background: var(--gray-100);
    padding: 15px;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary);
}

.info-item label {
    font-size: 12px;
    color: var(--gray-500);
    display: block;
    margin-bottom: 5px;
}

.info-item span {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--primary);
}

.timeline-date {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 5px;
}

.timeline-content {
    background: var(--gray-100);
    padding: 15px;
    border-radius: var(--radius-sm);
}

.no-data {
    text-align: center;
    padding: 40px;
    color: var(--gray-500);
}

.no-data i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--gray-300);
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--gray-200);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--gray-500); }

.mt-1 { margin-top: 5px; }
.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 15px; }
.mt-4 { margin-top: 20px; }
.mt-5 { margin-top: 25px; }

.mb-1 { margin-bottom: 5px; }
.mb-2 { margin-bottom: 10px; }
.mb-3 { margin-bottom: 15px; }
.mb-4 { margin-bottom: 20px; }
.mb-5 { margin-bottom: 25px; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* PSB Ultra Premium Luxury Styles */
.spmb-, .psb-container {
    padding: 0;
    max-width: 100%;
    margin: 0;
}

.spmb-wrapper, .spmb-, .psb-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
    background: #f8fafc;
    min-height: calc(100vh - 50px);
}

.spmb-, .psb-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 30px;
    padding: 60px 50px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 100px rgba(102, 126, 234, 0.4);
}

.spmb-, .psb-header::before {
    content: '';
    position: absolute;
    top: -70%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 70%);
    animation: headerFloat 8s ease-in-out infinite;
}

.spmb-, .psb-header::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: headerFloat 10s ease-in-out infinite reverse;
}

@keyframes headerFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -20px) scale(1.05); }
    50% { transform: translate(-10px, 10px) scale(0.95); }
    75% { transform: translate(-20px, -10px) scale(1.02); }
}

.spmb-, .psb-header-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.spmb-, .psb-header-title h1 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.spmb-, .psb-header-title p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
}

.spmb-, .psb-header-actions {
    display: flex;
    gap: 15px;
}

.spmb-, .psb-btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.spmb-, .psb-btn-primary {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    color: #667eea;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255,255,255,0.3);
}

.spmb-, .psb-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #fff 0%, #fff 100%);
}

.spmb-, .psb-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(233, 69, 96, 0.5);
}

.spmb-, .psb-btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.spmb-, .psb-btn-secondary:hover {
    background: rgba(255,255,255,0.25);
}

.spmb-, .psb-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.spmb-, .psb-stat-card {
    background: white;
    border-radius: 24px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.spmb-, .psb-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.spmb-, .psb-stat-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.2);
}

.spmb-, .psb-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.spmb-, .psb-stat-icon.blue { background: linear-gradient(135deg, #667eea, #764ba2); box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4); }
.spmb-, .psb-stat-icon.green { background: linear-gradient(135deg, #11998e, #38ef7d); box-shadow: 0 8px 20px rgba(17, 153, 142, 0.4); }
.spmb-, .psb-stat-icon.orange { background: linear-gradient(135deg, #f093fb, #f5576c); box-shadow: 0 8px 20px rgba(245, 87, 108, 0.4); }
.spmb-, .psb-stat-icon.red { background: linear-gradient(135deg, #eb3349, #f45c43); box-shadow: 0 8px 20px rgba(235, 51, 73, 0.4); }
.spmb-, .psb-stat-icon.purple { background: linear-gradient(135deg, #c471ed, #f64f59); box-shadow: 0 8px 20px rgba(196, 113, 237, 0.4); }
.spmb-, .psb-stat-icon.teal { background: linear-gradient(135deg, #43e97b, #38f9d7); box-shadow: 0 8px 20px rgba(67, 233, 123, 0.4); }

.spmb-, .psb-stat-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1;
    margin-bottom: 5px;
}

.spmb-, .psb-stat-info p {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.spmb-, .psb-content-card {
    background: white;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.spmb-, .psb-content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

.spmb-, .psb-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.spmb-, .psb-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 12px;
}

.spmb-, .psb-card-title i {
    color: #667eea;
}

.spmb-, .psb-search {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    border-radius: 14px;
    padding: 10px 18px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.spmb-, .psb-search:focus-within {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15), 0 8px 25px rgba(102, 126, 234, 0.1);
}

.spmb-, .psb-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    width: 220px;
    color: #1a1a2e;
}

.spmb-, .psb-search i {
    color: #667eea;
    font-size: 16px;
}

.spmb-, .psb-table-container {
    overflow-x: auto;
}

.spmb-, .psb-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.spmb-, .psb-table thead th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 18px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    position: relative;
}

.spmb-, .psb-table thead th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f093fb, #f5576c);
}

.spmb-, .psb-table thead th:first-child {
    border-radius: 12px 0 0 12px;
}

.spmb-, .psb-table thead th:last-child {
    border-radius: 0 12px 12px 0;
}

.spmb-, .psb-table tbody tr {
    transition: all 0.3s ease;
}

.spmb-, .psb-table tbody tr:hover {
    background: #f8fafc;
}

.spmb-, .psb-table tbody td {
    padding: 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #334155;
    vertical-align: middle;
}

.spmb-, .psb-table tbody tr:last-child td {
    border-bottom: none;
}

.spmb-, .psb-badge {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    text-transform: capitalize;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.spmb-, .psb-badge-waiting {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.spmb-, .psb-badge-accepted {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
}

.spmb-, .psb-badge-rejected {
    background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    color: white;
}

.spmb-, .psb-avatar {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: white;
    margin-right: 12px;
    vertical-align: middle;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.spmb-, .psb-avatar.male { background: linear-gradient(135deg, #667eea, #764ba2); }
.spmb-, .psb-avatar.female { background: linear-gradient(135deg, #f093fb, #f5576c); }

.spmb-, .psb-action-btns {
    display: flex;
    gap: 8px;
}

.spmb-, .psb-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
}

.spmb-, .psb-action-btn.view {
    background: #E3F2FD;
    color: #1976D2;
}

.spmb-, .psb-action-btn.view:hover {
    background: #1976D2;
    color: white;
    transform: scale(1.1);
}

.spmb-, .psb-action-btn.accept {
    background: #E8F5E9;
    color: #388E3C;
}

.spmb-, .psb-action-btn.accept:hover {
    background: #388E3C;
    color: white;
    transform: scale(1.1);
}

.spmb-, .psb-action-btn.reject {
    background: #FFEBEE;
    color: #D32F2F;
}

.spmb-, .psb-action-btn.reject:hover {
    background: #D32F2F;
    color: white;
    transform: scale(1.1);
}

.spmb-, .psb-empty {
    text-align: center;
    padding: 60px 20px;
}

.spmb-, .psb-empty-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #94a3b8;
}

.spmb-, .psb-empty h3 {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 8px;
}

.spmb-, .psb-empty p {
    font-size: 14px;
    color: #94a3b8;
}

/* Modal Styles */
.spmb-, .psb-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.spmb-, .psb-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.spmb-, .psb-modal {
    background: white;
    border-radius: 24px;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.spmb-, .psb-modal-overlay.active .spmb-, .psb-modal {
    transform: scale(1) translateY(0);
}

.spmb-, .psb-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.spmb-, .psb-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
}

.spmb-, .psb-modal-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
}

.spmb-, .psb-modal-header h3 {
    color: white;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.spmb-, .psb-modal-header h3 i {
    background: rgba(255,255,255,0.2);
    padding: 10px;
    border-radius: 10px;
}

.spmb-, .psb-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.spmb-, .psb-modal-close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.spmb-, .psb-modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.spmb-, .psb-form-section {
    margin-bottom: 25px;
}

.spmb-, .psb-form-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #e94560;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spmb-, .psb-form-section-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #f1f5f9, transparent);
}

.spmb-, .psb-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.spmb-, .psb-form-group {
    margin-bottom: 0;
}

.spmb-, .psb-form-group.full {
    grid-column: span 2;
}

.spmb-, .psb-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.spmb-, .psb-form-input, .spmb-, .psb-form-select, .spmb-, .psb-form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    color: #1a1a2e;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.spmb-, .psb-form-input:focus, .spmb-, .psb-form-select:focus, .spmb-, .psb-form-textarea:focus {
    outline: none;
    border-color: #e94560;
    background: white;
    box-shadow: 0 0 0 4px rgba(233, 69, 96, 0.1);
}

.spmb-, .psb-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.spmb-, .psb-form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.spmb-, .psb-modal-footer {
    padding: 20px 30px;
    background: #f8fafc;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid #e2e8f0;
}

.spmb-, .psb-btn-cancel {
    padding: 12px 24px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.spmb-, .psb-btn-cancel:hover {
    border-color: #cbd5e1;
    color: #475569;
}

.spmb-, .psb-btn-submit {
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.spmb-, .psb-btn-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

/* Tabs */
.spmb-, .psb-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    background: white;
    padding: 10px;
    border-radius: 16px;
    width: fit-content;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.spmb-, .psb-tab {
    padding: 14px 28px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.spmb-, .psb-tab.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.spmb-, .psb-tab:hover:not(.active) {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.spmb-, .psb-tab-content {
    display: none;
}

.spmb-, .psb-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* Responsive */
.spmb-stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
@media (max-width: 1200px) {
    .spmb-, .psb-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .spmb-, .psb-header {
        padding: 25px;
    }
    
    .spmb-, .psb-header-title h1 {
        font-size: 24px;
    }
    
    .spmb-, .psb-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .spmb-, .psb-stats-row {
        grid-template-columns: 1fr;
    }
    
    .spmb-, .psb-form-grid {
        grid-template-columns: 1fr;
    }
    
    .spmb-, .psb-form-group.full {
        grid-column: span 1;
    }
    
    .spmb-, .psb-tabs {
        width: 100%;
        overflow-x: auto;
    }
}

/* SPMB Modern Premium Styles Override */
.spmb-wrapper { max-width: 100%; margin: 0; padding: 0; background: transparent; }
.spmb-container { max-width: 1400px; margin: 0 auto; padding: 0 0 30px 0; }
.spmb-btn { padding: 12px 24px; border-radius: 12px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: none; display: inline-flex; align-items: center; gap: 8px; font-family: inherit; }
.spmb-btn-primary { background: linear-gradient(135deg, #667eea, #764ba2); color: white; box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35); }
.spmb-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(102, 126, 234, 0.45); }
.spmb-btn-cancel { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }
.spmb-btn-cancel:hover { background: #e2e8f0; color: #1e293b; }
.spmb-btn-submit { background: linear-gradient(135deg, #667eea, #764ba2); color: white; box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35); }
.spmb-btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(102, 126, 234, 0.45); }

.spmb-badge { padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; text-transform: capitalize; display: inline-flex; align-items: center; gap: 5px; }
.spmb-badge-waiting, .spmb-badge.menunggu { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; }
.spmb-badge-accepted, .spmb-badge.diterima { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #065f46; }
.spmb-badge-rejected, .spmb-badge.ditolak { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #991b1b; }

.spmb-action-btns { display: flex; gap: 8px; }
.spmb-action-btn { width: 36px; height: 36px; border-radius: 10px; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; font-size: 14px; }
.spmb-action-btn.view { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); color: #4f46e5; }
.spmb-action-btn.view:hover { background: #4f46e5; color: white; transform: scale(1.1); }
.spmb-action-btn.accept { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #10b981; }
.spmb-action-btn.accept:hover { background: #10b981; color: white; transform: scale(1.1); }
.spmb-action-btn.reject { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #ef4444; }
.spmb-action-btn.reject:hover { background: #ef4444; color: white; transform: scale(1.1); }

.spmb-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; z-index: 1000; opacity: 0; visibility: hidden; transition: all 0.3s ease; padding: 20px; }
.spmb-modal-overlay.active { opacity: 1; visibility: visible; }
.spmb-modal { background: white; border-radius: 24px; width: 100%; max-width: 700px; max-height: 90vh; overflow: hidden; transform: scale(0.9) translateY(20px); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.spmb-modal-overlay.active .spmb-modal { transform: scale(1) translateY(0); }
.spmb-modal-header { background: linear-gradient(135deg, #667eea, #764ba2); color: white; padding: 24px 30px; display: flex; justify-content: space-between; align-items: center; }
.spmb-modal-header h3 { margin: 0; font-size: 20px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.spmb-modal-close { background: rgba(255, 255, 255, 0.2); border: none; color: white; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 24px; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; }
.spmb-modal-close:hover { background: rgba(255, 255, 255, 0.3); transform: rotate(90deg); }
.spmb-modal-body { padding: 30px; max-height: 60vh; overflow-y: auto; }
.spmb-modal-footer { padding: 20px 30px; border-top: 1px solid #e2e8f0; display: flex; justify-content: flex-end; gap: 12px; background: #f8fafc; }

.spmb-form-section { margin-bottom: 28px; }
.spmb-form-section:last-child { margin-bottom: 0; }
.spmb-form-section-title { font-size: 15px; font-weight: 700; color: #667eea; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid #667eea; display: inline-block; }
.spmb-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.spmb-form-group { display: flex; flex-direction: column; gap: 8px; }
.spmb-form-group.full { grid-column: span 2; }
.spmb-form-label { font-size: 13px; font-weight: 600; color: #1e293b; }
.spmb-form-input, .spmb-form-select, .spmb-form-textarea { padding: 12px 16px; border: 2px solid #e2e8f0; border-radius: 12px; font-size: 14px; font-family: inherit; transition: all 0.2s ease; background: #f8fafc; color: #1e293b; }
.spmb-form-input:focus, .spmb-form-select:focus, .spmb-form-textarea:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1); background: white; }
.spmb-form-textarea { min-height: 80px; resize: vertical; }

.spmb-search { position: relative; width: 280px; }
.spmb-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #64748b; }
.spmb-search input { width: 100%; padding: 12px 16px 12px 42px; border: 2px solid #e2e8f0; border-radius: 12px; font-size: 14px; transition: all 0.2s ease; background: #f8fafc; }
.spmb-search input:focus { outline: none; border-color: #667eea; box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1); background: white; }

.spmb-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%); border-radius: 24px; padding: 40px; margin-bottom: 30px; position: relative; overflow: hidden; box-shadow: 0 20px 60px rgba(102, 126, 234, 0.35); }
.spmb-header-content { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.spmb-header::before { content: ''; position: absolute; top: -50%; right: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%); animation: headerFloat 8s ease-in-out infinite; }
.spmb-header::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%); animation: headerFloat 10s ease-in-out infinite reverse; }
.spmb-header-title h1 { font-size: 28px; font-weight: 700; color: white; margin-bottom: 8px; text-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.spmb-header-title p { color: rgba(255,255,255,0.85); font-size: 14px; }

.spmb-stat-card { background: white; border-radius: 20px; padding: 24px; display: flex; align-items: center; gap: 18px; box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); border: 1px solid #e2e8f0; position: relative; overflow: hidden; }
.spmb-stat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(102, 126, 234, 0.03) 0%, rgba(118, 75, 162, 0.03) 100%); opacity: 0; transition: opacity 0.3s ease; }
.spmb-stat-card:hover::before { opacity: 1; }
.spmb-stat-card:hover { transform: translateY(-5px); box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15); }
.spmb-stat-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; color: white; flex-shrink: 0; }
.spmb-stat-icon.blue { background: linear-gradient(135deg, #667eea, #764ba2); box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4); }
.spmb-stat-icon.green { background: linear-gradient(135deg, #10b981, #34d399); box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4); }
.spmb-stat-icon.orange { background: linear-gradient(135deg, #f59e0b, #fbbf24); box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4); }
.spmb-stat-icon.red { background: linear-gradient(135deg, #ef4444, #f87171); box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4); }
.spmb-stat-info h3 { font-size: 26px; font-weight: 700; color: #1e293b; line-height: 1; margin-bottom: 4px; }
.spmb-stat-info p { font-size: 13px; color: #64748b; font-weight: 500; }

.spmb-content-card { background: white; border-radius: 24px; box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1); overflow: hidden; border: 1px solid #e2e8f0; }
.spmb-card-header { padding: 24px 30px; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; background: linear-gradient(to right, #f8fafc, #ffffff); }
.spmb-card-title { font-size: 18px; font-weight: 700; color: #1e293b; display: flex; align-items: center; gap: 10px; }
.spmb-card-title i { color: #667eea; }
.spmb-table-container { overflow-x: auto; }
.spmb-table { width: 100%; border-collapse: collapse; }
.spmb-table thead th { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); padding: 16px 20px; text-align: left; font-size: 12px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; border-bottom: 2px solid #e2e8f0; white-space: nowrap; }
.spmb-table tbody td { padding: 16px 20px; font-size: 14px; color: #1e293b; border-bottom: 1px solid #e2e8f0; vertical-align: middle; }
.spmb-table tbody tr { transition: all 0.2s ease; }
.spmb-table tbody tr:hover { background: linear-gradient(135deg, rgba(102, 126, 234, 0.02), rgba(118, 75, 162, 0.02)); }
.spmb-table tbody tr:last-child td { border-bottom: none; }
.spmb-avatar { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: white; margin-right: 12px; vertical-align: middle; }
.spmb-avatar.male { background: linear-gradient(135deg, #667eea, #764ba2); }
.spmb-avatar.female { background: linear-gradient(135deg, #f093fb, #f5576c); }

.spmb-empty { text-align: center; padding: 60px 20px; }
.spmb-empty-icon { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, #e0e7ff, #c7d2fe); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 32px; color: #667eea; }
.spmb-empty h3 { font-size: 18px; color: #1e293b; margin-bottom: 8px; }
.spmb-empty p { font-size: 14px; color: #64748b; }

.spmb-tabs { display: flex; gap: 8px; margin-bottom: 24px; background: white; padding: 8px; border-radius: 14px; width: fit-content; box-shadow: 0 10px 40px -10px rgba(0,0,0,0.1); border: 1px solid #e2e8f0; }
.spmb-tab { padding: 12px 24px; border-radius: 10px; border: none; background: transparent; color: #64748b; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; font-size: 14px; font-family: inherit; }
.spmb-tab.active { background: linear-gradient(135deg, #667eea, #764ba2); color: white; box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35); }
.spmb-tab:hover:not(.active) { color: #667eea; background: rgba(102, 126, 234, 0.08); }
.spmb-tab-content { display: none; }
.spmb-tab-content.active { display: block; animation: fadeIn 0.3s ease; }

.spmb-container { padding: 0; max-width: 100%; margin: 0; }
.alert { padding: 16px 24px; border-radius: 14px; display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; margin-bottom: 24px; animation: slideDown 0.3s ease; }
.alert-success { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #991b1b; border: 1px solid #fecaca; }

@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
    .spmb-header { padding: 24px; }
    .spmb-header-title h1 { font-size: 22px; }
    .spmb-stats-row { grid-template-columns: 1fr; }
    .spmb-form-grid { grid-template-columns: 1fr; }
    .spmb-form-group.full { grid-column: span 1; }
    .spmb-tabs { width: 100%; overflow-x: auto; }
    .spmb-card-header { flex-direction: column; align-items: flex-start; }
    .spmb-search { width: 100%; }
    .spmb-modal { max-width: 100%; border-radius: 16px; }
}
