#khqr-payment {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.khqr {
    position: relative;
}

.khqr-image {
    width: 15rem;
}

.qr-content {
    position: absolute;
    top: 7.5rem;
    left: 1.2rem;
}

.identifier {
    position: absolute;
    top: 4rem;
    left: 2.5rem;
    text-align: left;
}

.identifier p {
    margin: 0;
}

#khqr-enter {
    max-width: 420px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.currency-chips {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.chip {
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid var(--light-gray-color);
    cursor: pointer;
    font-weight: 600;
    background: var(--light-gray-color);
}

.chip.active {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.amount-display {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 25px;
}

.keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 22rem;
    margin: 0 auto;
    margin-bottom: 2rem;
}

.key {
    aspect-ratio: 1/1;
    padding: 1rem;
    font-size: 1.5rem;
    border: none;
    border-radius: 50%;
    background: var(--light-gray-color);
    cursor: pointer;
}

.key:active {
    background: var(--gray-color);
}

#pay-button {
    width: 100%;
    padding: 15px;
    background: #000;
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 18px;
    cursor: pointer;
}

#pay-button:active {
    opacity: 0.8;
}

.key, .chip {
    touch-action: manipulation;
}
