/* Reset and Global Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Montserrat", Helvetica, Arial, Lucida, sans-serif;
    color: #585858;
    background: #fff;
    min-height: 100vh;
}

/* Wrapper Class */
.Mentzen-prime-survey-wrapper {
    max-width: 853px;
    margin: 100px auto;
    padding: 0 20px;
}

.Mentzen-prime-survey-wrapper p,
.Mentzen-prime-survey-wrapper h4 {
    padding-bottom: 0;
}

/* Form Styles */
.Mentzen-prime-survey-wrapper form {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Scoped Card Styles */
.Mentzen-prime-survey-wrapper .card {
    background: linear-gradient(135deg, #f8f8f8, #ffffff);
    border: 1px solid #e0e0e0;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0s linear 0.3s;
}

.Mentzen-prime-survey-wrapper .card-active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transition: opacity 0.3s ease-in-out;
}

.Mentzen-prime-survey-wrapper .card:not(.card-active) {
    pointer-events: none;
}

.Mentzen-prime-survey-wrapper .card h1 {
    margin-top: 0;
    font-weight: 700;
    font-size: 35px;
    margin-bottom: 20px;
}

.Mentzen-prime-survey-wrapper .card h2 {
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 40px;
}

.Mentzen-prime-survey-wrapper .card p {
    font-size: 17px;
    font-weight: 500;
}

.Mentzen-prime-survey-wrapper .card label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 17px;
}

.Mentzen-prime-survey-wrapper .card input[type="text"],
.Mentzen-prime-survey-wrapper .card input[type="email"],
.Mentzen-prime-survey-wrapper .card input[type="tel"],
.Mentzen-prime-survey-wrapper .card input[type="number"],
.Mentzen-prime-survey-wrapper .card select,
.Mentzen-prime-survey-wrapper .card textarea {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    min-height: 30px;
    padding: 10px;
    box-sizing: border-box;
}

.Mentzen-prime-survey-wrapper .card textarea {
    resize: vertical;
    height: 100px;
}

.Mentzen-prime-survey-wrapper .card .radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    flex-wrap: wrap;
    margin-top: 15px;
}

.Mentzen-prime-survey-wrapper .card .radio-group input[type="radio"] {
    display: none;
}

.Mentzen-prime-survey-wrapper .card .radio-group label {
    position: relative;
    padding-left: 32px;
    cursor: pointer;
    font-size: 15px;
    user-select: none;
    font-weight: 500;
}

.Mentzen-prime-survey-wrapper .card .radio-group label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ccc;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.Mentzen-prime-survey-wrapper
.card
.radio-group
input[type="radio"]:checked
+ label::before {
    border-color: #f59d24;
}

.Mentzen-prime-survey-wrapper .card .radio-group label::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #f59d24;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.Mentzen-prime-survey-wrapper
.card
.radio-group
input[type="radio"]:checked
+ label::after {
    opacity: 1;
}

.Mentzen-prime-survey-wrapper .card .radio-group label:hover::before {
    border-color: #f59d24;
}

/* Button Group Styles */
.Mentzen-prime-survey-wrapper .button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    font-family: "Montserrat", Helvetica, Arial, Lucida, sans-serif;
}

.Mentzen-prime-survey-wrapper .first-card-buttons {
    justify-content: center;
    margin-top: 40px;
}

.Mentzen-prime-survey-wrapper .submit-card-buttons {
    background: rgb(85, 130, 85) !important;
}

.Mentzen-prime-survey-wrapper .button-group button {
    background: #f59d24;
    color: #fff;
    border: none;
    padding: 13px 26px;
    border-radius: 50px;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.Mentzen-prime-survey-wrapper .button-group button:hover {
    transform: scaleX(1.03) scaleY(1.03);
}

/* Link Styles */
.Mentzen-prime-survey-wrapper a {
    color: #f59d24;
    text-decoration: none;
}

.Mentzen-prime-survey-wrapper a:hover {
    text-decoration: underline;
}

/* Package Descriptions */
.Mentzen-prime-survey-wrapper .package-description {
    margin-top: 20px;
    font-size: 16px;
    color: #585858;
}

.Mentzen-prime-survey-wrapper .package-description h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #f59d24;
    font-weight: 700;
    text-align: center;
}

.Mentzen-prime-survey-wrapper .package-description ul {
    list-style-type: disc;
    padding-left: 20px;
    padding-bottom: 0;
    margin-bottom: 20px;
}

.Mentzen-prime-survey-wrapper .package-description ul li {
    margin-bottom: 5px;
}

.Mentzen-prime-survey-wrapper .package-description p {
    font-size: 16px;
    margin-bottom: 5px;
}

/* Packages Kadry */
.Mentzen-prime-survey-wrapper .packages-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.Mentzen-prime-survey-wrapper .package-name {
    flex: 1;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 5px;
}

