:root {
	--gpay-blue: #0b57d0;
	--gpay-blue-dark: #004a77;
	--gpay-surface: #f1f3f4;
}

/* Base Style overrides */
body {
	font-family: 'Google Sans', 'Roboto', sans-serif;
	transition: background 0.3s;
}

[data-bs-theme="dark"] body {
	background-color: #131314;
}

/* Sticky Headers */
.search-container {
	z-index: 1031;
	height: 75px;
}

.header-stats {
	z-index: 1030;
	top: 75px;
	height: 70px;
}

main {
	margin-top: 155px;
	margin-bottom: 120px;
}

/* Custom Inputs */
.search-box {
	background: var(--gpay-surface);
	border-radius: 28px;
	height: 48px;
}

[data-bs-theme="dark"] .search-box {
	background: #28292a;
}

.search-box input:focus {
	box-shadow: none;
}

.gpay-input {
	background: #f8f9fa;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
	padding: 12px;
}

[data-bs-theme="dark"] .gpay-input {
	background: #28292a;
	border-color: #444;
	color: white;
}

.gpay-input-group {
	background: #f8f9fa;
	border: 1px solid #e0e0e0;
	border-radius: 12px;
}

[data-bs-theme="dark"] .gpay-input-group {
	background: #28292a;
	border-color: #444;
}

/* Navigation */
.nav-item {
	cursor: pointer;
	color: #5f6368;
	width: 80px;
	padding: 8px 0;
}

.nav-icon-bg {
	width: 64px;
	height: 32px;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
	transition: 0.2s;
}

.nav-item.active {
	color: var(--gpay-blue);
	font-weight: 500;
}

[data-bs-theme="dark"] .nav-item.active {
	color: #a8c7fa;
}

.nav-item.active .nav-icon-bg {
	background: #d3e3fd;
}

[data-bs-theme="dark"] .nav-item.active .nav-icon-bg {
	background: #004a77;
}

.nav-label {
	font-size: 11px;
	margin-top: 4px;
	display: block;
}

/* FAB */
.gpay-fab-circular {
	position: fixed;
	bottom: 85px;
	right: 20px;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--gpay-blue-dark);
	color: white;
	border: none;
	z-index: 1050;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

	.gpay-fab-circular:active {
		transform: scale(0.92);
	}

/* List Item UI */
.row-item {
	display: grid;
	grid-template-columns: 55px 1fr auto;
	gap: 12px;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid #f1f1f1;
	cursor: pointer;
}

[data-bs-theme="dark"] .row-item {
	border-bottom-color: #28292a;
}

.date-circle {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #f8f9fa;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 1px solid #eee;
}

[data-bs-theme="dark"] .date-circle {
	background: #28292a;
	border-color: #444;
}

.date-day {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--gpay-blue);
	line-height: 1;
}

.date-month {
	font-size: 0.6rem;
	font-weight: 700;
	text-transform: uppercase;
	color: #5f6368;
}

/* Button Styles */
.btn-success {
	background-color: #146c2e !important;
}

.btn-danger {
	background-color: #b3261e !important;
}

.btn-light {
	background-color: #f1f3f4;
	color: #1f1f1f;
}

[data-bs-theme="dark"] .btn-light {
	background-color: #3c4043;
	color: white;
}

.no-scrollbar::-webkit-scrollbar {
	display: none;
}


/* Padding for Dropdown Items */
.dropdown-item {
	border-radius: 12px;
	padding: 10px 16px;
	margin-bottom: 2px;
	font-weight: 500;
}

	.dropdown-item:last-child {
		margin-bottom: 0;
	}

/* Modal Header padding alignment */
.modal-header {
	padding: 1.5rem 1.5rem 0.5rem 1.5rem !important;
}

/* Ensure Amount group height matches button height */
.gpay-input-group .input-group-text,
.gpay-input-group .form-control {
	padding: 12px !important;
}