/* Basic styling */
@import url('https://fonts.googleapis.com/css2?family=Lusitana&display=swap');

.exedir-leadership-test-form {
    font-family: 'Lusitana', serif;
    font-size: 20px;
}

/* Visibility toggles */
.hidden {
    display: none;
}
.question-step.hidden {
    display: none;
}
.question-step.visible {
    display: block;
}
.visible {
    display: block;
    line-height: 1.2;
}

/* Personal info field layout */
#personal-info-block label {
    display: block;
    margin-bottom: 8px;
    font-weight: 400;
}

.personal-info-block-headline{
    font-family: 'Lusitana', serif;
    //font-size: 22px;
    padding-bottom: 0px;
}

input[type="text"],
input[type="email"],
input[type="date"]{
    border: 1px solid #bbb;
    width: 100%;
}

input[type="button"], 
input[type="submit"],
button {
    background-color: #222;
    color: #fff;
    width: 100px;
    height: 62px;
    font-size: 20px;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="date"]::placeholder {
    font-style: italic;
    opacity: 0.7;
}

/* Floating label for date input */
.date-label {
    position: absolute;
    left: 10px;
    top: 10px;
    opacity: 0.7;
    font-style: italic;    
    transition: all 0.2s ease;
    pointer-events: none;
}


/* Matrix table layout */
.question-matrix {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}
.question-matrix th,
.question-matrix td {
    padding: 8px;
    text-align: left;
}

thead th {
    border-bottom: 2px solid #bbb;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: rgb(187, 187, 187);
    padding-bottom: .5em;
}
tr {
    border-bottom: 1px solid #eee;
}


.nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 30px;
    padding-left: 0;
    padding-right: 0;
}

.nav-btn {
    min-width: 108px;
    padding: 8px 16px;
    font-size: 14px;
    text-align: center;
    background-color: #888;
    border: 1px solid #333;
    cursor: pointer;
}

.question-matrix td .checkbox-label,
.question-matrix input[type="checkbox"]{
  display: flex;
  justify-content: center;
}

.question-matrix th:nth-child(1) {
  text-align: left;
}

.question-matrix th:nth-child(2),
.question-matrix th:nth-child(3) {
  text-align: center;
}

input[type="checkbox"]:disabled {
    opacity: 0.5;
}

/* Wrapped each radio input in a <label> for ease of use */
.radio-label {
    display: inline-block;
    width: 200%;
    height: 200%;
    padding: 8px;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    transform: scale(4.0);
    cursor: pointer;
}

#instructions {
    margin-top: 20px;
    padding: 20px;
    border: 1px dashed #bbb;
    background-color: #f8f8f8;
    font-size: 18px;
    line-height: 1.5;
}

.submit-align-right {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Responsive behavior for mobile */
@media (max-width: 600px) {
    .question-matrix {
        font-size: 14px;
    }

    .nav-buttons {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .nav-btn {
        flex: 1;
        max-width: 48%;
    }
}