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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: white;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 2px solid #f0f0f0;
}

header h1 {
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 10px;
}

header p {
    color: #7f8c8d;
    font-size: 1.1em;
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.form-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #34495e;
}

.form-group input[type="text"],
.form-group select {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input[type="text"]:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    cursor: pointer;
    border: none;
}

.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
}

.radio-group input[type="radio"] {
    margin-right: 5px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
}

.submit-btn, .pdf-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s;
    width: 100%;
    margin-top: 20px;
}

.submit-btn:hover, .pdf-btn:hover {
    transform: translateY(-2px);
}

.results-section {
    margin-top: 30px;
    padding: 20px;
    background: #e8f5e8;
    border-radius: 8px;
    border-left: 4px solid #27ae60;
}

.results-section h2 {
    color: #27ae60;
    margin-bottom: 20px;
}

#assessmentContent {
    background: white;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.score-high {
    color: #27ae60;
    font-weight: bold;
}

.score-medium {
    color: #f39c12;
    font-weight: bold;
}

.score-low {
    color: #e74c3c;
    font-weight: bold;
}

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

.loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.package-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.package-card {
    background: white;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.package-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.package-card.premium {
    border-color: #f39c12;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.package-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.package-card .price {
    font-size: 2em;
    font-weight: bold;
    color: #667eea;
    margin: 10px 0;
}

.package-card.premium .price {
    color: #f39c12;
}

.recommended {
    background: #f39c12;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    margin: 5px 0;
    display: inline-block;
}

.package-card ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.package-card li {
    padding: 5px 0;
    color: #34495e;
}

.select-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    margin-top: 10px;
}

.package-card.premium .select-btn {
    background: #f39c12;
}

.assessment-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.assessment-table th {
    background: #667eea;
    color: white;
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.assessment-table td {
    padding: 10px;
    border: 1px solid #ddd;
    vertical-align: top;
}

.assessment-table tr:nth-child(even) {
    background: #f8f9fa;
}

.assessment-table tr:hover {
    background: #e3f2fd;
}

.risk-low { color: #27ae60; font-weight: bold; }
.risk-medium { color: #f39c12; font-weight: bold; }
.risk-high { color: #e74c3c; font-weight: bold; }

.timing-analysis {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 5px solid #27ae60;
}

.travel-plan-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.travel-plan-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

.travel-plan-table td {
    padding: 12px;
    border: 1px solid #e0e0e0;
    text-align: center;
}

.explanation-box {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.explanation-box h4 {
    color: #856404;
    margin-top: 0;
}