@charset "utf-8";
/* CSS Document */

:root {
	--primary-color: #0f172a;
	--accent-color: #3b82f6;
	--text-muted: #64748b;
	--bg-light: #f8fafc;
}

body { 
	font-family: 'Plus Jakarta Sans', sans-serif; 
	color: var(--primary-color);
	background-color: #ffffff;
	overflow-x: hidden;
}

/* Hero Section - Fit to Screen */
.hero-wrapper {
	min-height: 100vh;
	display: flex;
	align-items: center;
	background: radial-gradient(circle at top right, #eff6ff, transparent);
}

.navbar {
	padding: 1.5rem 0;
	transition: all 0.3s ease;
}

.navbar-brand {
	font-weight: 700;
	letter-spacing: -0.5px;
	font-size: 1.25rem;
}

h1 {
	font-size: 2.75rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -1px;
	margin-bottom: 1.5rem;
}

h2 {
	font-size: 1.75rem;
	font-weight: 700;
	letter-spacing: -0.5px;
}

.lead {
	font-size: 1.1rem;
	color: var(--text-muted);
	margin-bottom: 2rem;
	max-width: 500px;
}

.label-small {
	font-size: 0.7rem;
}

/* Image Styling */
.hero-img-container {
	position: relative;
}

.hero-img-main {
	width: 100%;
	border-radius: 24px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
	object-fit: cover;
	height: 500px;
}

/* Floating Badge */
.floating-badge {
	position: absolute;
	bottom: 20px;
	left: -20px;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	padding: 15px 25px;
	border-radius: 16px;
	box-shadow: 0 10px 15px rgba(0,0,0,0.05);
	display: flex;
	align-items: center;
	gap: 12px;
	animation: float 3s ease-in-out infinite;
}

@keyframes float {
	0% { transform: translateY(0px); }
	50% { transform: translateY(-10px); }
	100% { transform: translateY(0px); }
}

/* Modularitas Cards */
.feature-card {
	border: 1px solid #f1f5f9;
	border-radius: 20px;
	padding: 1.5rem;
	transition: all 0.3s ease;
	background: #fff;
	height: 100%;
}

.feature-card:hover {
	border-color: var(--accent-color);
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
	transform: translateY(-5px);
}

.icon-box {
	width: 42px;
	height: 42px;
	background: #eff6ff;
	color: var(--accent-color);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
	font-size: 1.1rem;
}

/* USP Security Section */
.usp-section {
	background-color: var(--bg-light);
	border-radius: 32px;
	padding: 4rem 3rem;
	margin-bottom: 5rem;
}

.usp-item {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.usp-icon-circle {
	width: 32px;
	height: 32px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent-color);
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
	flex-shrink: 0;
	font-size: 0.8rem;
}

.btn-primary {
	background-color: var(--primary-color);
	border: none;
	padding: 12px 28px;
	border-radius: 12px;
	font-weight: 600;
	transition: all 0.3s;
}

.btn-primary:hover {
	background-color: var(--accent-color);
	transform: scale(1.02);
}

.nav-link-v1 {
	color: var(--text-muted);
	font-weight: 500;
	text-decoration: none;
	font-size: 0.9rem;
	transition: 0.3s;
}

.nav-link-v1:hover { color: var(--accent-color); }

@media (max-width: 991px) {
	h1 { font-size: 2.25rem; }
	.hero-img-main { height: 350px; margin-top: 3rem; }
	.usp-section { padding: 2.5rem 1.5rem; }
}

.badge.bg-outline-primary {
    color: var(--accent-color);
    background: #eff6ff;
    border: 1px solid #dbeafe;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 500;
}

.border-dashed {
    border-style: dashed !important;
}


/* Dashboard Layout */
.wrapper {
    display: flex;
    align-items: stretch;
    min-height: 100vh;
}

#sidebar {
    min-width: 260px;
    max-width: 260px;
    background: var(--primary-color);
    color: #fff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: fixed;
    height: 100vh;
	display: flex;
    flex-direction: column;
    z-index: 1050;
}

