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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #004a66 0%, #006384 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 600px;
}

.tool-wrapper {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

h1 {
    color: #0f3b51;
    margin-bottom: 10px;
    font-size: 28px;
}

.subtitle {
    color: #4a6b80;
    margin-bottom: 30px;
    font-size: 16px;
}

.question-container {
    min-height: 200px;
}

.question {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question h2 {
    color: #333;
    font-size: 22px;
    margin-bottom: 20px;
}

.answers {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 500;
    border: 2px solid #006384;
    background: white;
    color: #006384;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.btn:hover {
    background: #006384;
    color: white;
    transform: translateX(5px);
}

.btn-secondary {
    background: #006384;
    color: white;
    text-align: center;
}

.btn-secondary:hover {
    background: #004c68;
    transform: translateX(0) scale(1.05);
}

/* Result page buttons */
.next-action-container {
    margin-bottom: 30px;
}

.btn-next-action {
    display: inline-block;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 600;
    background: #006384;
    color: white;
    border: 2px solid #006384;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-next-action:hover {
    background: #004c68;
    border-color: #004c68;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 99, 132, 0.3);
}

.btn-restart {
    background: #e5e7eb;
    color: #666;
    border-color: #d1d5db;
    padding: 10px 16px;
    font-size: 14px;
}

.btn-restart:hover {
    background: #d1d5db;
    color: #333;
    transform: translateX(0) scale(1.02);
}

.result-container {
    text-align: center;
    padding: 20px;
}

.result-container h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 24px;
}

.result-container p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.result-container.success h2 {
    color: #22c55e;
}

.result-container.warning h2 {
    color: #f59e0b;
}

.result-container.error h2 {
    color: #ef4444;
}

.hidden {
    display: none;
}

.progress-bar {
    margin-top: 30px;
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #006384 0%, #4ea3c4 100%);
    transition: width 0.3s ease;
    width: 0%;
}

/* Responsive */
@media (max-width: 600px) {
    .tool-wrapper {
        padding: 25px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .question h2 {
        font-size: 18px;
    }
    
    .btn {
        padding: 14px 18px;
        font-size: 15px;
    }
}
