/* ----------------------------------------------------------------------------------------
* App / Auth / Settings screens — plain Blade + Bootstrap, matching the Artistic template
* theme variables (see custom.css :root) without any build step.
* ---------------------------------------------------------------------------------------- */

/* ---- Header contact offcanvas: the panel has a fixed height with 150px of
   vertical padding, and Bootstrap's default .offcanvas-body is
   overflow-y:visible (no scrollbar), so longer content (like our full
   address) gets clipped instead of scrolling into view. ---- */

.header-btn .offcanvas .offcanvas-body {
	height: 100%;
	overflow-y: auto;
}

/* ---- Main nav: push the menu to the right side of the header, next to the
   social icons/CTA button, instead of the template's default left-aligned
   placement right after the logo. ---- */

.main-menu .nav-menu-wrapper {
	flex: 0 0 auto;
	margin-left: auto;
}

/* ---- Logo chip: the Techluviz mark is dark-ink-on-transparent, so on this
   dark theme it needs a light backing panel to stay legible. ---- */

.logo-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--primary-color);
	border-radius: 12px;
	padding: 10px 16px;
	line-height: 0;
}

.logo-chip img {
	display: block;
	height: 28px;
	width: auto;
}

.logo-chip.logo-chip-sm {
	padding: 6px 12px;
	border-radius: 10px;
}

.logo-chip.logo-chip-sm img {
	height: 20px;
}

.logo-chip.logo-chip-lg {
	padding: 14px 22px;
	border-radius: 16px;
}

.logo-chip.logo-chip-lg img {
	height: 36px;
}

.app-page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* ---- Shared form controls ---- */

.app-page .form-label {
	color: var(--text-color);
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 8px;
}

.app-page .form-control {
	font-family: var(--default-font);
	font-size: 16px;
	color: var(--text-color);
	background: transparent;
	border: 1px solid var(--divider-color);
	border-radius: 10px;
	padding: 14px 18px;
	box-shadow: none;
}

.app-page .form-control:focus {
	color: var(--text-color);
	background: transparent;
	border-color: var(--accent-color);
	box-shadow: none;
}

.app-page .form-control::placeholder {
	color: #9a9a9a;
}

.app-page .form-control[readonly] {
	opacity: 0.7;
}

.app-page .invalid-feedback {
	display: block;
	color: var(--error-color);
	font-size: 13px;
	margin-top: 6px;
}

.app-page .form-check-input {
	background-color: transparent;
	border: 1px solid var(--divider-color);
}

.app-page .form-check-input:checked {
	background-color: var(--accent-color);
	border-color: var(--accent-color);
}

.app-page .form-check-label {
	color: var(--text-color);
	font-size: 14px;
}

.app-page .status-message {
	color: var(--accent-color);
	font-weight: 600;
	font-size: 14px;
}

.app-page a {
	color: var(--accent-color);
}

.app-page a.link-muted {
	color: var(--text-color);
	text-decoration: underline;
}

.btn-highlighted:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* ---- Auth screens ---- */

.auth-wrapper {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 20px;
}

.auth-card {
	width: 100%;
	max-width: 420px;
	background: var(--dark-color);
	border: 1px solid var(--divider-color);
	border-radius: 20px;
	padding: 40px 36px;
}

.auth-card .auth-logo {
	margin: 0 auto 28px;
	width: fit-content;
}

.auth-card h1 {
	font-size: 24px;
	font-weight: 700;
	color: var(--primary-color);
	text-align: center;
	margin-bottom: 8px;
}

.auth-card .auth-description {
	color: var(--text-color);
	opacity: 0.75;
	text-align: center;
	font-size: 14px;
	line-height: 1.5em;
	margin-bottom: 28px;
}

.auth-card .auth-footer {
	margin-top: 24px;
	text-align: center;
	font-size: 14px;
	color: var(--text-color);
	opacity: 0.8;
}

/* ---- App shell (dashboard / settings) ---- */

.app-navbar {
	background: var(--dark-color);
	border-bottom: 1px solid var(--divider-color);
	padding: 14px 0;
}

.app-navbar .nav-link {
	color: var(--text-color);
	font-weight: 600;
	font-size: 14px;
	text-transform: capitalize;
	padding: 8px 16px !important;
}

.app-navbar .nav-link.active {
	color: var(--dark-color);
	background: var(--accent-color);
	border-radius: 100px;
}

.app-navbar .nav-link:hover {
	color: var(--accent-color);
}

.app-navbar .nav-link.active:hover {
	color: var(--dark-color);
}

.app-main {
	flex: 1;
	padding: 40px 0 80px;
}

.app-heading-small h2 {
	font-size: 20px;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 4px;
}

.app-heading-small p {
	color: var(--text-color);
	opacity: 0.75;
	font-size: 14px;
	margin-bottom: 0;
}

.app-card {
	background: var(--dark-color);
	border: 1px solid var(--divider-color);
	border-radius: 16px;
	padding: 28px;
}

.settings-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--divider-color);
	padding-bottom: 20px;
}

.settings-nav a {
	color: var(--text-color);
	font-size: 14px;
	font-weight: 600;
	padding: 8px 18px;
	border-radius: 100px;
	text-decoration: none;
}

