:root {
    --color-primary: #7c3aed;
    --color-primary-soft: rgba(124, 58, 237, 0.08);
    --color-primary-gradient-start: #a855f7;
    --color-primary-gradient-end: #6366f1;
    --name-font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@keyframes badgeFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
    100% { transform: translateY(0); }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    background: #f3f4f6;
    color: #111827;
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.app-shell {
    flex: 1;
    width: 100%;
    max-width: 480px;
}

.app-content {
    padding: 16px;
    padding-bottom: 96px; /* espaço para a bottom nav */
}

.screen {
    display: none;
}

.screen.active {
    display: block;
}

.shop-header,
.lesson-header,
.mission-header {
	position: relative;
	padding-top: 32px;
	padding-bottom: 12px;
	text-align: center;
}

.shop-title {
	margin-top: 32px;
	font-size: 20px;
	font-weight: 600;
}

.shop-avatar,
.lesson-avatar,
.mission-avatar {
	width: 88px;
	height: 88px;
	border-radius: 999px;
	margin: 0 auto 12px auto;
	background: linear-gradient(135deg, var(--color-primary-gradient-start), var(--color-primary-gradient-end));
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	box-shadow: 0 10px 22px rgba(79, 70, 229, 0.4);
}

.shop-avatar .material-icons-outlined,
.lesson-avatar .material-icons-outlined,
.mission-avatar .material-icons-outlined {
	display: none;
}

.shop-name-row,
.lesson-name-row,
.mission-name-row {
	margin-top: 8px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	justify-content: center;
}

.shop-name,
.lesson-name,
.mission-name {
	font-size: 16px;
	font-weight: 600;
}

.shop-verified,
.lesson-verified,
.mission-verified {
	font-size: 18px;
	color: var(--color-primary);
}

.shop-username,
.lesson-username,
.mission-username {
	font-size: 13px;
	color: #6b7280;
}

.lesson-title {
	margin-top: 16px;
	font-size: 18px;
	font-weight: 600;
}

.mission-title {
	margin-top: 16px;
	font-size: 18px;
	font-weight: 600;
}

.lesson-activities {
	margin-top: 18px;
}

.lesson-activities-header h2 {
	font-size: 16px;
	margin-bottom: 2px;
}

.lesson-activities-header p {
	font-size: 13px;
	color: #6b7280;
	margin-bottom: 10px;
}

.lesson-activities-grid {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lesson-activity-card {
	border-radius: 16px;
	padding: 12px 14px;
	color: #111827;
	display: flex;
	flex-direction: column;
	gap: 6px;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.lesson-activity-card-title {
	font-size: 15px;
	font-weight: 600;
}

.lesson-activity-card-meta {
	font-size: 12px;
	color: #fefce8;
	font-weight: 500;
}

.lesson-activity-card-tag {
	margin-top: 4px;
	font-size: 11px;
	font-weight: 500;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.75);
	color: #f9fafb;
	display: inline-block;
}

.lesson-activity-card-ref {
	margin-top: 2px;
	font-size: 11px;
	color: rgba(17, 24, 39, 0.9);
}

.lesson-activity-card.color-purple {
	background: linear-gradient(135deg, #a855f7, #6366f1);
	color: #f9fafb;
}

.lesson-activity-card.color-blue {
	background: linear-gradient(135deg, #3b82f6, #0ea5e9);
	color: #f9fafb;
}

.lesson-activity-card.color-green {
	background: linear-gradient(135deg, #22c55e, #16a34a);
	color: #f9fafb;
}

.lesson-activity-modal {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 60;
}

.lesson-activity-modal.open {
	display: flex;
}

.lesson-activity-modal-content {
	background: #ffffff;
	border-radius: 18px;
	padding: 18px 16px 14px 16px;
	width: calc(100% - 40px);
	max-width: 380px;
	box-shadow: 0 22px 40px rgba(15, 23, 42, 0.35);
}

.lesson-activity-header h2 {
	font-size: 16px;
	margin-bottom: 2px;
}

.lesson-activity-header p {
	font-size: 13px;
	color: #6b7280;
	margin-bottom: 10px;
}

.lesson-activity-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lesson-activity-slide {
	border-radius: 14px;
	padding: 12px 12px 10px 12px;
	min-height: 120px;
	background: linear-gradient(135deg, #eef2ff, #e0e7ff);
}

.lesson-activity-slide-title {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
}

.lesson-activity-slide-text {
	font-size: 13px;
	color: #4b5563;
}

.lesson-activity-slides-indicator {
	font-size: 11px;
	color: #6b7280;
	margin-top: 4px;
}

.lesson-activity-questions h3 {
	font-size: 14px;
	margin-bottom: 6px;
}

.lesson-question {
	margin-bottom: 8px;
}

.lesson-question-label {
	font-size: 13px;
	margin-bottom: 4px;
}

.lesson-question-meta {
	font-size: 11px;
	color: #6b7280;
	margin-bottom: 4px;
}

.lesson-question-input,
.lesson-question-options {
	font-size: 13px;
}

.lesson-question-input input[type="text"] {
	width: 100%;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	padding: 6px 8px;
	font-size: 13px;
}

.lesson-question-options label {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 4px;
}

.lesson-activity-result {
	border-radius: 12px;
	padding: 10px 10px;
	background: #ecfdf5;
	font-size: 13px;
	color: #065f46;
}

.lesson-activity-footer {
	margin-top: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: flex-end;
}

.lesson-activity-footer button {
	border-radius: 999px;
	border: none;
	padding: 6px 12px;
	font-size: 13px;
	cursor: pointer;
	background: #f3f4f6;
	color: #111827;
}

.lesson-activity-footer #lesson-activity-next {
	background: linear-gradient(135deg, var(--color-primary-gradient-start), var(--color-primary-gradient-end));
	color: #ffffff;
}

.lesson-activity-footer #lesson-activity-submit {
	background: #16a34a;
	color: #ffffff;
}

.shop-info-card {
	margin-top: 10px;
	background: var(--color-primary-soft);
	border-radius: 14px;
	padding: 10px 12px;
	font-size: 12px;
	color: #312e81;
	border: 1px solid var(--color-primary);
}

.shop-info-card strong {
	display: block;
	font-size: 13px;
	margin-bottom: 4px;
	color: #111827;
}

.shop-products-grid {
	margin-top: 18px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.shop-product-card {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #ffffff;
	border-radius: 16px;
	padding: 10px 12px;
	box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.shop-product-image {
	width: 56px;
	height: 56px;
	border-radius: 12px;
	object-fit: cover;
}

.shop-product-info {
	flex: 1;
}

.shop-product-title {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 4px;
}

.shop-product-price {
	font-size: 13px;
	font-weight: 600;
	color: #111827;
	margin-bottom: 6px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.shop-product-price::before {
	content: '💰';
	font-size: 13px;
}

.shop-product-actions {
	display: flex;
	justify-content: flex-end;
}

.shop-product-button {
	border-radius: 999px;
	border: none;
	padding: 6px 14px;
	font-size: 12px;
	cursor: pointer;
}

.shop-product-button.primary {
	background: linear-gradient(135deg, var(--color-primary-gradient-start), var(--color-primary-gradient-end));
	color: #ffffff;
}

.shop-product-button.disabled {
	background: #f3f4f6;
	color: #9ca3af;
	cursor: not-allowed;
}

.profile-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.profile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 999px;
    margin: 0 auto 12px auto;
    background: linear-gradient(135deg, var(--color-primary-gradient-start), var(--color-primary-gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(79, 70, 229, 0.45);
}

.profile-avatar .material-icons-outlined {
    font-size: 40px;
}

.profile-avatar.has-photo .material-icons-outlined {
    display: none;
}

.profile-name-row {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.profile-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 2px;
    font-family: var(--name-font-family);
}

.profile-verified {
    font-size: 16px;
    color: var(--color-primary);
    font-weight: 400;
}

.profile-username {
    font-size: 13px;
    color: #6b7280;
}

.profile-bio-row {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.profile-progress-card {
    margin-top: 14px;
    background: #ffffff;
    border-radius: 16px;
    padding: 8px 10px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--color-primary-soft);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.profile-progress-item {
    flex: 1;
    text-align: center;
    padding: 6px 4px;
    border-radius: 12px;
}

.profile-progress-label {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 2px;
}

.profile-progress-value {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}

.profile-progress-item:first-child {
    background: rgba(59, 130, 246, 0.08); /* azul suave */
}

.profile-progress-item:last-child {
    background: rgba(16, 185, 129, 0.08); /* verde suave */
}

.profile-progress-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(209, 213, 219, 0.9);
}

.profile-specialties-card {
    margin-top: 16px;
    background: #ffffff;
    border-radius: 16px;
    padding: 10px 12px;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--color-primary-soft);
    outline: 1px solid rgba(124, 58, 237, 0.18);
}

.profile-specialties-title {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 6px;
}

.profile-specialties-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.profile-specialties-grid img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    object-fit: cover;
}

.profile-specialties-view-all {
    margin-top: 10px;
    margin-inline: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    cursor: pointer;
    background: #eef2ff;
    color: #4b5563;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.profile-club-card {
    padding: 8px 12px;
    border-radius: 14px;
    background: #ffffff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.profile-club-name {
    font-size: 14px;
    font-weight: 600;
}

.profile-club-unit {
    font-size: 12px;
    color: #6b7280;
}

.profile-role-card {
    padding: 8px 12px;
    border-radius: 14px;
    background: #ffffff;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.profile-role-label {
    font-size: 11px;
    color: #6b7280;
}

.profile-role-value {
    font-size: 13px;
    font-weight: 500;
}

.profile-coins-badge {
    position: absolute;
    top: 24px;
    left: 16px;
    transform: none;
    background: #4c1d95;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px 4px 4px;
    gap: 4px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
    animation: badgeFloat 3s ease-in-out infinite;
}

.profile-coins-icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #facc15;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.profile-coins-value {
    color: #f9fafb;
    font-size: 13px;
    font-weight: 600;
}

.profile-level-badge {
    position: absolute;
    top: 64px;
    left: 16px;
    background: #111827;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    gap: 4px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
}

.profile-level-label {
    color: #9ca3af;
    font-size: 11px;
    font-weight: 500;
}

.profile-level-value {
    color: #f9fafb;
    font-size: 13px;
    font-weight: 600;
}

.profile-xp-badge {
    position: absolute;
    top: 24px;
    right: 16px;
    background: #4c1d95;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    padding: 4px 4px 4px 10px;
    gap: 4px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
    animation: badgeFloat 3s ease-in-out infinite;
}

.profile-xp-value {
    color: #f9fafb;
    font-size: 13px;
    font-weight: 600;
}

.profile-xp-icon {
    min-width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #facc15;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #92400e;
}

.profile-points-badge {
    position: absolute;
    top: 64px;
    right: 16px;
    background: #111827;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    gap: 4px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.35);
}

.profile-points-value {
    color: #f9fafb;
    font-size: 13px;
    font-weight: 600;
}

.profile-points-label {
    color: #9ca3af;
    font-size: 11px;
    font-weight: 500;
}

.profile-edit {
    margin: 18px 0 16px 0;
}

.profile-edit-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.profile-edit-field span {
    font-size: 13px;
    color: #4b5563;
}

.profile-edit-field input[type="text"] {
    border-radius: 999px;
    border: 1px solid #e5e7eb;
    padding: 8px 14px;
    font-size: 14px;
    outline: none;
}

.profile-edit-field input[type="text"]:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px var(--color-primary-soft);
}

.profile-photo-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-photo-preview {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--color-primary-gradient-start), var(--color-primary-gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(79, 70, 229, 0.45);
    overflow: hidden;
}

.profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo-button {
    border-radius: 999px;
    border: none;
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
    background: #eef2ff;
    color: #4b5563;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 20px;
}

.profile-stat-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 8px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.profile-stat-label {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 4px;
}

.profile-stat-value {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.profile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(209, 213, 219, 0.9);
}

.profile-orders-header h2 {
    font-size: 15px;
    margin-bottom: 2px;
}

.profile-orders-header p {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.profile-orders-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.profile-order-item {
    border-radius: 12px;
    border: 1px solid rgba(209, 213, 219, 0.9);
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-order-title {
    font-size: 13px;
    font-weight: 600;
}

.profile-order-meta {
    font-size: 11px;
    color: #6b7280;
}

.profile-order-status {
    margin-top: 2px;
    font-size: 11px;
    font-weight: 500;
}

.profile-order-status[data-status="solicitando"] {
    color: #1d4ed8;
}

.profile-order-status[data-status="concluido"] {
    color: #059669;
}

.profile-order-status[data-status="cancelado"] {
    color: #b91c1c;
}

.profile-order-status[data-status="entregue"] {
    color: #16a34a;
}

.orders-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.orders-modal.open {
    display: flex;
}

.orders-modal-content {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px 18px 16px 18px;
    max-width: 360px;
    width: calc(100% - 48px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}

.orders-modal-content h2 {
    font-size: 16px;
    margin-bottom: 4px;
}

.orders-modal-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

.orders-modal-actions #orders-modal-close {
    border-radius: 999px;
    border: none;
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
    background: #f3f4f6;
    color: #111827;
}

.profile-button {
    border-radius: 999px;
    border: none;
    padding: 12px 18px;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform 0.12s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.profile-button.primary {
    background: linear-gradient(135deg, var(--color-primary-gradient-start), var(--color-primary-gradient-end));
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.22);
}

.profile-button.secondary {
    background: #eef2ff;
    color: #4b5563;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.profile-button.logout-button,
.logout-button {
    border-radius: 18px;
    background: #fee2e2;
    color: #b91c1c;
}

.profile-theme {
    margin-top: 24px;
}

.profile-theme h2 {
    font-size: 15px;
    margin-bottom: 4px;
}

.profile-theme p {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
}

.theme-options {
    display: flex;
    gap: 8px;
}

.theme-dot {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    background-clip: padding-box;
}

.theme-dot[data-theme="purple"] {
    background: linear-gradient(135deg, #a855f7, #6366f1);
}

.theme-dot[data-theme="blue"] {
    background: linear-gradient(135deg, #3b82f6, #0ea5e9);
}

.theme-dot[data-theme="green"] {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.theme-dot[data-theme="orange"] {
    background: linear-gradient(135deg, #fb923c, #f97316);
}

.theme-dot[data-theme="pink"] {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.theme-dot[data-theme="red"] {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.theme-dot[data-theme="black"] {
    background: linear-gradient(135deg, #000000, #000000);
}

.theme-dot.active {
    border-color: #111827;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 24px 24px 0 0;
    display: flex;
    justify-content: space-around;
    padding: 10px 18px 12px 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.20);
}

.nav-item {
    flex: 1;
    border: none;
    background: transparent;
    color: #9ca3af;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 4px;
    font-size: 11px;
    cursor: pointer;
    border-radius: 999px;
    position: relative;
    transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.nav-icon {
    font-size: 20px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}

.nav-label {
    font-size: 11px;
}

.nav-item.active {
    color: var(--color-primary);
    background: var(--color-primary-soft);
}

.nav-item.active .nav-label {
    color: var(--color-primary);
}

.nav-item.active::before {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-primary);
}

.nav-item:active {
    transform: scale(0.96);
}

.home-indicator {
    position: fixed;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    border-radius: 999px;
    background: #d1d5db;
}

.install-modal {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 50;
}

.install-modal.visible {
	display: flex;
}

.install-modal-content {
	background: #ffffff;
	border-radius: 18px;
	padding: 20px 18px 16px 18px;
	max-width: 320px;
	width: calc(100% - 48px);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
	text-align: left;
}

.install-modal-content h2 {
	font-size: 16px;
	margin-bottom: 6px;
}

.install-modal-content p {
	font-size: 13px;
	color: #4b5563;
	margin-bottom: 14px;
}

.install-modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}

.install-modal-actions button {
	border-radius: 999px;
	border: none;
	padding: 8px 14px;
	font-size: 13px;
	cursor: pointer;
}

.theme-modal {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 50;
}

.theme-modal.visible {
	display: flex;
}

.theme-modal-content {
	background: #ffffff;
	border-radius: 18px;
	padding: 20px 18px 16px 18px;
	max-width: 360px;
	width: calc(100% - 48px);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
	text-align: left;
}

.theme-modal-content h2 {
	font-size: 16px;
	margin-bottom: 6px;
}

.theme-modal-content p {
	font-size: 13px;
	color: #4b5563;
	margin-bottom: 14px;
}

.theme-modal .theme-options {
	flex-wrap: wrap;
}

.theme-modal-actions {
	margin-top: 12px;
	display: flex;
	justify-content: flex-end;
}

.theme-modal-actions #theme-modal-close {
	border-radius: 999px;
	border: none;
	padding: 8px 14px;
	font-size: 13px;
	cursor: pointer;
	background: #f3f4f6;
	color: #111827;
}

.orders-confirm-modal {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 50;
}

.orders-confirm-modal.open {
	display: flex;
}

.orders-confirm-modal-content {
	background: #ffffff;
	border-radius: 18px;
	padding: 20px 18px 16px 18px;
	max-width: 360px;
	width: calc(100% - 48px);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
	text-align: left;
}

.orders-confirm-modal-content h2 {
	font-size: 16px;
	margin-bottom: 6px;
}

.orders-confirm-modal-content p {
	font-size: 13px;
	color: #4b5563;
}

.orders-confirm-actions {
	margin-top: 12px;
	display: flex;
	justify-content: flex-end;
}

.orders-confirm-actions #orders-confirm-close {
	border-radius: 999px;
	border: none;
	padding: 8px 14px;
	font-size: 13px;
	cursor: pointer;
	background: #f3f4f6;
	color: #111827;
}

.specialties-modal {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 50;
}

.specialties-modal.open {
	display: flex;
}

.specialties-modal-content {
	background: #ffffff;
	border-radius: 18px;
	padding: 20px 18px 16px 18px;
	max-width: 360px;
	width: calc(100% - 48px);
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
	text-align: left;
}

.specialties-modal-header h2 {
	font-size: 16px;
	margin-bottom: 10px;
}

.specialties-modal-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.specialties-modal-grid img {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	object-fit: cover;
}

.specialties-modal-actions {
	margin-top: 14px;
	display: flex;
	justify-content: flex-end;
}

.specialties-modal-actions #specialties-modal-close {
	border-radius: 999px;
	border: none;
	padding: 8px 14px;
	font-size: 13px;
	cursor: pointer;
	background: #f3f4f6;
	color: #111827;
}
.shop-image-modal {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.75);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 60;
}

.shop-image-modal.open {
	display: flex;
}

.shop-image-modal-content {
	max-width: 360px;
	width: calc(100% - 48px);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
}

.shop-image-modal-content img {
	display: block;
	width: 100%;
	height: auto;
}

#install-cancel {
	background: transparent;
	color: #6b7280;
}

#install-confirm {
	background: #7c3aed;
	color: #ffffff;
}

@media (min-width: 768px) {
    .app-shell {
        border-left: 1px solid rgba(209, 213, 219, 1);
        border-right: 1px solid rgba(209, 213, 219, 1);
    }
}
