/* Popup Overlay Styles */
.mf-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Darker background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it appears above other content */
    overflow: auto; /* Ensure overflow handling */
    padding: 20px; /* Add padding to prevent content from touching screen edges */
}

/* Popup Content Styles */
.mf-popup-content {
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.8); /* Add a light overlay to the background image */
    padding: 20px;
    width: 60%;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    color: white; /* Ensure text is readable on a potentially dark background */
    position: relative; /* Positioning for close button */
}

/* Close Button Styles */
#mf-popup-close {
    position: absolute;
    top: -10px;
    right: 0px;
    color: #000000;
    background: transparent;
    border: none;
    padding: 5px;
    cursor: pointer;
    font-size: 4.5rem;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .mf-popup-content {
        width: 75%; /* Adjust for medium screens */
    }
}

@media (max-width: 992px) {
    .mf-popup-content {
        width: 85%; /* Adjust for smaller screens */
    }
}

@media (max-width: 768px) {
    .mf-popup-content {
        width: 90%; /* Adjust for tablets */
        padding: 15px; /* Reduce padding for better fit */
    }

    #mf-popup-close {
        font-size: 3rem; /* Adjust close button size */
        top: 0; /* Adjust position for smaller screens */
        right: 10px;
    }

    h2.text-center {
        font-size: 2rem; /* Adjust heading size */
    }
}

@media (max-width: 576px) {
    .mf-popup-content {
        width: 95%; /* Adjust for mobile screens */
        padding: 10px; /* Further reduce padding */
    }

    #mf-popup-close {
        font-size: 2.5rem; /* Adjust close button size */
    }

    .mf-step-form {
        gap: 10px; /* Reduce gap between form elements */
    }

    .mf-step-form input,
    .mf-step-form button {
        font-size: 14px; /* Adjust font size for smaller screens */
    }
}




/* Form Styles */
.mf-step-form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Add spacing between form elements */
    background-color: rgba(255, 255, 255, 0.7); /* White background with 80% opacity */
    padding: 20px; /* Add padding inside the form */
    border-radius: 8px; /* Optional: Add rounded corners */
}

.mf-step-form input::placeholder {
    color: #2b2929; /* Darker color for placeholder text */
}

.mf-step-form input,
.mf-step-form .form-check-input {
    padding: 10px;
    background-color: transparent; /* Transparent background */
    border: none; /* Remove border */
    border-radius: 8px;
    font-size: 16px; /* Increase font size for readability */
    transition: border-color 0.3s ease; /* Smooth transition for border color */
    color: #000; /* Text color */
    box-shadow: none; /* Remove shadow */
    border-bottom: 2px solid #181819; /* Optional: Add a bottom border */
}

.mf-step-form input:focus,
.mf-step-form .form-check-input:focus {
    padding: 10px;
    background-color: transparent; /* Transparent background */
    border: none; /* Remove border */
    border-radius: 8px;
    font-size: 16px; /* Increase font size for readability */
    transition: border-color 0.3s ease; /* Smooth transition for border color */
    color: #000; /* Text color */
    box-shadow: none; /* Remove shadow */
    border-bottom: 2px solid #181819; /* Optional: Add a bottom border */
}

/* Button Styles */
.mf-step-form button {
    background: linear-gradient(to right, #3452ff 0%, #ad3ed8 100%) !important;
    color: #ffffff; /* Use a theme color */
    /* border: 2px solid #000000; Border color */
    padding: 8px 16px; /* Adjust padding to make the button narrower */
    border-radius: 8px;
    transition: none; /* Remove transition effect */
    width: auto; /* Allow width to adjust based on content */
    max-width: 200px; /* Set a maximum width to constrain the button size */
    text-align: center; /* Center text inside the button */
    display: block; /* Ensure the button is a block-level element */
    margin: 0 auto; /* Center the button horizontally */
}

.mf-step-form button:hover {
    background-color: transparent; /* Remove hover background */
    color: #000000; /* Keep text color the same on hover */
}


#mf-form-container {
    max-width: 800px; /* Adjust this value as needed */
    margin: 0 auto; /* Center the container horizontally */
    padding: 20px; /* Optional: Add padding inside the container */
}

h2.text-center {
    font-family: 'Arial', sans-serif; /* Change this to your desired font */
    font-size: 2.5rem; /* Adjust the size to make it broader */
    font-weight: bold; /* Make the font bold */
    color: #007bff; /* Change this to your desired color */
    text-align: center; /* Center the text */
    margin: 20px 0; /* Add margin above and below */
   
}


/* Styles for the form */
#mf-step-2 {
    padding: 1rem;
}

/* Styles for form-group */
.form-group {
    margin-bottom: 1rem;
}

/* Styles for form-check */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

/* Styles for form-check-input */
.form-check-input {
    margin-top: -10px !important;
}

/* Styles for form-check-label */
.form-check-label {
    margin-left: 24px;
}

/* Styles for the button */
.btn-primary {
    margin-top: 1rem;
}


.mf-checkbox-group input[type="checkbox"] {
    display: none; / Hide the checkboxes /
}

.mf-checkbox-group label {
    display: block; / Make the label cover the entire line /
    padding: 10px;
    width: 100%; / Ensure the label takes up the full width /
    border-radius: 5px;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.mf-checkbox-group label.selected {
    background: linear-gradient(to right, #3452ff 0%, #ad3ed8 100%) !important;
    color: white;
}

.mf-checkbox-group label:hover {
    background-color: #e0e0e0; / Add hover effect for better UX /
}

.tab-style {
    display: inline-block;
    padding: 10px 20px;
    width: 80% !important;
    margin: 5px;
    align-items: center !important;
    
    border-radius: 15px;
    background-color: #f8f9fa;
    cursor: pointer;
    font-family: Arial, sans-serif;
    transition: background-color 0.3s ease;
    
    /* Shadow to the border */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.tab-style:hover {
    background-color: #050505;
    color: #947d7d;
}

.tab-style input {
    display: none;
}

.tab-style.active {
    background-color: #020202;
    color: #fff;
}


/* Success Popup Container */
#mf-success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000; /* Ensure it appears above other content */
}

/* Popup Content */
.mf-success-popup-content {
    position: relative; /* Position relative for the close button */
    background: #fff; /* White background for the popup */
    padding: 20px;
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
    text-align: center;
    max-width: 500px; /* Limit the width */
    width: 90%; /* Responsive width */
}

/* Close Button */
#mf-success-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #000; /* Dark color for the close button */
    background: none; /* No background for the close button */
    border: none; /* No border for the close button */
}

/* Success Message */
#mf-success-popup p {
    margin: 0;
    font-size: 18px;
    color: #333; /* Dark color for the text */
}
