main > .container, main > .container-fluid {
    padding-top: 100px;
    padding-bottom: 60px;
}

.auth-page-container {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: calc(100vh - 400px);
}



.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

/* Custom Modern Styling for JIM Pekanbaru - Inspired by inspectormobil.id */
:root {
    --primary-color: #0c1e35; /* Deep Blue */
    --secondary-color: #1e40af; /* Royal Blue */
    --accent-color: #fbbf24; /* Amber/Gold */
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.navbar {
    background: var(--primary-color) !important;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--white) !important;
}

.navbar-brand span {
    color: var(--accent-color);
}

.nav-link {
    font-weight: 500;
    color: rgba(255,255,255,0.8) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e293b 100%);
    padding: 6rem 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.1;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 8px;
    padding: 0.75rem 2rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #f59e0b;
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.4);
    color: var(--primary-color);
}

.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

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

.section-title {
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(30, 64, 175, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.package-card {
    border: 2px solid transparent;
}

.package-card.recommended {
    border-color: var(--accent-color);
    position: relative;
}

.package-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-weight: 700;
    font-size: 0.8rem;
}

.footer {
    background: var(--primary-color);
    color: #94a3b8;
    padding: 80px 0 40px;
}

.footer h5 {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 2rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-link:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    margin-top: 60px;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
    color: var(--accent-color) !important;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 1rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.rating-stars {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Dashboard Link Styling */
.auth-page-container a:not(.btn) {
    color: var(--primary-color); /* Navy Blue */
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.auth-page-container h1.text-primary, 
.auth-page-container .text-primary {
    color: var(--primary-color) !important;
}

.auth-page-container a:not(.btn):hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Breadcrumbs Styling */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
}

.breadcrumb-item a {
    color: var(--text-muted) !important;
    text-decoration: none !important;
}

.breadcrumb-item.active {
    color: var(--primary-color) !important;
    font-weight: 700;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #cbd5e1;
}

/* GridView Header Styling */
.grid-view thead th, 
.grid-view thead th a {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    text-transform: capitalize;
}

/* Responsive Table Shadow */
.table-responsive {
    border-radius: 12px;
}

.grid-view .table.table-hover tbody tr:hover {
    background-color: rgba(67, 24, 255, 0.02) !important;
}

.form-select.rounded-pill {
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
}