/* Top Chart Styling */
.top-chart-container {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin: 32px auto 0 auto;
    max-width: 1200px;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
}
.top-chart-section {
    /* background: #22242e; */
    border-radius: 12px;
    box-shadow: 0 4px 24px rgb(0 0 0 / 10%);
    padding: 32px 24px 24px 24px;
    min-width: 320px;
    max-width: 480px;
    flex: 1 1 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.top-chart-section h2 {
    color: #43ea7c;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    padding-bottom: 10px;
    border-bottom: 1px solid #121418;
}
.top-chart-section table {
    margin-top: 0;
    width: 100%;
}
.top-chart-section td, .top-chart-section th {
    font-size: 1.08rem;
}
.top-chart-section tr:nth-child(even) {
    /* background: #232b3e; */
}
.top-chart-section tr:hover {
    background: #2d3748;
}
@media (max-width: 900px) {
    .top-chart-container {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .top-chart-section {
        max-width: 80%;
        min-width: 0;
        width: 100%;
    }
}
@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Code:wght@400;600;700&display=swap');

.dialog-blur-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	background: rgba(34,34,59,0.18);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

html, body, input, button, select, textarea {
	font-family: 'Google Sans Code', 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif !important;
	letter-spacing: 0.01em;
}
/* Filter input style */
.filter-input {
	padding: 8px 16px;
	border-radius: 8px;
	border: 1px solid #2d3748;
	font-size: 1em;
	outline: none;
	margin-bottom: 0.5em;
	background: #181c2a;
	color: #e2e8f0;
	transition: border 0.2s, box-shadow 0.2s;
	box-shadow: 0 1px 4px rgba(31,156,74,0.08);
}
.filter-input:focus {
	border: 1.5px solid #43ea7c;
	box-shadow: 0 2px 8px rgba(31,156,74,0.13);
}
/* Home navigation button style */
.home-nav-btn {
	display: inline-flex;
    align-items: center;
    background: #e97600;
    color: #fff;
    border: none;
    border-radius: 8px;
	font-weight: 600;
    padding: 5px 20px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgb(0 0 0 / 65%);
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
}
.home-nav-btn:hover {
	background: #ff9c39;
	color: #fff;
	box-shadow: 0 4px 16px rgba(31,156,74,0.18);
	transform: translateY(-2px) scale(1.03);
	text-decoration: none;
}
.stokan-table th.text-right,
.stokan-table td.text-right {
	text-align: right;
}
.text-right {
	text-align: right;
}
.stokanfull-container {
	max-width: 600px;
	margin: 0px auto;
	/* background: #232b3e; */
	border-radius: 8px;
	/* box-shadow: 0 8px 32px rgba(31,156,74,0.12); */
	padding: 0px 24px;
	color: #e2e8f0;
}
.stokan-table {
	width: 100%;
	border-collapse: collapse;
	background: transparent;
}
.stokan-table th, .stokan-table td {
	padding: 12px 8px;
	text-align: left;
	border-bottom: 1px solid #111216;
}
.stokan-table th {
	/* background: #0e0e0e; */
	color: #fff;
	font-weight: 700;
	letter-spacing: 1px;
}
/* .stokan-table tr:last-child td {
	border-bottom: none;
} */
.table-btn {
	background: linear-gradient(90deg, #43ea7c 0%, #1f9c4a 100%);
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 6px 14px;
	margin: 0 2px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(31,156,74,0.18);
	transition: background 0.2s, transform 0.2s;
}
.table-btn:hover {
	background: linear-gradient(90deg, #1f9c4a 0%, #43ea7c 100%);
	transform: scale(1.08);
}
.button-group .modern-btn {
	width: 220px;
	max-width: 90vw;
	box-sizing: border-box;
}
.button-group {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	margin-top: 32px;
}
body {
	background: #181a20;
	color: #e2e8f0;
}

.text-center {
	text-align: center;
}

.modern-btn {
	display: inline-block;
	/* margin: 16px 12px; */
	padding: 16px 32px;
	font-size: 1.2rem;
	font-weight: 600;
	border-radius: 8px;
	border: none;
	background: linear-gradient(90deg, #369b58 0%, #369b58 100%);
	color: #0a0a0a;
	box-shadow: 0 2px 8px rgb(0 0 0 / 65%);
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
}

.modern-btn:hover {
	transform: translateY(-2px) scale(1.04);
	box-shadow: 0 8px 24px rgba(31,156,74,0.25);
}

.display-4 {
	font-size: 2.8rem;
	font-weight: 700;
	letter-spacing: 1px;
	margin-bottom: 0.5em;
	color: #e2e8f0;
	text-shadow: 0 2px 8px rgba(79,140,255,0.18);
}
.main-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 80px;
    gap: 20px 24px;
    justify-items: stretch;
    align-items: stretch;
    margin: 0 auto;
    max-width: 600px;
    padding: 0 8px;
}
.main-menu-grid .modern-btn {
    width: 100%;
    height: 100%;
    min-height: 80px;
    font-size: 1.15rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    border-radius: 5px;
    box-sizing: border-box;
    padding-left: 24px;
    padding-right: 12px;
    text-align: left;
    transition: box-shadow 0.2s;
}
.main-menu-grid .modern-btn:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.main-menu-grid .modern-btn span, #mainMenuBox > button > span{
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    justify-content: flex-start;
    text-align: left;
	font-weight: bold;
}
.main-menu-grid .modern-btn svg {
    flex-shrink: 0;
    margin-right: 0;
}
.item-btn-group {
    display: flex;
    gap: 8px;
}
.btn-hapus {
    background: #e74c3c;
    color: #fff;
}
.btn-edit {
    background: #27ae60;
    color: #fff;
}
.stok-low {
    background: #ad0037 !important;
    color: #fff !important;
}
.stok-low td, .stok-low .modern-btn {
    color: #fff !important;
}
.filter-form {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    align-items: center;
    margin-bottom: 12px;
}
.filter-form > div {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.filter-form > button {
    width: 100%;
    min-width: 0;
    height: 40px;
    margin-top: 0;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.filter-input, .filter-form select, .filter-form input[type="date"] {
    width: 100%;
    height: 40px;
    box-sizing: border-box;
}
@media (max-width: 600px) {
    .item-btn-group {
        flex-direction: column;
        width: 100%;
    }
    .item-btn-group button,
    .item-btn-group form {
        width: 100%;
        margin-right: 0 !important;
    }
    .main-menu-grid {
        max-width: 98vw;
        grid-template-columns: 1fr 1fr;
        gap: 16px 10px;
    }
    .main-menu-grid .modern-btn {
        font-size: 1rem;
        min-height: 64px;
        padding-left: 12px;
    }
    .filter-form {
            grid-template-columns: 1fr 1fr;
            gap: 8px 8px;
            align-items: center;
    }
    .filter-form > button {
            margin-top: 0;
            height: 38px;
    }
        .filter-form select,
        .filter-form input[type="date"],
        .filter-form input[type="text"] {
            height: 38px;
        }
}
@media (max-width: 480px) {
    .main-menu-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px 8px;
    }
}
