.popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    transition: opacity 0.3s ease;
}

.popup.hidden {
    display: none;
}

.popup-content {
    background-color: #fff;
    padding: 15px;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: popupFadeIn 0.3s ease;
}

@keyframes popupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-btn {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 22px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

input,
select,
.payment-button {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
}

input:focus, select:focus {
    border-color:#049ad5;
    outline: none;
}

.payment-button {
    background-color: #049ad5;
    color: #fff;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.payment-button:hover {
    background-color: #049ad5;
}

/* Flexbox for Three Inputs in One Row */
.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.form-row > div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

label {
    font-size: 14px;
    margin-bottom: 4px;
    text-align: left;
    color: #555;
    font-weight: 500;
}

.hidden {
    display: none;
}