/* Popup styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup-billing {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    z-index: 1000;
    max-width: 400px;
    width: 90%;
}

.popup-billing-2{
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
    width: 100%;
}

.popup-billing-2 a {
    width: 50%;
    box-sizing: border-box;
    border: 0.1px solid
}

.regist-btn {
    background-color: #2272FF;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.coupon-input-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.coupon-input {
    flex: 1;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
}
.coupon-message {
    width: 100%;
    margin-top: 5px;
    font-size: 12px;
}
.coupon-message.error {
    color: #FF0000;
}
.coupon-message.success {
    color: #2272FF;
}
.coupon-input:focus {
    border-color: #2272FF;
    outline: none;
    box-shadow: 0 0 5px rgba(34, 114, 255, 0.3);
}

.gap-day {
    margin: 10px 0;
    color: #FF0000;
}
.coupon-row {
    display: none;
}

.coupon-row .price {
    font-weight: 700;
    font-size: 14px;
}

#couponCode {
    color: #AAAAAA;
    font-size: 0.8rem;
}

.next-pay-date,
.next-billing-date {
    color: #AAAAAA;
    font-size: 0.8rem;
}

.next-billing-date > td {
    text-align: right;
}
/* Popup styles */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup-billing {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    z-index: 1000;
    max-width: 400px;
    width: 90%;
}

.popup-billing-2{
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
    width: 100%;
}

.popup-billing-2 a {
    width: 50%;
    box-sizing: border-box;
    border: 0.1px solid
}

.popup-content p {
    font-size: 18px;
    font-weight: bold; 
    color: #000000; 
    text-align: center; 
    margin-bottom: 0;
}

.popup-content div {
    margin-top: 6px; 
    text-align: center;
    padding: 10px;
    font-size: 14px;
}

.popup-divider {
    width: 100%; 
    margin-top: 20px; 
    margin-bottom: 16px;
}

.popup-btn-billing {
    display: block; 
    background-color: #1485FF; 
    color: white; 
    text-align: center; 
    padding: 10px; 
    border-radius: 5px; 
    text-decoration: none; 
    font-weight: bold;
    cursor: pointer;
}

.popup-btn-billing-cancel {
    display: block;
    color: #AAAAAA;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
}

.popup-disclaimer {
    background-color: #F8F8F8; 
    font-size: 10px;
    padding: 20px;
}

/* Style for the card registration button next to payment method */
h4 .popup-btn-billing {
    display: inline-block;
    margin-left: 10px;
    padding: 5px 10px;
    font-size: 12px;
    vertical-align: middle;
}

.regist-btn {
    background-color: #2272FF;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.coupon-input-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.coupon-input {
    flex: 1;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 14px;
}
.coupon-message {
    width: 100%;
    margin-top: 5px;
    font-size: 12px;
}
.coupon-message.error {
    color: #FF0000;
}
.coupon-message.success {
    color: #2272FF;
}
.coupon-input:focus {
    border-color: #2272FF;
    outline: none;
    box-shadow: 0 0 5px rgba(34, 114, 255, 0.3);
}

.gap-day {
    margin: 10px 0;
    color: #FF0000;
}
.coupon-row {
    display: none;
}

.coupon-row .price {
    font-weight: 700;
    font-size: 14px;
}

#couponCode {
    color: #AAAAAA;
    font-size: 0.8rem;
}

.next-pay-date,
.next-billing-date {
    color: #AAAAAA;
    font-size: 0.8rem;
}

.next-billing-date > td {
    text-align: right;
}
