/* ============================================================
   NPL Market Indonesia – Global Branding & UI System
   ============================================================ */

/* === Base Typography === */
body {
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f7fa;
    color: #222;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #0b3a82;
    letter-spacing: 0.2px;
    margin-bottom: 0.75rem;
}

p, label, small {
    color: #444;
}

/* === Links === */
a {
    color: #0b3a82;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #072b66;
    text-decoration: underline;
}

/* === Buttons === */
.btn-primary,
.btn-outline-primary {
    font-weight: 600;
    border-radius: 0.45rem;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: #0b3a82;
    border-color: #0b3a82;
}

.btn-primary:hover {
    background-color: #072b66;
    border-color: #072b66;
}

.btn-outline-primary {
    color: #0b3a82;
    border-color: #0b3a82;
}

.btn-outline-primary:hover {
    background-color: #0b3a82;
    color: #fff;
}

/* === Navbar === */
.navbar {
    background-color: #0b3a82 !important;
}

.navbar .navbar-brand {
    font-weight: 700;
    letter-spacing: 0.3px;
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: #fff !important;
}

/* --- Navbar profile section --- */
.navbar .nav-item img {
    width: 28px !important;
    height: 28px !important;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.7);
    vertical-align: middle;
}

.navbar .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.25rem 0.5rem;
}

.navbar .dropdown-toggle::after {
    margin-left: 4px;
}

.navbar .small.text-white {
    line-height: 1;
}

.dropdown-menu {
    font-size: 0.9rem;
}

/* === Sections & Layout === */
section {
    scroll-margin-top: 70px;
}

section.bg-light {
    background-color: #f8f9fa !important;
}

/* === Hero Section === */
.hero {
    background: linear-gradient(135deg, #0b3a82 0%, #072b66 100%);
    color: #fff;
    padding: 5rem 1rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* === Feature Cards === */
.feature-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.25s ease;
    height: 100%;
}

.feature-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

/* === Auth Pages (Login / Register) === */
.auth-wrapper {
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f7f9fb;
}

.auth-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 420px;
}

.auth-title {
    font-size: 1.8rem;
    text-align: center;
    color: #0b3a82;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.auth-nav {
    text-align: center;
    margin-bottom: 1.8rem;
}

.auth-nav a {
    margin: 0 0.8rem;
    color: #777;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    padding-bottom: 0.2rem;
}

.auth-nav a.active {
    color: #0b3a82;
    border-color: #0b3a82;
}

.auth-form label {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}

.auth-form input,
.auth-form select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    margin-top: 0.4rem;
    border: 1px solid #ccc;
    border-radius: 0.4rem;
    font-size: 0.95rem;
}

.auth-form input:focus,
.auth-form select:focus {
    border-color: #0b3a82;
    outline: none;
}

.auth-alt {
    text-align: center;
    margin-top: 1rem;
    color: #555;
}

.auth-alt a {
    color: #0b3a82;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}

/* === Footer === */
footer {
    background-color: #f1f3f6;
    color: #555;
}

footer a {
    color: #0b3a82;
}

footer a:hover {
    color: #072b66;
}

/* === Utilities === */
.text-primary {
    color: #0b3a82 !important;
}

.bg-primary {
    background-color: #0b3a82 !important;
}

.border {
    border-color: #e0e0e0 !important;
}

.hover-shadow:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.2s ease;
}

