*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(180deg, #FFCCCC 0%, #FFF5F5 60%);
    min-height: 100vh;
}

.container {
    max-width: 420px;
    margin: 24px auto;
    padding: 18px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(107, 46, 46, 0.15);
    overflow-x: hidden;
}



h1 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
}

label {
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

select,
input {
    width: 100%;
    max-width: 100%;
    font-size: 18px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #E5B5B5;
    margin-bottom: 16px;
    background: #FFFDFD;
    display: block;
}


button {
    width: 100%;
    padding: 16px;
    font-size: 18px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    margin-bottom: 12px;
}

.btn-primary {
    background: #FFCCCC;
    color: #6B2E2E;
    font-weight: 600;
}

.btn-primary:active {
    background: #F5BABA;
}

.btn-secondary {
    background: #F0F0F0;
    color: #555;
}

.qr-wrapper {
    text-align: center;
    margin-top: 20px;
}

.qr-wrapper img {
    width: 260px;
    height: 260px;
    margin: auto;
    display: none;
}

.hint {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-top: 10px;
}
.item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFF0F0;
    padding: 12px;
    border-radius: 12px;
    margin-top: 10px;
}

.item input {
    width: 90px;
    font-size: 16px;
    text-align: right;
    border: 1px solid #E5B5B5;
    border-radius: 8px;
}

.remove {
    font-size: 20px;
    cursor: pointer;
    color: #B00020;
}

.total {
    margin-top: 18px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: #6B2E2E;
}

.qr-wrapper {
    text-align: center;
    margin-top: 24px;
    padding: 16px;
    background: #FFF5F5;
    border-radius: 16px;
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.logo img {
    background: #6B2E2E; /* tamna, elegantna */
    padding: 12px 22px;
    border-radius: 999px; /* kapsula */
    max-width: 240px;
}
.logo-strip {
    background: linear-gradient(90deg, #6B2E2E, #9B4A4A);
    padding: 14px 0;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 16px;
}

.logo-strip img {
    max-width: 240px;
}

label,
.total,
h1 {
    color: #6B2E2E;
}

input,
select {
    color: #333;
}

.hint {
    color: #777;
}
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.qr-wrapper img.show {
    display: block;
    animation: fadeInScale 0.35s ease-out;
}

