* {
    box-sizing: border-box;
}

body, html {
    background-color: #1c1c1c; /* Dark background */
    margin: 0;
    padding-top: 60px; /* Adjust based on the height of your header */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center children horizontally */
    justify-content: flex-start; /* Start children at the top, below the header */
}

.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    text-align: center;
    padding: 10px 0;
    background-color: #1c1c1c; /* Match body background */
    z-index: 10; /* Ensures the header is above other content */
}

#logo {
    font-family: 'Raleway', sans-serif;
    font-size: 34px;
    color: white;
    margin-top: 30px;
}

.tab {
    color: white;
    font-size: 22px;
}

#regForm {

    background: linear-gradient(108deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.16) 100%);
    box-shadow: 0px 8px 24px 0px rgba(0, 0, 0, 0.25);
    font-family: Raleway;
    padding: 40px;
    width: 50%;
    min-width: 300px;
    margin-top: 2em; /* This adds space between the logo and the form */
    z-index: 1; /* Lower z-index than the header */
    border-radius: 20px;
    border: 1px solid #FFF;
    backdrop-filter: blur(5px);
    position: relative;
}


h1 {
    text-align: center;
    color: #ffffff;
}

input {
    padding: 10px;
    width: 100%;
    font-size: 17px;
    font-family: Raleway;
    border: 1px solid #aaaaaa;
    background-color: rgba(0, 0, 0, 0.7); /* Make input fields semi-transparent */
    color: white; /* Text color for input */
    margin-bottom: 15px; /* Add space between input fields */
}

/* Mark input boxes that gets an error on validation: */
input.invalid {
    background-color: #ffdddd;
}

.form-check {
    padding-left: 0;
}

#ab {
    font-size: 40px;
}

/* Hide all steps by default: */
.tab {
    display: none;
}


button {
    background-color: rgba(255, 255, 255, 0.7);
    color: #000000;
    border: none;
    padding: 10px 20px;
    font-size: 17px;
    font-family: Raleway;
    cursor: pointer;
    border-radius: 20px; /* Rounded corners for the button */
}

.button-container {
    display: flex;
    justify-content: center; /* Aligns children (buttons) in the center */
    gap: 10px; /* Optional: adds space between buttons */
}

button:hover {
    opacity: 0.8;

}

#prevBtn {
    background-color: #bbbbbb;
}

#stepIndicators {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
}

/* Make circles that indicate the steps of the form: */
.step {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbbbbb;
    border: none;
    border-radius: 50%;
    display: inline-block;
    opacity: 0.5;
}

a {
    color: #000000; /* Sample color for links */
}

.step.active {
    opacity: 1;
    background-color: #000000;
}

/* Mark the steps that are finished and valid: */
.step.finish {
    background-color: #ffffff;
}

#regForm > div.tab {
    text-align: center; /* Center align the content */
}

.custom-radio {
    display: inline-block; /* Align the radio buttons horizontally */
    margin: 0 15px; /* Spacing between radio buttons */
}

.custom-radio input {
    display: none; /* Hide the default radio button */
}

.radio-option-container {
    text-align: center;
    margin-top: 20px; /* Adds space below the heading */
    margin-bottom: 20px;
}

.radio-option {
    padding: 15px 30px; /* Increased padding for a larger button */
    border: 2px solid #ddd; /* Solid border for a cleaner look */
    display: inline-block;
    cursor: pointer;
    margin: 10px 5px; /* More space around each option */
    border-radius: 20px; /* Rounded corners for a softer look */
    background-color: #f9f9f9; /* Light background for the options */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    font-size: 16px; /* Slightly larger font size */
    color: #333; /* Darker text for better readability */
}

.radio-option:hover {
    background-color: #e2e2e2; /* Change background on hover */
    border-color: #ccc; /* Change border color on hover */
}

.radio-option.selected {
    border-color: #4CAF50; /* Green border for selected option */
    background-color: #e8f5e9; /* Light green background for selected option */
    color: #2e7d32; /* Dark green text for selected option */
}

.custom-radio.checked {
    border: 2px solid #20d72e;
}

.custom-radio.checked > .radio-label {
    color: #20d72e;
}

/* ... Your existing styles ... */

.question-heading {
    font-size: 14px; /* Adjust size as needed */
    font-weight: bold;
    color: #713E91FF; /* Changed to white for visibility */
    text-align: center;
    /*margin: 20px 0;*/
    margin-bottom: 0;
}

.subtext {
    font-size: 12px;
    color: #713E91FF; /* Changed to white for visibility */
    text-align: center;
    /*margin-bottom: 20px;*/
    margin-bottom: 0;
}

.radio-option-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.custom-radio {
    background-color: transparent; /* Changed to match the theme */
    border: 2px solid #713E91FF; /* White border for visibility */
    padding: 15px 30px; /* Padding as per design */
    margin-bottom: 10px;
    border-radius: 4px;
    /*width: 80%;*/
    box-sizing: border-box; /* For proper width calculation */
}

.custom-radio input[type="radio"] {
    display: none; /* Hide the default radio button */
}

.radio-label {
    color: #713E91FF; /* White color text for visibility */
    text-align: left;
    width: 100%;
    display: block; /* Make the label take the full width of its parent */
    cursor: pointer;
}

