@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
    body, button, input, select, textarea, h1, h2, h3, h4, h5, h6 {
        font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif !important;
    }

    body {
        background-color: #f8fafc; /* Nền Canvas dịu mắt (slate-50) */
        color: #475569;            /* text-slate-600 */
    }

    /* Minimalist Light Scrollbar (Notion / Linear style) */
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
    ::-webkit-scrollbar-track {
        background: #f8fafc;
    }
    ::-webkit-scrollbar-thumb {
        background: #cbd5e1; /* slate-300 */
        border-radius: 9999px;
    }
    ::-webkit-scrollbar-thumb:hover {
        background: #94a3b8; /* slate-400 */
    }
}

/* ==========================================================================
   MODERN MINIMALIST LIGHT MODE UTILITIES (STRIPE / NOTION STYLE)
   ========================================================================== */

/* Nền Grid siêu mờ tạo texture cao cấp cho canvas */
.cyber-grid-bg {
    background-color: #f8fafc;
    background-image:
        radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.03) 0%, transparent 60%),
        linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 32px 32px, 32px 32px;
}

/* Thanh điểm nhấn siêu mảnh trên cùng */
.rgb-top-bar {
    height: 2px;
    background: linear-gradient(90deg, #4f46e5, #0ea5e9, #6366f1, #4f46e5);
}

/* Thẻ nổi Surface / Card trắng tinh khiết trên nền canvas */
.surface-card, .cyber-card, .dark-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.surface-card:hover, .cyber-card:hover, .dark-card:hover {
    border-color: rgba(203, 213, 225, 1);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

/* Input Fields chuẩn Notion / Stripe */
.cyber-input {
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    border-radius: 0.75rem !important;
    transition: all 0.15s ease !important;
}

.cyber-input:focus {
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12) !important;
    outline: none !important;
}

.cyber-input::placeholder {
    color: #94a3b8 !important;
}

/* Nút bấm CTA chuẩn Light Mode */
.cyber-btn-cyan {
    background-color: #4f46e5;
    border: 1px solid rgba(79, 70, 229, 0.4);
    color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    transition: all 0.15s ease;
}
.cyber-btn-cyan:hover {
    background-color: #4338ca;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.cyber-btn-pink {
    background-color: #e11d48;
    border: 1px solid rgba(225, 29, 72, 0.4);
    color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    transition: all 0.15s ease;
}
.cyber-btn-pink:hover {
    background-color: #be123c;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.2);
}

.cyber-btn-green {
    background-color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.4);
    color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    transition: all 0.15s ease;
}
.cyber-btn-green:hover {
    background-color: #047857;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

.cyber-btn-amber {
    background-color: #d97706;
    border: 1px solid rgba(217, 119, 6, 0.4);
    color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    transition: all 0.15s ease;
}
.cyber-btn-amber:hover {
    background-color: #b45309;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.2);
}

/* Pagination Minimalist Light */
nav[role="navigation"] {
    color: #64748b;
}
nav[role="navigation"] span, 
nav[role="navigation"] a {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #475569 !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03) !important;
    transition: all 0.15s ease;
}
nav[role="navigation"] a:hover {
    background-color: #f8fafc !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}
nav[role="navigation"] span[aria-current="page"] span {
    background-color: #4f46e5 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-color: #4f46e5 !important;
}
