/* Modal overlay (dark background) */
.hycpr-modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    max-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Modal content box */
.hycpr-modal-content {
    background: #fff;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: hycprFadeIn 0.3s ease-in-out;
}

/* Optional fade-in animation */
@keyframes hycprFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Close (X) button */
.hycpr-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    font-weight: bold;
}

/* Trigger button */
.hycpr-trigger-button, .hycpr-submit-button {
    background-image: linear-gradient(-90deg, #7E3C99 0%, #18335D 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    font-family: "Poppins", Sans-serif;
    border: none;
    border-radius: 50px 50px 50px 50px;
    padding: 15px 0px 15px 0px;
    cursor: pointer;
    width: 190px;
}

.hycpr-trigger-button:hover, .hycpr-submit-button:hover{
background-image: linear-gradient(-90deg, #7E3C99 0%, #7E3C99 100%) !important;
}
.hycpr-submit-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
}
button.hycpr-submit-button {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    border: none;
    font-family: "Poppins", Sans-serif;
	width: 190px;
	border-radius: 50px 50px 50px 50px;
    padding: 15px 0px 15px 0px;
}
.hycpr-submit-btn {
    width: 100%;
    text-align: center;
}
/* Form layout */
#hycpr-checkout-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 10px;
}

.hycpr-form-group {
    width: 47%;
    margin-bottom: 15px;
}

.hycpr-form-group.full-width {
    width: 100%;
}

.hycpr-form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.hycpr-error {
    font-size: 12px;
    color: red;
	text-align: left;
}
.hycpr-success{
    font-size: 12px;
    color: #28a745;
}
body.hycpr-modal-open {
    overflow: hidden;
}
.elementor-shortcode{
	text-align: center;
}
div#hycpr-response {
    margin-top: 10px;
}
button.hycpr-submit-button:focus-visible {
    outline: none;
}
button.hycpr-submit-button:focus {
    outline: none;
	box-shadow:none;
}
@media screen and (max-width: 767px) {
    .hycpr-form-group {
        width: 100% !important;
    }
}