.Mentzen-prime-survey-wrapper .package-name h4 {
    margin-top: 0;
    margin-bottom: 2px;
    color: #f59d24;
    font-size: 17px;
    font-weight: 700;
}

.Mentzen-prime-survey-wrapper .package-name p {
    margin-bottom: 10px;
}

.Mentzen-prime-survey-wrapper .common-description {
    font-size: 16px;
    line-height: 1.5;
}

.Mentzen-prime-survey-wrapper .common-description p {
    margin-bottom: 10px;
}

.Mentzen-prime-survey-wrapper #card-13 h3 {
    margin-bottom: 20px;
    font-size: 19px;
    font-weight: 600;
}

/* Purchase Buttons */
.Mentzen-prime-survey-wrapper .buttons-container {
    margin-top: 30px;
    text-align: center;
}

.Mentzen-prime-survey-wrapper .buttons-container h2 {
    margin-bottom: 15px;
    font-size: 32px;
    color: #585858;
}

.Mentzen-prime-survey-wrapper .buttons-container .Package-button {
    display: inline-block;
    padding: 13px 26px;
    background-color: #f59d24;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    margin: 10px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.Mentzen-prime-survey-wrapper .buttons-container .Package-button:hover {
    background-color: #e68a00;
}

/* Submission Message */
.Mentzen-prime-survey-wrapper .submission-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.Mentzen-prime-survey-wrapper .submission-message {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
}

.Mentzen-prime-survey-wrapper .submission-message h2 {
    color: #585858;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.Mentzen-prime-survey-wrapper .submission-message p {
    color: #585858;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Error Message */
.Mentzen-prime-survey-wrapper .error-message {
    background-color: #dc3545; /* Bootstrap 'danger' red */
    color: white;
    padding: 5px 10px;
    border-radius: 20px; /* Makes the corners rounded */
    font-weight: bold;
    display: inline-block;
    text-align: center;
    font-size: 14px;
    margin-bottom: 15px;
    display: none;
}

.Mentzen-prime-survey-wrapper .invalid {
    border-color: #dc3545 !important;
}

/* Loading Spinner */
.Mentzen-prime-survey-wrapper .spinner {
    border: 8px solid #f3f3f3;
    border-radius: 50%;
    border-top: 8px solid #f59d24;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.Mentzen-prime-survey-wrapper #loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999; /* Ensure the spinner is above the content */
    background: rgba(
            255,
            255,
            255,
            0.8
    ); /* Semi-transparent background to dim content */
    border-radius: 10px;
    padding: 20px;
}

/* Information */
.Mentzen-prime-survey-wrapper .Information-NumberOfDocuments p {
    margin-bottom: 10px;
}

/* Recurring interval / Price */
.Mentzen-prime-survey-wrapper
.package-description
.Description-Recurring-Interval {
    margin-bottom: 5px;
}

.Mentzen-prime-survey-wrapper
.package-description
.Description-Recurring-Interval
p {
    font-size: 19px;
    margin: 0;
    padding: 0;
    font-weight: 600;
    color: #f59d24;
    text-align: center;
}

.Mentzen-prime-survey-wrapper
.package-description
.Description-Price-Container {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.Mentzen-prime-survey-wrapper
.package-description
.Description-Price-Container
p {
    margin: 0;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 23px;
    font-weight: 700;
    color: #fff;
    background-color: #f59d24;
}

.Mentzen-prime-survey-wrapper .Information-NumberOfDocuments {
    margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 600px) {
    .Mentzen-prime-survey-wrapper {
        margin: 20px auto;
        padding: 0 10px;
    }

    .Mentzen-prime-survey-wrapper .card {
        padding: 15px;
    }

    .Mentzen-prime-survey-wrapper .card input[type="text"],
    .Mentzen-prime-survey-wrapper .card input[type="email"],
    .Mentzen-prime-survey-wrapper .card input[type="tel"],
    .Mentzen-prime-survey-wrapper .card input[type="number"],
    .Mentzen-prime-survey-wrapper .card select,
    .Mentzen-prime-survey-wrapper .card textarea {
        font-size: 14px;
        padding: 8px;
    }

    .Mentzen-prime-survey-wrapper .card .radio-group {
        gap: 10px;
    }

    .Mentzen-prime-survey-wrapper .card .radio-group label {
        font-size: 16px;
        padding-left: 25px;
    }

    .Mentzen-prime-survey-wrapper .card .radio-group label::before {
        width: 16px;
        height: 16px;
        top: 1px;
    }

    .Mentzen-prime-survey-wrapper .card .radio-group label::after {
        width: 8px;
        height: 8px;
        left: 4px;
        top: 5px;
    }

    .Mentzen-prime-survey-wrapper .button-group {
        flex-direction: column;
        gap: 10px;
    }

    .Mentzen-prime-survey-wrapper .button-group button {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
}
