.page-header {
    background-color: #111;
    padding: 20px 0;
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
}
header .logo {
    height: 20px;
}
footer .logo {
    height: 12px;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #fff;
    color: #333;
    margin:0;
}
.main-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px;
    min-height:200px;
}
body.wide-page .main-content-wrapper {
    max-width: 1300px;
}

table {
    border-collapse: collapse;
    width: 60%;
}
th, td {
    padding: 0.5em;
    color: #333;
}
td.selector {
    width: 100px;
}
h2 { margin-top: 0; }

select.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f0f0f0;
    color: #333;
    font-size: 16px;
    height: 40px;
}

select.form-control:focus {
    border-color: #FFD200;
    outline: none;
}
.quiz-header {
    margin-bottom: 30px;
}
.quiz-description {
    color: #555;
    margin-bottom: 20px;
}
.quiz-description.hide-intro-paragraphs p:nth-child(1),
.quiz-description.hide-intro-paragraphs p:nth-child(2) {
    display: none;
}
.quiz-description li {
    margin:0;
}

form {
    /* background: #f8f8f8; */
    /* padding: 20px; */
    border-radius: 8px;
}
.question {
    margin-bottom: 25px;
    background: #f8f8f8;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 15px;
}
.question label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color:#333;
}
.question ul {
    padding: 0;
    list-style: none;
}
.question li {
    margin: 10px 0;
    border-color: #e8e8e8;
}
.question li:hover {
    background-color: #ddd;
    border-color: #d0d0d0;
    transition: all 0.3s ease;
}
.question-header {
    padding: 10px;
    background:#444;
    color:#f8f8f8;
    font-size:15px;
    display: flex;
    justify-content: space-between;
}
.question-inner {
    padding: 15px;
}
button {
    background-color: #FFD200;
    color: #000;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    font-weight: bold;
}
button:hover {
    background-color: #e6bc00;
}
.selected { background-color: #FFD200; color: #000; font-weight: bold; }
.option { color:#333; cursor: pointer; padding: 8px; border-radius: 4px; margin-bottom: 4px; border: 1px solid #ccc; /* Lighter border */ }
.option:hover { background: #ddd; }
.nav-btn { 
    margin-right: 8px; 
    position: relative; 
    z-index: 1;
}
.summary { background: #f8f8f8; padding: 20px; border-radius: 8px; margin-top: 30px; }
button.disabled-btn {
    background-color: #bbb;
    color: #777;
    cursor: not-allowed;
    border: none;
}
.disabled-btn:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    background: #ccc;
    color: #333;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    margin-left: 8px;
}
.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #777;
    border-top: 2px solid #FFD200;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    vertical-align: middle;
    margin-left: 6px;
}
@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}
.question-buttons {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center; /* Ensure vertical alignment */
    flex-wrap: nowrap; /* Prevent wrapping */
    pointer-events: none;
}
.question-buttons .nav-btn {
    pointer-events: auto;
    flex-shrink: 0; /* Prevent buttons from shrinking */
}
.question-buttons .nav-btn.right {
    margin-left: auto;
}
.email-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    min-height: 120px;
}
.email-input {
    width: 50%;
    min-width: 220px;
    max-width: 350px;
    margin-bottom: 16px;
    background-color: #f0f0f0; /* Lighter background for input */
    border: 1px solid #ccc; /* Lighter border */
    color: #333; /* Darker text for input */
    padding: 8px;
    border-radius: 4px;
}
.email-input:focus {
    border-color: #FFD200;
    outline: none;
}
.email-next-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    margin-bottom: 0;
    margin-right: 0;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px 0;
    color: #fff;
    background-color: #000;
    font-size: 0.9em;
    width:100%;
}

p.logout {
    float:right;
    margin: 0 15px;
}
p.logout a {
    color:#e0e0e0;
    text-decoration:none;
    font-size:14px;
}
p.logout a:hover {
    color:#ffce2b;
    text-decoration:underline;
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    .question {
        padding: 10px;
    }
    .question label {
        font-size: 18px;
    }
}

.talent-form-body {
    font-family: Arial, sans-serif;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.talent-form-h1 {
    color: #333;
}

.talent-form-form {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
}

.talent-form-input, .talent-form-select {
    margin: 10px 0;
    width: 100%;
}

.talent-form-button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .talent-form-body {
        font-size: 16px;
        padding: 10px;
    }
    .talent-form-h1 {
        font-size: 22px;
    }
}