#sidebar .sidebar-header {
    padding: 1.2rem 1rem;
    background: var(--primary-color);
}

#sidebar .sidebar-header small {
    font-size: 0.75rem; /* Management by... dibuat lebih mungil */
}

#sidebar ul p {
    color: var(--text-muted);
    padding: 15px 20px 5px 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0px;	
}

#sidebar ul li a {
    padding: 4px 20px;
    font-size: 0.88rem;
    display: block;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

#sidebar ul li a i {
    font-size: 1.2rem;
    min-width: 24px;
}    

#sidebar ul li a:hover, #sidebar ul li.active > a {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

#sidebar ul li.active > a {
    border-right: 4px solid var(--accent-color);
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0) 100%);
}

/* --- Penambahan logic Toggle Sidebar --- */
#sidebar.active {
    margin-left: -260px; /* Sembunyikan sidebar ke kiri */
}

/* Sidebar Mini State */
#sidebar.mini {
    width: 80px;
    min-width: 80px;
}

#sidebar.mini .sidebar-header h4, 
#sidebar.mini .sidebar-header small,
#sidebar.mini ul p,
#sidebar.mini ul li a span {
    display: none; /* Sembunyikan teks saat mini */
}

#sidebar.mini .sidebar-header .logo {
	font-size: 0.5rem;
}

.logo-mini {
	font-size: 0.5rem;
}

#sidebar.mini ul li a {
    justify-content: center;
    padding: 15px 0;
}

/* Label Judul di Floating Menu (Opsional) */
.submenu-title {
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent-color);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 5px;
}

/* Floating Sub-menu Logic */
.nav-item-dropdown {
    position: relative;
}

.floating-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 220px;
    background: #1e293b; /* Warna sedikit lebih terang dari primary */
    display: none;
    list-style: none;
    padding: 10px 0;
    border-radius: 0 12px 12px 0;
    box-shadow: 10px 0 15px rgba(0,0,0,0.1);
    z-index: 9999;
}

/* Jika menu berada di bagian bawah layar, buat sub-menu muncul ke atas (Bottom-up) */
#sidebar ul li:nth-last-child(-n+1) .floating-submenu {
    top: auto;
    bottom: 0; /* Muncul dari bawah ke atas untuk 3 menu terakhir */
}

/* Munculkan saat Hover */
.nav-item-dropdown:hover > .floating-submenu {
    display: block;
}

/* Link di dalam Floating Menu */
.floating-submenu li a {
    padding: 0px 20px !important;
    font-size: 0.85rem !important;
    white-space: nowrap;
    border-right: none !important;
    background: transparent !important;	
}

.floating-submenu li a:hover {
    background: rgba(255,255,255,0.1) !important;
    color: var(--accent-color) !important;
}

/* Styling icon di dalam floating submenu */
.floating-submenu li a i {
    font-size: 1rem;
    width: 20px;
    margin-right: 10px;
    color: var(--text-muted);
    transition: 0.3s;
}

.floating-submenu li a:hover i {
    color: var(--accent-color);
}


/* Floating Sub-menu Logic - Enhanced to 2 Columns */
.floating-submenu-2 {
    position: absolute;
    left: 100%;
    top: 0;
    display: none; /* Muncul saat hover */
    flex-direction: row; /* Mengatur kolom secara menyamping */
    background: #1e293b;
    padding: 10px;
	border-radius: 0 12px 12px 0;
    box-shadow: 10px 0 15px rgba(0,0,0,0.1);
    z-index: 9999;
    border: 1px solid rgba(255,255,255,0.05);
    min-width: 600px; /* Lebar total 2 kolom */
}

/* Label Judul (Span 2 Kolom) 
.submenu-title-2 {
    grid-column: span 2; 
    padding: 12px 15px !important;
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--accent-color);
    letter-spacing: 1.2px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 8px;
    display: block;
}*/

/* Munculkan saat Hover dengan Display Grid */
.nav-item-dropdown:hover > .floating-submenu-2 {
    display: flex;
}

