* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}
body {
    background: #0A0B0E;
    color: #E8EDF2;
    font-family: 'Inter', -apple-system, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

.text-green { color: #00D973; }
.text-gray { color: #8892A0; }
.text-muted { color: #556070; }
.text-red { color: #FF4757; }
.text-gold { color: #FFD700; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.flex { display: flex; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; justify-content: center; align-items: center; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
}
.btn-primary {
    background: #00D973;
    color: #0A0B0E;
    box-shadow: 0 0 30px rgba(0, 217, 115, 0.1);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(0, 217, 115, 0.25);
}
.btn-secondary {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    color: #E8EDF2;
}
.btn-secondary:hover {
    border-color: #00D973;
    color: #00D973;
    background: rgba(0, 217, 115, 0.04);
}
.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }

.card {
    background: #13161C;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}
.card:hover { border-color: rgba(0, 217, 115, 0.08); }

.status {
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
}
.status-completed { background: rgba(0, 217, 115, 0.08); color: #00D973; }
.status-pending { background: rgba(255, 165, 2, 0.08); color: #FFA502; }
.status-active { background: rgba(0, 217, 115, 0.08); color: #00D973; }
.status-rejected { background: rgba(255, 71, 87, 0.08); color: #FF4757; }

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    z-index: 999;
}
.modal-overlay.open { display: flex; }
.modal {
    background: #13161C;
    padding: 40px;
    border-radius: 24px;
    max-width: 440px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.04);
    max-height: 90vh;
    overflow-y: auto;
}
.modal h3 { font-size: 22px; margin-bottom: 8px; }
.modal p { color: #556070; margin-bottom: 20px; }
.modal .actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 20px; }

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #1A1F28;
    padding: 14px 24px;
    border-radius: 12px;
    border-left: 4px solid #00D973;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 1000;
    max-width: 400px;
}
.toast.show { display: block; animation: slideUp 0.3s ease; }
.toast.error { border-left-color: #FF4757; }
@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .container { padding: 0 16px; }
    .modal { padding: 24px; }
}
@media (max-width: 480px) {
    .grid-4 { grid-template-columns: 1fr; }
    .btn { padding: 10px 24px; font-size: 14px; }
}
