* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--coral: #FF6B6B;
	--coral-dark: #EE5A6F;
	--teal: #226F54;
	--teal-dark: #1B4D3E;
	--cyan: #4ECDC4;
	--navy: #0A1128;
	--navy-light: #001F54;
	--cream: #FFF8F0;
	--warm-gray: #A8A196;
	--green: #2ECC71;
	--green-dark: #27AE60;
}

body {
	font-family: 'Manrope', sans-serif;
	background: var(--navy);
	background-image:
		radial-gradient(circle at 20% 30%, rgba(255, 107, 107, 0.08) 0%, transparent 50%),
		radial-gradient(circle at 80% 70%, rgba(34, 111, 84, 0.08) 0%, transparent 50%);
	color: var(--cream);
	min-height: 100vh;
	padding: 20px;
	position: relative;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.01) 2px, rgba(255, 255, 255, 0.01) 4px);
	pointer-events: none;
	z-index: 1;
}

.centered {
	text-align: center;
}

.container {
	max-width: 1400px;
	margin: 0 auto;
	position: relative;
	z-index: 2;
}

.hidden {
	display: none !important;
}

.loader {
	text-align: center;
	padding: 100px 20px;
	font-size: 18px;
	color: var(--cyan);
	font-family: 'IBM Plex Mono', monospace;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

@keyframes rotate {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes slideUp {
	from {
		opacity: 0;
		transform: translateY(40px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes shake {

	0%,
	100% {
		transform: translateX(0);
	}

	25% {
		transform: translateX(-8px);
	}

	75% {
		transform: translateX(8px);
	}
}

@keyframes pulse {

	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: 0.8;
	}
}

@keyframes slideIn {
	from {
		opacity: 0;
		transform: translateX(-20px);
	}

	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.auth-card {
	max-width: 520px;
	margin: 60px auto;
	background: var(--navy-light);
	border: 3px solid var(--coral);
	box-shadow: 12px 12px 0 rgba(255, 107, 107, 0.2), 24px 24px 0 rgba(34, 111, 84, 0.1);
	animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	overflow: hidden;
}

.auth-card::before {
	content: '';
	position: absolute;
	top: -100%;
	left: -100%;
	width: 300%;
	height: 300%;
	background: radial-gradient(circle, rgba(78, 205, 196, 0.03) 0%, transparent 70%);
	animation: rotate 20s linear infinite;
}

.auth-title {
	font-family: 'DM Serif Display', serif;
	font-size: 64px;
	font-weight: 400;
	font-style: italic;
	margin-bottom: 8px;
	color: var(--coral);
	letter-spacing: -0.03em;
	line-height: 1;
	position: relative;
	z-index: 1;
	padding: 48px 40px 0;
}

.auth-subtitle {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 13px;
	color: var(--cyan);
	margin-bottom: 40px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	padding: 0 40px;
	position: relative;
	z-index: 1;
}

.form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 0 40px 48px;
	position: relative;
	z-index: 1;
}

input {
	padding: 18px 24px;
	border: 2px solid var(--teal);
	background: var(--navy);
	color: var(--cream);
	font-size: 16px;
	font-family: 'Manrope', sans-serif;
	outline: none;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 4px 4px 0 rgba(34, 111, 84, 0.3);
	width: 100%;
}

input:focus {
	border-color: var(--cyan);
	box-shadow: 6px 6px 0 rgba(78, 205, 196, 0.4);
	transform: translate(-2px, -2px);
}

input::placeholder {
	color: var(--warm-gray);
	font-family: 'IBM Plex Mono', monospace;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

input.code-input {
	font-size: 20px;
	letter-spacing: 0.3em;
	text-align: center;
	font-family: 'IBM Plex Mono', monospace;
}

.msg-box {
	padding: 16px 20px;
	font-size: 14px;
	font-family: 'IBM Plex Mono', monospace;
	display: none;
}

.msg-box.show {
	display: block;
}

.msg-box.error {
	background: rgba(255, 107, 107, 0.1);
	border-left: 4px solid var(--coral);
	color: var(--coral);
	animation: shake 0.4s;
}

.msg-box.success {
	background: rgba(46, 204, 113, 0.1);
	border-left: 4px solid var(--green);
	color: var(--green);
}

.msg-box.info {
	background: rgba(78, 205, 196, 0.1);
	border-left: 4px solid var(--cyan);
	color: var(--cyan);
}

.btn {
	padding: 18px 32px;
	border: none;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	font-family: 'IBM Plex Mono', monospace;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	position: relative;
}

.btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none !important;
	box-shadow: none !important;
}

.btn--primary {
	background: var(--coral);
	color: var(--navy);
	box-shadow: 6px 6px 0 var(--coral-dark);
	margin-top: 12px;
}

.btn--primary:not(:disabled):hover {
	transform: translate(-3px, -3px);
	box-shadow: 9px 9px 0 var(--coral-dark);
}

.btn--primary:not(:disabled):active {
	transform: translate(0, 0);
	box-shadow: 3px 3px 0 var(--coral-dark);
}

.btn--secondary {
	background: transparent;
	color: var(--cyan);
	font-size: 13px;
	padding: 16px;
	border: 1px solid transparent;
}

.btn--secondary:hover {
	border-color: var(--teal);
	color: var(--cream);
}

.btn-teal {
	background: var(--teal);
	color: var(--cream);
	box-shadow: 4px 4px 0 var(--teal-dark);
}

.btn-teal:not(:disabled):hover {
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 var(--teal-dark);
}

.btn-danger {
	background: transparent;
	color: var(--coral);
	border: 2px solid var(--coral);
	box-shadow: 3px 3px 0 var(--coral-dark);
}

.btn-danger:not(:disabled):hover {
	background: rgba(255, 107, 107, 0.1);
	transform: translate(-2px, -2px);
	box-shadow: 5px 5px 0 var(--coral-dark);
}

.btn-sm {
	padding: 10px 20px;
	font-size: 12px;
	margin-top: 0;
}

.verify-card {
	max-width: 520px;
	margin: 60px auto;
	background: var(--navy-light);
	border: 3px solid var(--cyan);
	box-shadow: 12px 12px 0 rgba(78, 205, 196, 0.15);
	padding: 48px 40px;
	animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.verify-icon {
	font-size: 56px;
	margin-bottom: 24px;
	display: block;
}

.verify-title {
	font-family: 'DM Serif Display', serif;
	font-size: 42px;
	font-style: italic;
	color: var(--cyan);
	margin-bottom: 12px;
	line-height: 1.1;
}

.verify-text {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 13px;
	color: var(--warm-gray);
	line-height: 1.7;
	margin-bottom: 20px;
}

.verify-email {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 14px;
	color: var(--cream);
	background: rgba(78, 205, 196, 0.08);
	border: 1px solid rgba(78, 205, 196, 0.3);
	padding: 12px 16px;
	margin-bottom: 24px;
	word-break: break-all;
}

.mfa-hint {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 12px;
	color: var(--warm-gray);
	line-height: 1.6;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 48px;
	animation: slideDown 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.title {
	font-family: 'DM Serif Display', serif;
	font-size: 72px;
	font-weight: 400;
	font-style: italic;
	color: var(--coral);
	letter-spacing: -0.03em;
	line-height: 0.9;
	position: relative;
}

.title::after {
	content: 'Track it!';
	font-family: 'IBM Plex Mono', monospace;
	font-size: 14px;
	font-style: normal;
	color: var(--cyan);
	text-transform: uppercase;
	letter-spacing: 0.15em;
	position: absolute;
	bottom: -24px;
	left: 4px;
}

.header-actions {
	display: flex;
	gap: 12px;
	align-items: center;
}

.icon-btn {
	padding: 12px 20px;
	border: 2px solid var(--teal);
	background: transparent;
	color: var(--cyan);
	font-size: 13px;
	font-family: 'IBM Plex Mono', monospace;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 3px 3px 0 var(--teal-dark);
}

.icon-btn:hover {
	background: var(--teal);
	color: var(--cream);
	transform: translate(-2px, -2px);
	box-shadow: 5px 5px 0 var(--teal-dark);
}

.main-content {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 60px;
	animation: fadeIn 0.8s ease-out;
}

.section {
	background: var(--navy-light);
	padding: 40px;
	border: 2px solid var(--teal);
	position: relative;
}

.section:nth-child(1) {
	box-shadow: 8px 8px 0 rgba(255, 107, 107, 0.15);
}

.section:nth-child(2) {
	box-shadow: 8px 8px 0 rgba(34, 111, 84, 0.15);
	transform: translateY(-20px);
}

.section-title {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 32px;
	color: var(--cyan);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	padding-bottom: 12px;
	border-bottom: 2px solid rgba(78, 205, 196, 0.2);
}

.chart-container {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 40px 0;
	height: 240px;
}

.chart-svg {
	filter: drop-shadow(0 0 30px rgba(255, 107, 107, 0.2));
}

.chart-center {
	position: absolute;
	text-align: center;
}

.chart-percentage {
	font-family: 'DM Serif Display', serif;
	font-size: 56px;
	font-weight: 400;
	font-style: italic;
	color: var(--coral);
	line-height: 1;
}

.chart-label {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 12px;
	color: var(--cyan);
	margin-top: 8px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.quote {
	text-align: center;
	font-size: 20px;
	font-weight: 700;
	color: var(--cream);
	margin-top: 32px;
	padding: 20px 24px;
	background: rgba(255, 107, 107, 0.08);
	border-left: 4px solid var(--coral);
	animation: pulse 3s ease-in-out infinite;
}

.stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 32px;
}

.stat-item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 24px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(78, 205, 196, 0.15);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-item:hover {
	background: rgba(78, 205, 196, 0.05);
	border-color: var(--cyan);
	transform: translateY(-4px);
}

.stat-label {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11px;
	color: var(--warm-gray);
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.stat-value {
	font-size: 28px;
	font-weight: 800;
	color: var(--cream);
}

.chore-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.chore-btn {
	padding: 28px 20px;
	border: 2px solid var(--teal);
	background: var(--navy);
	color: var(--cream);
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	box-shadow: 4px 4px 0 rgba(34, 111, 84, 0.3);
}

.chore-btn:hover {
	transform: translate(-3px, -3px);
	background: rgba(255, 107, 107, 0.05);
	border-color: var(--coral);
	box-shadow: 7px 7px 0 rgba(255, 107, 107, 0.4);
}

.chore-btn:active {
	transform: translate(0, 0);
	box-shadow: 2px 2px 0 rgba(34, 111, 84, 0.5);
}

.chore-icon {
	font-size: 36px;
	filter: grayscale(0.3);
}

.chore-label {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11px;
	font-weight: 600;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	line-height: 1.4;
}

.chore-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-height: 420px;
	overflow-y: auto;
	margin-top: 24px;
}

.chore-list::-webkit-scrollbar {
	width: 6px;
}

.chore-list::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.02);
}

.chore-list::-webkit-scrollbar-thumb {
	background: var(--teal);
}

.chore-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 20px;
	background: rgba(255, 255, 255, 0.02);
	border-left: 3px solid transparent;
	transition: all 0.2s;
	animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chore-item:hover {
	background: rgba(78, 205, 196, 0.05);
	border-left-color: var(--cyan);
}

.chore-item:hover .chore-delete-btn {
	opacity: 1;
}

.chore-item-icon {
	font-size: 24px;
	filter: grayscale(0.2);
}

.chore-item-content {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
}

.chore-item-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--cream);
}

.chore-item-meta {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11px;
	color: var(--warm-gray);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.chore-delete-btn {
	opacity: 0;
	background: transparent;
	border: 1px solid rgba(255, 107, 107, 0.4);
	color: var(--coral);
	font-size: 11px;
	font-family: 'IBM Plex Mono', monospace;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 5px 10px;
	cursor: pointer;
	transition: all 0.2s;
	flex-shrink: 0;
}

.chore-delete-btn:hover {
	background: rgba(255, 107, 107, 0.15);
	border-color: var(--coral);
}

.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(10, 17, 40, 0.92);
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	backdrop-filter: blur(4px);
	animation: fadeIn 0.2s ease-out;
}

.modal {
	background: var(--navy-light);
	border: 2px solid var(--teal);
	box-shadow: 12px 12px 0 rgba(34, 111, 84, 0.2);
	width: 100%;
	max-width: 560px;
	max-height: 90vh;
	overflow-y: auto;
	animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 32px 40px 0;
}

.modal-title {
	font-family: 'DM Serif Display', serif;
	font-size: 36px;
	font-style: italic;
	color: var(--coral);
}

.modal-close {
	background: transparent;
	border: 1px solid var(--teal);
	color: var(--warm-gray);
	font-size: 18px;
	width: 36px;
	height: 36px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	font-family: monospace;
}

.modal-close:hover {
	border-color: var(--coral);
	color: var(--coral);
}

.modal-body {
	padding: 32px 40px 40px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.profile-block {
	border: 1px solid rgba(78, 205, 196, 0.15);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.block-heading {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11px;
	font-weight: 600;
	color: var(--cyan);
	text-transform: uppercase;
	letter-spacing: 0.12em;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(78, 205, 196, 0.15);
}

.profile-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.profile-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
}

.info-label {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 11px;
	color: var(--warm-gray);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.info-value {
	font-size: 15px;
	color: var(--cream);
	font-weight: 600;
	word-break: break-all;
}

.badge {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 10px;
	padding: 4px 10px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	flex-shrink: 0;
}

.badge-green {
	background: rgba(46, 204, 113, 0.15);
	color: var(--green);
	border: 1px solid rgba(46, 204, 113, 0.3);
}

.badge-gray {
	background: rgba(168, 161, 150, 0.15);
	color: var(--warm-gray);
	border: 1px solid rgba(168, 161, 150, 0.3);
}

.modal-msg {
	padding: 12px 16px;
	font-size: 13px;
	font-family: 'IBM Plex Mono', monospace;
	display: none;
}

.modal-msg.show {
	display: block;
}

.modal-msg.error {
	background: rgba(255, 107, 107, 0.1);
	border-left: 3px solid var(--coral);
	color: var(--coral);
}

.modal-msg.success {
	background: rgba(46, 204, 113, 0.1);
	border-left: 3px solid var(--green);
	color: var(--green);
}

.modal-msg.info {
	background: rgba(78, 205, 196, 0.1);
	border-left: 3px solid var(--cyan);
	color: var(--cyan);
}

.totp-qr-wrapper {
	display: flex;
	justify-content: center;
	background: white;
	padding: 16px;
	align-self: center;
}

.totp-qr-wrapper img {
	width: 180px;
	height: 180px;
	display: block;
}

.totp-secret {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 13px;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(78, 205, 196, 0.2);
	padding: 12px 16px;
	color: var(--cyan);
	letter-spacing: 0.08em;
	word-break: break-all;
	text-align: center;
}

.totp-hint {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 12px;
	color: var(--warm-gray);
	line-height: 1.6;
}

.btn-row {
	display: flex;
	gap: 12px;
}

.btn-row .btn {
	flex: 1;
}

@media (max-width: 968px) {
	.main-content {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.section:nth-child(2) {
		transform: translateY(0);
	}

	.title {
		font-size: 48px;
	}

	.auth-title {
		font-size: 48px;
	}
}

@media (max-width: 480px) {
	.icon-btn {
		height: 70px;
		padding: 0px;
		width: 70px;
	}
}