.settings-nav a.active {
	background: var(--accent-color);
	color: var(--dark-color);
}

.settings-nav a:not(.active):hover {
	color: var(--accent-color);
}

.danger-box {
	border: 1px solid rgba(230, 87, 87, 0.35);
	background: rgba(230, 87, 87, 0.08);
	border-radius: 14px;
	padding: 20px;
	margin-top: 32px;
}

.danger-box p.warning-title {
	color: var(--error-color);
	font-weight: 700;
	margin-bottom: 4px;
}

.danger-box p.warning-text {
	color: var(--error-color);
	opacity: 0.85;
	font-size: 14px;
	margin-bottom: 16px;
}

.btn-danger-outline {
	display: inline-block;
	background: transparent;
	border: 1px solid var(--error-color);
	color: var(--error-color);
	border-radius: 100px;
	padding: 10px 22px;
	font-size: 14px;
	font-weight: 700;
}

.btn-danger-outline:hover {
	background: var(--error-color);
	color: var(--primary-color);
}

.placeholder-box {
	border: 1px dashed var(--divider-color);
	border-radius: 16px;
	min-height: 180px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-color);
	opacity: 0.4;
}

.appearance-tabs {
	display: inline-flex;
	gap: 6px;
	background: var(--secondary-color);
	border-radius: 100px;
	padding: 4px;
}

.appearance-tabs button {
	background: transparent;
	border: none;
	color: var(--text-color);
	font-size: 14px;
	font-weight: 600;
	padding: 8px 18px;
	border-radius: 100px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.appearance-tabs button.active {
	background: var(--accent-color);
	color: var(--dark-color);
}

/* Simple modal for delete-account confirmation (no JS framework required) */

.simple-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1050;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.7);
	padding: 20px;
}

.simple-modal.is-open {
	display: flex;
}

.simple-modal-dialog {
	width: 100%;
	max-width: 440px;
	background: var(--secondary-color);
	border: 1px solid var(--divider-color);
	border-radius: 16px;
	padding: 28px;
}

.simple-modal-dialog h5 {
	color: var(--primary-color);
	font-weight: 700;
	margin-bottom: 12px;
}

.simple-modal-dialog p {
	color: var(--text-color);
	opacity: 0.8;
	font-size: 14px;
	margin-bottom: 20px;
}

/* ---- Coming Soon page ---- */

.coming-soon {
	position: relative;
	min-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: 160px 0 120px;
}

.coming-soon-content {
	position: relative;
	z-index: 2;
	max-width: 700px;
	margin: 0 auto;
	text-align: center;
}

.coming-soon-content h3 {
	color: var(--accent-color);
}

.coming-soon-content h1 {
	margin-top: 12px;
}

.coming-soon-content > p {
	max-width: 520px;
	margin: 20px auto 0;
	color: var(--text-color);
	opacity: 0.8;
}

.coming-soon-badge {
	position: relative;
	width: 110px;
	height: 110px;
	margin: 0 auto 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--accent-color);
	color: var(--dark-color);
	font-size: 40px;
	animation: comingSoonPulse 2.4s ease-in-out infinite;
}

.coming-soon-badge::before,
.coming-soon-badge::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 1px solid var(--accent-color);
	animation: comingSoonRing 2.4s ease-out infinite;
}

.coming-soon-badge::after {
	animation-delay: 1.2s;
}

@keyframes comingSoonPulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(191, 247, 71, 0.45); }
	50% { box-shadow: 0 0 0 18px rgba(191, 247, 71, 0); }
}

@keyframes comingSoonRing {
	0% { transform: scale(1); opacity: 0.6; }
	100% { transform: scale(1.9); opacity: 0; }
}

.coming-soon-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 32px 0;
}

.coming-soon-dots span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--accent-color);
	animation: comingSoonBounce 1.2s ease-in-out infinite;
}

.coming-soon-dots span:nth-child(2) {
	animation-delay: 0.15s;
}

.coming-soon-dots span:nth-child(3) {
	animation-delay: 0.3s;
}

@keyframes comingSoonBounce {
	0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
	40% { transform: translateY(-10px); opacity: 1; }
}

.coming-soon-shape {
	position: absolute;
	z-index: 1;
	border-radius: 50%;
	background: var(--accent-color);
	opacity: 0.08;
	filter: blur(2px);
	animation: comingSoonFloat 8s ease-in-out infinite;
}

.coming-soon-shape.shape-1 {
	width: 220px;
	height: 220px;
	top: -60px;
	left: -60px;
	animation-duration: 9s;
}

.coming-soon-shape.shape-2 {
	width: 140px;
	height: 140px;
	bottom: 12%;
	right: 8%;
	animation-duration: 7s;
	animation-delay: 1s;
}

.coming-soon-shape.shape-3 {
	width: 90px;
	height: 90px;
	top: 18%;
	right: 20%;
	animation-duration: 6s;
	animation-delay: 2s;
}

@keyframes comingSoonFloat {
	0%, 100% { transform: translateY(0) translateX(0); }
	50% { transform: translateY(-25px) translateX(15px); }
}
