/* Custom font */
@import url('https://fonts.googleapis.com/css?family=Montserrat');

/* Reset */
* { margin: 0; padding: 0; }

html {
    height: 100%;
    background: #000000;
}

body {
    font-family: 'sans-serif', 'auto';
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
}

/* Help / Notes styling */
.help-message {
    font-size: 17px;
    color: #d4af37;
    background: rgba(212, 175, 55, 0.12);
    border-left: 4px solid #d4af37;
    padding: 10px 12px;
    margin: 8px 0 16px;
    border-radius: 6px;
    text-align: left;
    line-height: 1.6;
    transition: all 0.3s ease-in-out;
    cursor: default;
}

.help-message i {
    margin-right: 8px;
    font-size: 18px;
    color: #d4af37;
}

/* Hover effect */
.help-message:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateX(3px);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}
/* Form styling */
#msform {
    width: 70%;
    margin: 50px auto;
    text-align: center;
    position: relative;
}
#msform fieldset {
    display: none;
}
#msform fieldset:first-of-type {
    display: block;
}
.input-container {
    position: relative;
    margin-bottom: 15px;
}

.input-container {
    position: relative;
    margin-bottom: 15px;
}

.error-container {
    background: #ffcccc;
    color: #900;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

textarea {
    width: 100%;
    padding: 15px; /* More padding for better text visibility */
    border: 2px solid #ccc;
    border-radius: 8px;
    resize: vertical;
    min-height: 200px; /* Increased height */
    font-size: 16px; /* Bigger font for readability */
    line-height: 1.6; /* Improve spacing */
    transition: border-color 0.3s ease-in-out;
}

textarea:focus {
    border-color: #007bff; /* Highlight on focus */
    outline: none;
}
.styled-select {
    width: 100%;
    padding: 10px;
    border: 2px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease-in-out;
    background-color: white;
}

.styled-select.input-error {
    border-color: red;
}

.error-message-all {
    color: red;
    font-size: 16px;
    margin-top: 5px;
}
.error-message {
    display: none;
    color: red;
    font-size: 16px;
    margin-top: 5px;
}

#msform fieldset {
    background: #111111;
    border: none;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    padding: 20px 30px;
    width: 80%;
    margin: 0 10%;
    color: white;
}

.input-error {
    border: 2px solid red !important;
    background-color: #ffe5e5;
}

/* Input fields */
#msform input, #msform textarea {
    padding: 15px;
    border: 1px solid #444;
    background: #222;
    color: white;
    border-radius: 3px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    font-size: 14px;
}

/* Buttons */
#msform .action-button {
    width: 120px;
    background: #B68D5A;
    color: black;
    font-weight: bold;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    padding: 12px;
    text-transform: uppercase;
    font-size: 14px;
}
/* General input styles */
.styled-input, .styled-select {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #222; /* Dark background */
    color: #fff; /* White text */
    font-size: 16px;
}

/* Styling for select dropdown */
.styled-select {
    appearance: none; /* Removes default browser styling */
    cursor: pointer;
}

/* Custom dropdown arrow */
.styled-select::after {
    content: "▼";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* On hover/focus */
.styled-input:focus, .styled-select:focus {
    border-color: #d4af37; /* Gold color to match the theme */
    outline: none;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.7);
}

#msform .action-button:hover {
    background: #d4a76c;
}
/* Label Styling */
label {
    font-size: 16px;
    color: white;
    display: block;
    margin-bottom: 10px;
    text-align: left;
}

/* Progress bar */
#progressbar {
    margin-bottom: 30px;
    counter-reset: step;
    overflow: hidden;
}

#progressbar li {
    list-style-type: none;
    color: white;
    font-size: 12px;
    width: 33.33%;
    float: left;
    position: relative;
    text-transform: uppercase;
    font-family: 'DM Sans';

}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 25px;
    line-height: 25px;
    display: block;
    font-size: 14px;
    color: black;
    background: #B68D5A;
    border-radius: 3px;
    margin: 0 auto 5px auto;
}

#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #444;
    position: absolute;
    left: -50%;
    top: 11px;
    z-index: -1;
}

#progressbar li:first-child:after {
    content: none;
}

#progressbar li.active:before, #progressbar li.active:after {
    background: #B68D5A;
    color: black;
}
.header-container {
    text-align: center;
    margin: 20px 0;
}
.logo {
    max-width: 250px;
    display: block;
    margin: 0 auto;
}
.form-title {
    font-size: 24px;
    color: white;
    text-align: center;
    margin-top: 10px;
}
#progressbar {
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    counter-reset: step;
}
#progressbar li {
    width: 50%;
    position: relative;
    text-align: center;
    font-size: 14px;
    color: white;
    text-transform: uppercase;
}
#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 30px;
    height: 30px;
    display: block;
    line-height: 30px;
    font-size: 14px;
    background: #B68D5A;
    color: black;
    border-radius: 50%;
    margin: 0 auto 10px auto;
}
#progressbar li.active:before, #progressbar li.active:after {
    background: #d4a76c;
}
