:root {
    --primary: #07B53B;
    --primary-dark: #058a2d;
    --secondary: #0ea5e9;
    --bg-main: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --glass: rgba(255, 255, 255, 0.7);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: #1e293b;
    color: #fff;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.logo-area {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-area img {
    height: 32px;
}

.nav-links {
    list-style: none;
    flex-grow: 1;
}

.nav-item {
    margin-bottom: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.nav-link i {
    width: 20px;
}

/* Main Content */
.main-content {
    flex-grow: 1;
    padding: 32px;
    overflow-y: auto;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

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

.stat-card {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
}

/* Glass Table */
.data-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 12px;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}

td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--border);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-paid,
.status-completed {
    background: #dcfce7;
    color: #166534;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

/* Sidebar Badges */
.badge {
    background: #ef4444;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: auto;
}

.badge-warning {
    background: #f59e0b;
}

/* User Info Sidebar */
.user-info-sidebar {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Action Buttons */
.btn-approve {
    background: var(--primary);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
}

.btn-reject {
    background: #ef4444;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    margin-left: 4px;
}

.btn-approve:hover,
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-reject:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

/* Premium Modal System */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #ffffff;
    padding: 0;
    border-radius: 24px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s ease-out;
    overflow: hidden;
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 32px;
    color: white;
    text-align: center;
}

.modal-banner i {
    font-size: 48px;
    margin-bottom: 16px;
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-block;
}

.modal-header-new {
    padding: 24px 32px 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-form-container {
    padding: 32px;
}

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

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: 14px;
    font-size: 15px;
    color: var(--text-main);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(7, 181, 59, 0.1);
    transform: translateY(-1px);
}

.modal-footer {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.modal-footer button {
    flex: 1;
    padding: 14px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-modal-primary {
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 6px -1px rgba(7, 181, 59, 0.2);
}

.btn-modal-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(7, 181, 59, 0.3);
}

.btn-modal-secondary {
    background: #f1f5f9;
    color: var(--text-muted);
    border: none;
}

.btn-modal-secondary:hover {
    background: #e2e8f0;
}

/* Settings Specific */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.payment-method-card {
    background: #f8fafc;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.payment-method-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.bank-item {
    background: #fff;
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    transition: all 0.2s;
}

.bank-item:hover {
    transform: translateX(4px);
    border-color: var(--primary);
}

.bank-info h4 {
    font-weight: 700;
    color: var(--primary);
    font-size: 15px;
    margin-bottom: 2px;
}

.bank-info p {
    font-size: 14px;
    color: var(--text-main);
    font-family: 'JetBrains Mono', monospace;
}

.bank-info span {
    font-size: 11px;
    color: var(--text-muted);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-secondary {
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
}

/* Navigation Grouping */
.nav-link.active {
    background: var(--primary);
    color: white;
}

.nav-link.active i {
    color: white;
}