.mattencheck-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #fff;
    /* Default text color white as requested for option cards, but container might need it too if background is dark */
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid #ddd;
    padding: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    /* Transparent background */
    color: white;
    /* White text */
}

.option-card:hover {
    border-color: #AE8B2B;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Hide default radio */
.option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Selected state */
.option-card input[type="radio"]:checked~.checkmark-circle {
    display: flex;
}

.option-card:has(input[type="radio"]:checked) {
    border-color: #55b949;
}

.option-card img {
    max-width: 100%;
    height: auto;
    border-radius: 2px;
    margin-bottom: 10px;
    object-fit: cover;
    height: 200px;
    width: 100%;
}

.option-card span {
    font-weight: bold;
    font-size: 1.1em;
}

/* Checkmark styling */
.checkmark-circle {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: #55b949;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.checkmark-circle::after {
    content: '✓';
    font-weight: bold;
}

.question-block {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #AE8B2B;
    /* Label color */
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 0;
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.right-buttons {
    display: flex;
    gap: 10px;
}

/* User provided button styles */
.btn {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    font-weight: 400;
    line-height: 1.5;
    font-family: 'Proxima Nova', sans-serif;
    font-size: 18px;
    box-sizing: border-box;
    background-color: #55b949;
    width: auto !important;
    color: #fff;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 15px;
    border-radius: 0 !important;
    text-align: center;
    height: 45px;
    display: inline-block;
    padding-top: 8px;
    text-decoration: none !important;
    margin: 0;
    margin-bottom: 0;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #AE8B2B;
}

.btn.prev-step {
    background-color: #6c757d;
    /* Back button color (grey) */
}

.btn.prev-step:hover {
    background-color: #AE8B2B;
}

.btn.skip-step {
    background-color: #6c757d;
    /* Skip button color (grey) */
}

.btn.skip-step:hover {
    background-color: #AE8B2B;
}

.step {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Modal Styling */
.mattencheck-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.mattencheck-modal-content {
    background-color: #212529;
    /* Dark background */
    padding: 30px;
    border-radius: 4px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid #fff;
    /* White border */
    border-top: 5px solid #AE8B2B;
    /* Keep nice top border */
}

.mattencheck-modal-content p {
    color: #fff;
    /* White text */
    font-size: 1.1em;
    margin-bottom: 20px;
}