
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    color: white;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.language-switcher {
    text-align: center;
    margin-bottom: 20px;
}

.language-dropdown {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    padding: 10px 20px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.language-dropdown:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255,255,255,0.5);
}

.language-dropdown option {
    background: #2a5298;
    color: white;
    padding: 10px;
}

.title {
    font-size: 2.5em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: bold;
}

.subtitle {
    font-size: 1.1em;
    margin: 10px 0;
    opacity: 0.9;
}

.welcome-screen, .question-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
    margin: 20px 0;
}

.welcome-text {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
}

.btn {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-weight: bold;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn.next {
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.start-btn {
    font-size: 18px;
    padding: 20px 40px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
}

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

.category-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255,255,255,0.3);
}

.category-card.selected {
    border-color: #4ecdc4;
    background: rgba(78, 205, 196, 0.2);
}

.category-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.category-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 8px;
}

.category-desc {
    font-size: 0.9em;
    opacity: 0.8;
}

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

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-input, .form-select {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 16px;
}

.form-input::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-select option {
    background: #2a5298;
    color: white;
}

.user-info-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.progress-container {
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    font-weight: bold;
}

.question-text {
    font-size: 1.3em;
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.5;
}

.options {
    margin-bottom: 30px;
}

.option {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

.option.selected {
    background: rgba(78, 205, 196, 0.3);
    border-color: #4ecdc4;
}

.navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.navigation .btn {
    flex: 1;
}

.results-container {
    display: none;
}

.results-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
    color: #4ecdc4;
}

.personality-type {
    text-align: center;
    font-size: 1.8em;
    font-weight: bold;
    color: #4ecdc4;
    margin: 20px 0;
    padding: 20px;
    background: rgba(78, 205, 196, 0.1);
    border-radius: 10px;
}

.chart-container {
    margin: 30px 0;
}

.chart-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.chart-label {
    width: 150px;
    font-weight: bold;
}

.chart-bar {
    flex: 1;
    height: 25px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    overflow: hidden;
    margin: 0 15px;
}

.chart-fill {
    height: 100%;
    transition: width 1s ease;
    width: 0%;
}

.d-fill { background: linear-gradient(45deg, #ff6b6b, #ee5a52); }
.i-fill { background: linear-gradient(45deg, #4ecdc4, #44a08d); }
.s-fill { background: linear-gradient(45deg, #45b7d1, #3498db); }
.c-fill { background: linear-gradient(45deg, #f093fb, #f5576c); }

.chart-value {
    width: 50px;
    font-weight: bold;
    text-align: right;
}

.description {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    line-height: 1.6;
}

.career-insights {
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    border: 1px solid rgba(255,255,255,0.1);
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.insight-card {
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 20px;
    border-left: 4px solid #4ecdc4;
}

.insight-card h4 {
    color: #4ecdc4;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.insight-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.insight-card li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.insight-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4ecdc4;
    font-weight: bold;
}

.insight-card p {
    line-height: 1.5;
    margin: 0;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.action-buttons .btn {
    min-width: 140px;
}

.hidden {
    display: none !important;
}

/* Admin Styles */
.admin-login-form {
    max-width: 400px;
    margin: 50px auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
}

.admin-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.2);
}

.admin-header {
    text-align: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    color: #4ecdc4;
    margin-bottom: 10px;
}

.logout-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: #4ecdc4;
}

.stat-label {
    display: block;
    margin-top: 5px;
    opacity: 0.8;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.admin-table th, .admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-table th {
    background: rgba(255, 255, 255, 0.2);
    font-weight: bold;
}

.analytics-section {
    margin: 30px 0;
}

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

.mini-chart {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
}

.mini-chart h4 {
    color: #4ecdc4;
    margin-bottom: 15px;
    text-align: center;
}

.mini-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mini-bar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bar-label {
    width: 20px;
    font-weight: bold;
    font-size: 14px;
}

.bar-fill {
    flex: 1;
    height: 20px;
    border-radius: 10px;
    position: relative;
}

.bar-value {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.age-distribution, .gender-split {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.age-group, .gender-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .title {
        font-size: 2em;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .navigation {
        flex-direction: column;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .chart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .chart-label {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .chart-bar {
        margin: 5px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-table {
        font-size: 12px;
    }
    
    .admin-table th, .admin-table td {
        padding: 8px;
    }
}
