#one-click-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.one-click-modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    font-family: 'Arial', sans-serif;
    color: #333;
    position: relative;
    animation: fadeIn 0.4s ease-in-out;
}

.input-group {
    margin-bottom: 20px;
    font-size: 14px;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

.checkbox-label a {
    margin-left: 5px;
	margin-right: 5px;
    color: #0073aa;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: #28a745;
    border-color: #28a745;
}

input[type="checkbox"]:invalid + .checkbox-label {
    color: red;
}


@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.one-click-modal-content h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #007bff;
    font-weight: 600;
    text-align: center;
}

.input-group {
    display: flex;
    align-items: center;
    margin: 12px 0;
    position: relative;
}

.input-icon {
    position: absolute;
    left: 10px;
    color: #007bff;
}

input[type="text"] {
    width: 100%;
    padding: 12px 10px 12px 35px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: all 0.3s;
}

input[type="text"]:focus {
    border-color: #007bff;
    background-color: #fff;
    outline: none;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #218838;
}

h5 {
    font-size: 14px;
    margin-top: 15px;
    color: #777;
}

.input-group .input-icon {
    font-size: 20px;
}

@media (max-width: 768px) {
    .one-click-modal-content {
        width: 80%;
        padding: 25px;
    }

    .submit-btn {
        font-size: 16px;
    }

    h3 {
        font-size: 22px;
    }
}


.woocommerce .single_add_to_cart_button {
    display: flex;
    flex-direction: column;
}

.one-click-buy {
    background-color: #28a745;
    color: white;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 15px;
    display: block;
}

.one-click-buy:hover {
    background-color: #218838;
}

.one-click-buy:focus {
    outline: none;
}

@media (max-width: 768px) {
    .one-click-buy {
        width: 100%;
    }
}

#success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    flex-direction: column;
}

.success-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.success-modal-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #28a745;
    font-weight: 600;
}

.success-modal-content p {
    font-size: 16px;
    margin-bottom: 20px;
    color: #333;
}

.success-modal-content button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
}

.success-modal-content button:hover {
    background-color: #0056b3;
}

#one-click-modal, #success-modal {
    display: flex;
    justify-content: center;
    align-items: center;
}

#one-click-modal, #success-modal {
    cursor: pointer;
}

#one-click-modal .one-click-modal-content, #success-modal .success-modal-content {
    cursor: auto;
}
