/* ==========================================
   GLOBAL STYLES & RESET
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Figtree', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.d-flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-3 {
    gap: 1.5rem;
}

/* ==========================================
   BUTTON STYLES
   ========================================== */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #6b0000;
    color: white;
    border: 2px solid #6b0000;
}

.btn-primary:hover {
    background: #4a0000;
    border-color: #4a0000;
    box-shadow: 0 8px 25px rgba(107, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1e3a8a;
}

.btn-success {
    background: linear-gradient(135deg, #1e3a8a 0%, #2d5aa8 100%);
    color: white;
    border: 2px solid rgba(255, 215, 0, 0.9);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.25);
}

.btn-success:hover {
    background: linear-gradient(135deg, #2d5aa8 0%, #3b6fbf 100%);
    border-color: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 35px rgba(30, 58, 138, 0.4);
    transform: translateY(-2px);
}

.btn-danger {
    background: #ef4444;
    color: white;
    border: 2px solid #ef4444;
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

/* ==========================================
   FORM STYLES
   ========================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: 'Figtree', sans-serif;
}

.form-control:focus {
    outline: none;
    border-color: #6b0000;
    box-shadow: 0 0 0 3px rgba(107, 0, 0, 0.1);
}

.form-control.is-invalid {
    border-color: #dc2626;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #6b0000;
}

.form-check label {
    cursor: pointer;
    color: #4b5563;
    font-weight: 500;
}

/* ==========================================
   CARD STYLES
   ========================================== */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
}

/* ==========================================
   ALERT STYLES
   ========================================== */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-info {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    padding: 0;
    transition: color 0.3s;
}

.btn-close:hover {
    color: currentColor;
    opacity: 0.8;
}

/* ==========================================
   MODAL STYLES
   ========================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    margin: auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #1f2937;
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.close {
    color: #9ca3af;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #1f2937;
}

/* ==========================================
   TABLE STYLES
   ========================================== */
.table {
    width: 100%;
    border-collapse: collapse;
}

.table thead {
    background: #f9fafb;
}

.table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 2px solid #e5e7eb;
}

.table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.table tbody tr:hover {
    background: #f9fafb;
}

/* ==========================================
   HEADER & NAVIGATION STYLES
   ========================================== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #6b0000;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    background: linear-gradient(45deg, #6b0000, #1e3a8a);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #1e3a8a;
}

.nav-links .btn.btn-primary {
    background: #6b0000;
    color: #fff !important;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 2px 12px rgba(107, 0, 0, 0.12);
}

.nav-links .btn.btn-primary:hover {
    background: #4a0000;
    color: #fff !important;
}

.nav-links .btn.btn-secondary {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.nav-links .btn.btn-success {
    padding: 12px 24px;
    font-size: 1rem;
    background: linear-gradient(135deg, #6b0000 0%, #1e3a8a 100%) !important;
    border: 2px solid rgba(255, 215, 0, 0.9) !important;
    box-shadow: 0 8px 35px rgba(107, 0, 0, 0.35), 0 2px 8px rgba(30, 58, 138, 0.2) !important;
    color: #fff !important;
    font-weight: 700;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.nav-links .btn.btn-success:hover {
    transform: translateY(-4px) scale(1.05) !important;
    box-shadow: 0 16px 50px rgba(107, 0, 0, 0.5), 0 4px 12px rgba(30, 58, 138, 0.4),
        inset 0 0 20px rgba(255, 215, 0, 0.1) !important;
    background: linear-gradient(135deg, #8b0000 0%, #2d5aa8 100%) !important;
    border-color: rgba(255, 255, 255, 1) !important;
}

/* CTA button for primary actions in the navbar (Login) */
.nav-links .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6b0000 0%, #1e3a8a 100%) !important;
    /* senada dengan tema hero - red to blue gradient */
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 8px 35px rgba(107, 0, 0, 0.35), 0 2px 8px rgba(30, 58, 138, 0.2) !important;
    border: 2px solid rgba(255, 215, 0, 0.9) !important;
    /* gold border untuk contrast */
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.25s ease,
        opacity 0.25s ease,
        background 0.25s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.nav-links .btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-links .btn-cta:hover::before {
    left: 100%;
}

.nav-links .btn-cta:hover,
.nav-links .btn-cta:focus {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 16px 50px rgba(107, 0, 0, 0.5), 0 4px 12px rgba(30, 58, 138, 0.4),
        inset 0 0 20px rgba(255, 215, 0, 0.1) !important;
    background: linear-gradient(135deg, #8b0000 0%, #2d5aa8 100%) !important;
    border-color: rgba(255, 255, 255, 1) !important;
}

.nav-links .btn-cta:active {
    transform: translateY(-1px) scale(0.98);
}

/* Small icon inside CTA (optional) */
.nav-links .btn-cta .cta-icon {
    font-size: 1.2rem;
    line-height: 1;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ==========================================
   HOMEPAGE STYLES
   ========================================== */
body.homepage {
    background: linear-gradient(135deg, #6b0000 0%, #1e3a8a 100%);
}

.hero {
    text-align: center;
    padding: 4rem 0;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, #6b0000 0%, #1e3a8a 100%) !important;
    border: 2px solid rgba(255, 215, 0, 0.9) !important;
    box-shadow: 0 8px 35px rgba(107, 0, 0, 0.35), 0 2px 8px rgba(30, 58, 138, 0.2) !important;
    font-size: 1.05rem;
    padding: 14px 32px;
}

.cta-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #8b0000 0%, #2d5aa8 100%) !important;
    border-color: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 16px 50px rgba(107, 0, 0, 0.5), 0 4px 12px rgba(30, 58, 138, 0.4) !important;
    transform: translateY(-4px) scale(1.05) !important;
}

.features {
    background: white;
    padding: 5rem 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1f2937;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e5e7eb;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #6b0000, #1e3a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1f2937;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

.stats {
    background: linear-gradient(135deg, #6b0000 0%, #1e3a8a 100%);
    color: white;
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #f59e0b;
}

.stat-item p {
    opacity: 0.8;
}

.api-section {
    background: #f9fafb;
    padding: 5rem 0;
}

.api-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1f2937;
}

.api-section p {
    text-align: center;
    font-size: 1.125rem;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.api-endpoints {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.endpoint {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    font-family: 'Courier New', monospace;
}

.endpoint:last-child {
    border-bottom: none;
}

.method {
    background: #6b0000;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 1rem;
    min-width: 60px;
    text-align: center;
}

.method.post {
    background: #3b82f6;
}

.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer p,
.footer a {
    color: #9ca3af;
    text-decoration: none;
    line-height: 1.6;
}

.footer a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* ==========================================
   LOGIN PAGE STYLES
   ========================================== */
body.login-page {
    background: linear-gradient(135deg, #6b0000 0%, #1e3a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.login-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, #6b0000 0%, #8b0000 100%);
    padding: 2rem;
    text-align: center;
    color: white;
}

.login-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.login-logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.login-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    opacity: 0.9;
    font-size: 0.9rem;
}

.login-body {
    padding: 2rem;
}

.login-footer {
    padding: 1.5rem 2rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.back-link {
    color: #6b0000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.back-link:hover {
    color: #4a0000;
}

.btn-login {
    width: 100%;
    padding: 0.875rem;
    font-size: 1.05rem;
}

/* ==========================================
   ADMIN PANEL STYLES
   ========================================== */
body.admin-panel {
    background: #f3f4f6;
}

.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.sidebar-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

.sidebar-menu {
    padding: 1.5rem 0;
}

.menu-section {
    margin-bottom: 1.5rem;
}

.menu-section-title {
    padding: 0 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #9ca3af;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #d1d5db;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.menu-item.active {
    background: linear-gradient(90deg, rgba(107, 0, 0, 0.8) 0%, rgba(107, 0, 0, 0.4) 100%);
    color: white;
    border-right: 3px solid #6b0000;
}

.menu-item-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
}

.menu-item-text {
    font-weight: 500;
}

.main-content {
    flex: 1;
    margin-left: 260px;
    background: #f3f4f6;
}

.topbar {
    background: white;
    padding: 1.25rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 99;
}

.topbar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #6b0000, #1e3a8a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: #1f2937;
}

.user-role {
    font-size: 0.875rem;
    color: #6b7280;
}

.content-area {
    padding: 2rem;
}

.page-header {
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.page-description {
    color: #6b7280;
    font-size: 1rem;
}

.mobile-menu-toggle {
    display: none;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 768px) {

    /* Navigation */
    .nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Modal */
    .modal-content {
        width: 95%;
    }

    /* Hero */
    .hero h1 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Admin Panel */
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s;
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: #1f2937;
    }

    .content-area {
        padding: 1rem;
    }

    .topbar {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .topbar-user {
        width: 100%;
    }

    /* Forms & Cards */
    .form-group {
        margin-bottom: 1rem;
    }

    .card {
        margin-bottom: 1rem;
    }

    /* Tables */
    .table {
        font-size: 0.875rem;
    }

    .table th,
    .table td {
        padding: 0.75rem;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Button sizing on mobile */
    .btn {
        padding: 10px 16px;
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .features h2 {
        font-size: 2rem;
    }

    .api-section h2 {
        font-size: 2rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .topbar-title {
        font-size: 1.25rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        width: 100%;
        border-radius: 0;
    }
}

/* ==========================================
   TOKENS PAGE SPECIFIC STYLES
   ========================================== */
.tokens-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.card-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.card-header-with-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-body-no-padding {
    padding: 0;
}

.form-actions {
    margin-bottom: 0;
}

.form-inline {
    display: inline;
}

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

.error-message {
    color: #dc2626;
    display: block;
    margin-top: 0.25rem;
}

.help-text {
    color: #6b7280;
    display: block;
    margin-top: 0.25rem;
}

.empty-state {
    padding: 2rem;
    text-align: center;
    color: #6b7280;
}

/* ==========================================
   FONTS
   ========================================== */
@import url('https://fonts.bunny.net/css?family=figtree:400,500,600,700&display=swap');