* {
    box-sizing: border-box;
}

body {
	font-family: Roboto, Arial, sans-serif;
	background-color: var(--tg-theme-bg-color, #17212b);
	color: var(--tg-theme-text-color, #f5f5f5);
	padding: 20px;
	/* height: var(--tg-viewport-height, 100vh); */
	margin: 0;
}

#app {
    min-height: var(--tg-viewport-height, 100vh);
}

.container {
	max-width: 500px;
	margin: auto;
}

.container-footed {
    margin-bottom: 100px;
}

.menu-card {
    display: block;
	background: var(--tg-theme-button-color, #5288c1);
	padding: 15px;
	margin: 10px auto;
	width: 100%;
	border-radius: 10px;
	cursor: pointer;
	text-align: center;
	outline: none;
	border: none;
}

.menu-card h3 {
	margin: 0;
	color: var(--tg-theme-text-color, #f5f5f5);
	font-size: 18px;
}

.button {
	background-color: var(--tg-theme-button-color, #5288c1);
	color: var(--tg-theme-text-color, #f5f5f5);
	padding: 8px 12px;
	border: none;
	cursor: pointer;
	border-radius: 5px;
	width: 100%;
	text-align: center;
	margin-top: 10px;
}

.header {
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	margin-bottom: 15px;
}

.sticky-footer {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: var(--tg-theme-secondary-bg-color, #232e3c);
	padding: 10px;
	text-align: center;
	font-size: 14px;
	color: var(--tg-theme-hint-color, #708499);
}

.sticky-footer span {
	color: var(--tg-theme-text-color, #f5f5f5);
}

.profile {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.profile img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin-right: 10px;
}

.profile span {
	font-size: 18px;
	font-weight: bold;
}

.order {
	background: var(--tg-theme-secondary-bg-color, #232e3c);
	padding: 15px;
	margin: 10px 0;
	border-radius: 10px;
}

.order h3 {
	margin: 0;
	color: var(--tg-theme-text-color, #f5f5f5);
	font-size: 18px;
}

.order h4 {
	margin: 5px 0;
	color: var(--tg-theme-text-color, #f5f5f5);
	font-size: 15px;
}

.order p {
	margin: 5px 0;
	color: var(--tg-theme-text-color, #f5f5f5);
	font-size: 14px;
}

.order .items {
	display: flex;
	gap: 10px;
	margin-top: 10px;
}

.order .items img {
	width: 40px;
	height: 40px;
}

@keyframes progressAnimation {
    from {
        background-position: 200% 0;
    }
    to {
        background-position: 0% 0;
    }
}

.progress-bar-container {
	background: var(--tg-theme-bg-color, #17212b);
	border-radius: 5px;
	overflow: hidden;
	margin-top: 10px;
	height: 20px;
	position: relative;
}

.progress-bar {
	height: 100%;
	width: 0%;
	background: linear-gradient(45deg, #ffa500 25%, #ffcc80 50%, #ffa500 75%);
    background-size: 200% 100%;
	transition: width 0.5s;
	text-align: center;
	line-height: 20px;
	color: var(--tg-theme-text-color, #f5f5f5);
	font-size: 14px;
	font-weight: bold;
	animation: progressAnimation 1.5s infinite linear;
}

.modal {
    display: none;
    align-items: start;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.modal-opened {
    display: flex !important;
}

.modal-content {
    margin-top: 20%;
    background: var(--tg-theme-bg-color, #17212b);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: var(--tg-theme-text-color, #f5f5f5);
}

.input-field {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid var(--tg-theme-hint-color, #708499);
    border-radius: 5px;
    background: var(--tg-theme-secondary-bg-color, #232e3c);
    color: var(--tg-theme-text-color, #f5f5f5);
}

.btn {
    background: var(--tg-theme-button-color, #5288c1);
    color: var(--tg-theme-button-text-color, #fff);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

.btn.destructive {
    background: var(--tg-theme-destructive-text-color, #ec3942);
}

.modal .btn:hover {
    background: var(--tg-theme-button-color-hover, #3a6fa0);
}

.message {
    margin-top: 10px;
    color: var(--tg-theme-hint-color, #708499);
}

.account-card {
    background: var(--tg-theme-secondary-bg-color, #232e3c);;
    padding: 15px;
    border-radius: 10px;
    margin: 10px 0;
    cursor: pointer;
}

.menu-container {
    padding: 20px;
    background: var(--tg-theme-bg-color, #17212b);
    color: var(--tg-theme-text-color, #f5f5f5);
    margin: auto;
    font-family: sans-serif;
}

.menu-container h2, h3 {
    margin: 5px;
}

.category {
    background: var(--tg-theme-secondary-bg-color, #232e3c);
    padding: 15px;
    margin: 10px 0;
    border-radius: 10px;
    text-align: center;
}

.category img {
    width: 100px;
    height: auto;
    border-radius: 5px;
}

.products {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.product {
    text-align: center;
    cursor: pointer;
}

.product img {
    width: 75px;
    height: 75px;
    border-radius: 5px;
}

.product p {
    margin: 5px 0;
    font-size: 14px;
}

.cart-container {
    background: var(--tg-theme-secondary-bg-color, #232e3c);
    padding: 15px;
    margin: 10px 0;
    border-radius: 10px;
    text-align: center;
}

#cart-items {
    list-style: none;
    padding: 0;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: var(--tg-theme-secondary-bg-color, #2a3b4c);
    border-radius: 5px;
    margin-bottom: 5px;
}

.cart-item img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
}

.cart-item span {
    flex-grow: 1;
    text-align: left;
    padding-left: 10px;
}

.btn {
    background: var(--tg-theme-button-color, #5288c1);
    color: var(--tg-theme-button-text-color, #fff);
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
}

.btn.destructive {
    background: var(--tg-theme-destructive-text-color, #ec3942);
}

.btn.checkout {
    display: block;
    width: 100%;
    margin-top: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid var(--tg-theme-button-color, #5288c1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

.payment-frame {
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
    top: 0;
    left: 0;
    z-index: 9999;
}

.pizzerias-map {
    width: 100%;
    min-height: 80vh;
}

.pizzeria-item {
    background: var(--tg-theme-secondary-bg-color, #232e3c);
    padding: 15px;
    margin: 10px 0;
    border-radius: 10px;
    cursor: pointer;
}

[v-cloak] {
    display: none;
}
