/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: #f2ebe1 url('/_assets/img/bg.jpg') no-repeat center center fixed;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #4a4a4a;
    overflow-y: auto;
}

.logo {
    padding: 10px;
}

/* Centering and alignment */
.vtcenter,
.imglogo,
.img25,
.imala {
    vertical-align: middle;
    text-align: center;
    align-self: center;
}

/* Image Sizes */
.imglogo,
.img25 {
    max-height: 150px;
}

.imala {
    max-height: 134px;
}

/* Margin adjustments */
.img25 {
    margin: 5% 0;
}

.imala {
    margin: 2% 0;
}

/* Survey Container */
.survey-container {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Survey Title */
.survey-title {
    font-size: 28px;
    font-weight: bold;
    color: #3e6bb4;
    text-align: center;
    margin-bottom: 20px;
}

/* Survey Form */
.survey-form {
    display: flex;
    flex-direction: column;
}



/* Question Styles */
.question {
    margin-bottom: 20px;
}

.question label {
    font-size: 18px;
    margin-bottom: 8px;
    display: block;
    color: #3e6bb4;
}

/* Input/Select/Textarea Styles */
.question input,
.question select,
.question textarea {
    width: 100%;
    padding: 10px !important;
    font-size: 16px;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.question input:focus,
.question select:focus,
.question textarea:focus {
    border-color: #3e6bb4;
}

/* Button Styles */
button {
    padding: 5px 25px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
}

.previous-btn {
    background-color: #505d5b;
    color: white;
}

.previous-btn:hover {
    background-color: #697b78;
}

.previous-btn:active {
    background-color: #3b4543;
}

.next-btn {
    background-color: #1b8037;
    color: white;
}

.next-btn:hover {
    background-color: #298b45;
    transform: scale(1.05);
}

.next-btn:active {
    background-color: #1e7b38;
    transform: scale(0.98);
}

/* Specific Button Styles */
.save-btn {
    background-color: #1b8037;
}

.save-btn:hover {
    background-color: #298b45;
}

.save-btn:active {
    background-color: #1e7b38;
}

/* Next Button Styles */
.next-btn {
    background-color: #1b8037;
}

.next-btn:hover {
    background-color: #298b45;
    transform: scale(1.05);
}

.next-btn:active {
    background-color: #1e7b38;
    transform: scale(0.98);
}

/* Accessibility: Focus Visible */
button:focus-visible {
    outline: 3px solid #3e6bb4;
}

input[type="checkbox"],
input[type="radio"] {
    margin-left: 5px;
    margin-right: 5px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 15px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

#searchable-select {
    width: 200px;
    padding: 5px;
}

#search-input {
    width: 100%;
    padding: 5px;
    margin-bottom: 10px;
}

.input-error {
    color: red;
    border: 1px solid red !important;
}

.dropdown-container {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 8px;
    margin-bottom: 5px;
    box-sizing: border-box;
}

.dropdown {
    position: absolute;
    width: 100%;

    overflow-y: auto;
    background-color: white;
    border: 1px solid #ccc;
    display: none;
    z-index: 10;
}

.dropdown div {
    padding: 8px;
    cursor: pointer;
}

.dropdown div:hover {
    background-color: #f1f1f1;
}

.highlight {
    background-color: yellow;
}

.step {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    text-align: center;
    line-height: 11px;
    color: #fff;
    padding: 2px;
    font-size: 10px;
}

.step.active {
    background-color: #4CAF50;
}

.step.finish {
    background-color: #888;
}

.invalid {
    border: 2px solid red !important;
    color: red !important;
}


.buttons-container {

    display: flex;
    justify-content: space-between;
}

.buttons-container button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}