/* Container Kolom */
.submenu-column {
    flex: 1; /* Membagi ruang sama rata */
    display: flex;
    flex-direction: column;
    min-width: 240px;
}

/* Garis pembatas antar kolom */
.submenu-column:first-child {
    border-right: 1px solid rgba(255,255,255,0.05);
}

/* Sub Title per Kolom */
.column-title {
    padding: 10px 15px;
    font-weight: 800;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--accent-color); /* Menggunakan variabel blue Anda */
    letter-spacing: 1px;
    margin-bottom: 10px;
    opacity: 0.8;
}

/* Item Link */
.submenu-column ul {
    padding: 0px !important;
}

.submenu-column li {
    list-style: none;
    display: block;
}

.submenu-column li a {
    padding: 1px 3px !important;
    font-size: 0.82rem !important;
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0 5px;
}

.submenu-column li a:hover {
    background: rgba(255,255,255,0.05) !important;
    color: #fff !important;
    transform: translateX(5px);
}

.submenu-column li a i {
    width: 25px;
    font-size: 1rem;
    color: var(--text-muted);
}





#content {
    width: calc(100% - 260px);
    padding: 0;
    min-height: 100vh;
    transition: all 0.3s;
    margin-left: 260px;
    background-color: #f8fafc;
}

/* Adjust Content Area */
#content.wide {
    margin-left: 80px;
    width: calc(100% - 80px);
}

#content.active {
    width: 100%;
    margin-left: 0;
}

/* Tombol Toggle Styling */
.btn-toggle {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: var(--primary-color);
    border-radius: 8px;
    padding: 5px 12px;
    transition: all 0.3s;
}

.btn-toggle:hover {
    background: var(--accent-color);
    color: #fff;
}

/* Responsive: Mobile Mode */
@media (max-width: 768px) {
    #sidebar {
        margin-left: -260px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #content {
        width: 100%;
        margin-left: 0;
    }
    #content.active {
        margin-left: 0; /* Content tidak bergeser di mobile saat sidebar muncul */
    }
}

.top-navbar-app {
    background: #fff;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e2e8f0;
}


/* Styling Tile Aplikasi dalam Dropdown */
.app-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border: 1px solid transparent;
    background: #fff;
}

.app-tile:hover:not(.disabled) {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    transform: translateY(-2px);
}

.app-tile.active {
    background-color: #f0f7ff;
    border-color: #0d6efd;
}

.app-tile i {
    margin-bottom: 4px;
}

.app-tile span {
    font-size: 0.75rem;
    font-weight: 700;
    color: #333;
}

.app-tile small {
    font-size: 0.6rem;
    color: #888;
}

.app-tile.disabled {
    pointer-events: none; /* Mencegah klik */
    user-select: none;
}





/* Styling Avatar Profile */
.avatar-container {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
}

/* Navbar Tuning */
.top-navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px); /* Efek blur kaca di background */
}

.main-container {
    padding: 2rem;
}

/* Dashboard Cards */
.stat-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}


