* {
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	box-sizing: border-box;
	outline: none;
	transition: background-color 0.4s ease, color 0.4s ease;
}
body {
	min-height: 100vh;
	background-image: linear-gradient(to right, #eacda3, #d6ae7b);
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
}
body.dark {
	background-image: linear-gradient(135deg, #152331, #000000);
}
.container {
	width: 260px;
	background-color: #fff;
	box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.18);
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	padding-bottom: 14px;
}
body.dark .container {
	background-color: #11161d;
}
.container .calculator {
	width: 100%;
}
.calculator .toggle-header {
	width: 100%;
	height: 50px;
}
.calculator .toggle-header .theme-toggle-btn {
	float: right;
	margin: 14px 16px 0 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	font-size: 1rem;
	background: #152331;
	color: #fff;
}
.calculator .calc-display {
	width: 100%;
	height: 90px;
	background-color: #000;
	display: flex;
	align-items: center;
}
.calculator .calc-display .calc-input-area {
	width: 100%;
	height: 100%;
	padding: 0 14px;
	background: transparent;
	border: none;
	color: #fff;
	text-align: right;
	font-family: monospace !important;
	font-size: 1.8em;
	font-weight: 400;
}
.calculator .calc-body {
	display: flex;
	justify-content: center;
	margin-top: 12px;
}
.calculator .calc-body table {
	border-collapse: collapse;
}
.calculator .calc-body table tr td button {
	width: 50px;
	height: 50px;
	border-radius: 30px;
	margin: 4px;
	font-weight: 600;
	font-size: 1rem;
	color: #fff;
	border: none;
	cursor: pointer;
}
.calculator .calc-body table tr td button:hover {
	filter: brightness(1.08);
}
.calculator .calc-body table tr td button:active {
	transform: scale(0.94);
}

.btn-utility {
	background-color: #f53f79;
}
.btn-operation {
	background-color: #f0cb35;
	color: #2a2a2a !important;
}
.btn-number {
	background-color: #5691c8;
}

/* secret stash vault */
.stash {
	position: absolute;
	inset: 0;
	background: #11161d;
	display: flex;
	flex-direction: column;
	padding: 16px;
	gap: 12px;
	z-index: 5;
}
.stash[hidden] {
	display: none;
}
.stash-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
}
.stash-head button {
	background: #f53f79;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 5px 12px;
	cursor: pointer;
	font-weight: 600;
}
.stash textarea {
	flex: 1;
	resize: none;
	border-radius: 10px;
	border: 1px solid #2a3340;
	background: #0b1119;
	color: #fff;
	padding: 10px;
	font-family: monospace;
	font-size: 0.9rem;
}
#stash-save {
	background: #152331;
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 10px;
	cursor: pointer;
	font-weight: 600;
}
