body {
    background: linear-gradient(135deg, #5B6FB5 0%, #4A5A9D 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.main-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.header {
    background: white;
    color: black;
    padding: 2rem;
    text-align: center;
}

.header img {
    max-width: 200px;
    height: auto;
}

.section-card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.section-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.356);
}

.section-icon {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #5B6FB5 0%, #4A5A9D 100%);
    border: none;
    padding: 0.6rem 2rem;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 111, 181, 0.4);
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 0.6rem 1rem;
    transition: border-color 0.3s;
}

.form-control:focus,
.form-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(91, 111, 181, 0.25);
}

.section-answer {
    background: #f8f9fa;
    border-left: 4px solid #5B6FB5;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    min-height: 50px;
    white-space: pre-wrap;
}

.popup {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    background: white;
    color: #5B6FB5;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    border: 2px solid #5B6FB5;
    min-width: 280px;
}

.modal-dialog-lg {
    max-width: 600px;
}

.modal-header {
    background: linear-gradient(135deg, #5B6FB5 0%, #4A5A9D 100%);
    color: white;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.advanced-options-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    margin-left: 0.5rem;
}

.range-value {
    display: inline-block;
    min-width: 50px;
    text-align: right;
    font-weight: 600;
    color: #5B6FB5;
}

.form-range::-webkit-slider-thumb {
    background: #5B6FB5;
}

.form-range::-moz-range-thumb {
    background: #5B6FB5;
}