/* Security Page Specific */
.bg-gradient-dark {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.security-card {
    border: none;
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s ease;
    height: 100%;
}

.security-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.icon-badge {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    color: #3b82f6;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.shield-check {
    color: #10b981;
    margin-right: 10px;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    color: #64748b;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2rem;
}


/* action button */
.action-gap {
	display: flex;
	gap: 3px;
	justify-content: center;
}

/* Base Style Tombol */
.btn-action-custom {
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px; /* Modern Rounded */
	border: none;
	transition: all 0.25s ease;
	text-decoration: none;
	font-size: 1.1rem;
	position: relative;
}

/* Hover Effect Umum */
.btn-action-custom:hover {
	transform: translateY(-3px);
	box-shadow: 0 5px 12px rgba(0,0,0,0.1);
}

/* Variasi Warna Premium */
.btn-share-row { background-color: rgba(13, 110, 253, 0.1); color: #20c997; }
.btn-share-row:hover { background-color: #20c997; color: white; }

.btn-view-row { background-color: rgba(13, 110, 253, 0.1); color: #0d6efd; }
.btn-view-row:hover { background-color: #0d6efd; color: white; }

.btn-print-row { background-color: rgba(108, 117, 125, 0.1); color: #6c757d; }
.btn-print-row:hover { background-color: #6c757d; color: white; }

.btn-edit-row { background-color: rgba(255, 193, 7, 0.15); color: #997404; }
.btn-edit-row:hover { background-color: #ffc107; color: white; }

.btn-delete-row { background-color: rgba(220, 53, 69, 0.1); color: #dc3545; }
.btn-delete-row:hover { background-color: #dc3545; color: white; }
	
.btn-purple-row { background-color: rgba(111, 66, 193, 0.1); color: #6f42c1; }
.btn-purple-row:hover { background-color: #6f42c1; color: white; }

.btn-indigo-row { background-color: rgba(102, 16, 242, 0.1); color: #6610f2; }
.btn-indigo-row:hover { background-color: #6610f2; color: white; }

.btn-teal-row { background-color: rgba(32, 201, 151, 0.1); color: #198754; }
.btn-teal-row:hover { background-color: #198754; color: white; }

.btn-pink-row { background-color: rgba(214, 51, 132, 0.1); color: #d63384; }
.btn-pink-row:hover { background-color: #d63384; color: white; }



/* Custom Soft Colors for TilapiaCore UI */
.bg-blue-soft { 
    background-color: #e7f1ff !important; 
    color: #0d6efd !important; 
    border: 1px solid rgba(13, 110, 253, 0.2);
}
.bg-pink-soft { 
    background-color: #fff0f3 !important; 
    color: #d63384 !important; 
    border: 1px solid rgba(214, 51, 132, 0.2);
}
.bg-indigo-soft { 
    background-color: #e7f1ff !important; 
    color: #6610f2 !important; 
    border: 1px solid rgba(214, 51, 132, 0.2);
}
.bg-purple-soft { 
    background-color: #e7f1ff !important; 
    color: #6f42c1 !important; 
    border: 1px solid rgba(214, 51, 132, 0.2);
}


.text-purple { color: #6f42c1 !important; }
.text-indigo { color: #6610f2 !important; }
.text-teal { color: #20c997 !important; }
.text-pink { color: #d63384 !important; }
.text-orange { color: #fd7e14 !important; }
.text-cyan { color: #0dcaf0 !important; }
.text-yellow { color: #ffc107 !important; }


/* Extra Small Button/Badge */
.btn-xs, .badge-xs {
    padding: 2px 6px !important;
    font-size: 0.65rem !important;
    line-height: 1.2;
    border-radius: 4px;
}

.text-size-small {
	font-size: 0.75rem !important;
}

/* Mengecilkan teks pada kotak pilihan (selection) */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 0.75rem !important;
    line-height: 2; /* Sesuaikan agar teks tetap di tengah secara vertikal */
}

/* Mengecilkan teks pada daftar pilihan (dropdown/opsi) */
.select2-results__option {
    font-size: 0.75rem !important;
}

/* Jika Anda menggunakan select2-sm dari Bootstrap 5, sesuaikan tinggi kotaknya */
.select2-container .select2-selection--single {
    height: 31px !important; /* Sesuaikan dengan tinggi form-select-sm */
}


/* Hover Effect Umum 
#areaKwitansi {
	font-family: 'Georgia', serif; /* Font klasik kwitansi 
	color: #333;
}

.kwitansi-content .row {
	margin-bottom: 20px;
}

#k_amount {
	font-family: 'Arial Black', sans-serif;
}

@media print {
    body.mode-portrait @page { size: portrait; }
    body.mode-landscape @page { size: landscape; margin: 0;}
    
    /* Pastikan ID area cetaknya spesifik
    body.mode-portrait #areaBuktiKas { visibility: visible; }
    body.mode-landscape #areaKwitansi { visibility: visible; }
	
	#areaKwitansi { 
		padding: 50px !important; 
		border: none !important;
	}
} */