.col-8 label {
    width: 100% !important;
}

/* Styling for the selected option, you may need JavaScript to toggle this class */
.radio-label.selected {
    background-color: #FFFFFF; /* White background for the selected label */
    color: #4A4A4A; /* Dark text for the selected label */
}

.button-container {
    text-align: center;
    margin-top: 20px;
}

#nextBtn {
    background-color: #000000; /* Dark purple background for the button */
    color: #FFFFFF; /* White text color for the button */
    border: none;
    padding: 10px 30px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

#nextBtn:hover {
    background-color: #1c1c1c1c; /* Lighter purple on hover */
}

/* ... Any other styles you might have ... */
#option-no {
    /* Your existing styles here */
    /*border: 2px solid transparent;
    color: red;*/
}


* {
    margin: 0;
    padding: 0
}

html {
    height: 100%
}

p {
    color: grey
}

#heading {
    text-transform: uppercase;
    color: #713E91FF;
    font-weight: normal
}

#msform {
    text-align: center;
    position: relative;
    margin-top: 20px
}

#msform fieldset {
    background: white;
    border: 0 none;
    border-radius: 0.5rem;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding-bottom: 20px;
    position: relative
}

.form-card {
    text-align: left
}

#msform fieldset:not(:first-of-type) {
    display: none
}

/*#conditions {*/
/*    padding: 8px 15px 8px 15px;*/
/*    border: 1px solid #ccc;*/
/*    border-radius: 0px;*/
/*    margin-bottom: 25px;*/
/*    margin-top: 2px;*/
/*    width: 100%;*/
/*    box-sizing: border-box;*/
/*    font-family: montserrat;*/
/*    color: #2C3E50;*/
/*    background-color: #ECEFF1;*/
/*    font-size: 16px;*/
/*    letter-spacing: 1px*/
/*}*/

#msform input:focus,
#msform textarea:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border: 1px solid #713E91FF;
    outline-width: 0
}

#msform .action-button {
    width: 100px;
    background: #713E91FF;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 0px 10px 5px;
    float: right
}

#msform .action-button:hover,
#msform .action-button:focus {
    background-color: #311B92
}

#msform .action-button-previous {
    width: 100px;
    background: #616161;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 0px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px 10px 0px;
    float: right
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
    background-color: #000000
}

.card {
    z-index: 0;
    border: none;
    position: relative
}

.fs-title {
    font-size: 25px;
    color: #713E91FF;
    margin-bottom: 15px;
    font-weight: normal;
    text-align: center;
}

.purple-text {
    color: #713E91FF;
    font-weight: normal
}

.steps {
    font-size: 25px;
    color: gray;
    margin-bottom: 10px;
    font-weight: normal;
    text-align: right
}

.fieldlabels {
    color: gray;
    text-align: left
}

#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    color: lightgrey
}

#progressbar .active {
    color: #713E91FF
}

#progressbar li {
    list-style-type: none;
    font-size: 15px;
    width: 14.28%;
    float: left;
    position: relative;
    font-weight: 400
}

#progressbar #account:before {
    /*font-family: FontAwesome;*/
    /*content: "\f13e"*/
    content: url('../images/user.png');
    padding-top: 8px;
}

#progressbar #personal:before {
    /*font-family: FontAwesome;*/
    /*content: "\f007"*/
    content: url('../images/chart.png');
    padding-top: 8px;
}

#progressbar #payment:before {
    /*font-family: FontAwesome;*/
    /*content: "\f030"*/
    content: url('../images/save-money.png');
    padding-top: 8px;
}

#progressbar #experience:before {
    /*font-family: FontAwesome;*/
    /*content: "\f030"*/
    content: url('../images/review.png');
    padding-top: 8px;
}

#progressbar #goal:before {
    /*font-family: FontAwesome;*/
    /*content: "\f030"*/
    content: url('../images/target.png');
    padding-top: 8px;
}

#progressbar #confirm:before {
    font-family: FontAwesome;
    content: "\f00c"
}

#progressbar li:before {
    width: 50px;
    height: 50px;
    line-height: 45px;
    display: block;
    font-size: 20px;
    color: #ffffff;
    background: lightgray;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    padding: 2px
}

#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: lightgray;
    position: absolute;
    left: 0;
    top: 25px;
    z-index: -1
}

#progressbar li.active:before,
#progressbar li.active:after {
    background: #713E91FF
}

.progress {
    height: 20px
}

.progress-bar {
    background-color: #713E91FF
}

.fit-image {
    width: 100%;
    object-fit: cover
}

.no-border {
    border: none !important;
}

@media (min-width: 320px) {
    /* smartphones, iPhone, portrait 480x320 phones */
    .custom-radio {
        width: 100%;
        margin: 5px 0px;
        padding: 10px 10px;
    }

    .col-sm-6.custom-radio {
        width: 45%;
    }
}

@media (min-width: 481px) {
    /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
    .custom-radio {
        width: 100%;
        margin: 5px 0px;
        padding: 10px 10px;
    }

    .col-sm-6.custom-radio {
        width: 45%;
    }
}

@media (max-width: 450px) {
    .card__mobile-padding .card {
        padding: 1rem !important;
    }
}

#toast-container .toast {
    font-size: 16px; /* Change this value as needed */
}
