/* styles.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #f3f3f3;
}

.test-container, #result-container {
    background: #444;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.hidden {
    display: none;
}

h1 {
    color: #e3e3e3;
    margin-bottom: 10px;
}

.subtitle {
    color: #999;
    margin-bottom: 30px;
}

#progress {
    height: 10px;
    background: #ecf0f1;
    border-radius: 5px;
    margin-bottom: 30px;
    overflow: hidden;
}

#progress-bar {
    height: 100%;
    width: 0%;
    background: #3498db;
    transition: width 0.3s;
}

.question {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: left;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.option-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.option-btn:hover {
    background: #2980b9;
}

#result-message {
    font-size: 20px;
    margin: 20px 0;
    text-align: left;
}

.family-results {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.family-result {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 5px;
}

.family-result h4 {
    margin: 0 0 5px 0;
    color: #2c3e50;
}

.family-result p {
    margin: 0;
    font-weight: bold;
    color: #3498db;
}