/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.header h1 {
    font-size: 1.5rem;
    font-weight: 600;
}

.header h1 i {
    margin-right: 10px;
    color: #ffd700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.token-input {
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    background: rgba(255,255,255,0.2);
    color: white;
    width: 200px;
    backdrop-filter: blur(10px);
}

.token-input::placeholder {
    color: rgba(255,255,255,0.7);
}

.token-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.token-status.success {
    background: #4caf50;
    color: white;
}

.token-status.error {
    background: #f44336;
    color: white;
}

.vacancy-status.completed {
    background: #6c757d;
    color: #fff;
}

.vacancy-status.pending {
    background: #ffc107;
    color: #856404;
}

/* Main Wrapper */
.main-wrapper {
    display: flex;
    margin-top: 80px;
    height: calc(100vh - 80px);
}

/* Sidebar with vacancies */
.sidebar {
    width: 300px;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
    border-right: 1px solid #e9ecef;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.sidebar-header h3 {
    color: #333;
    font-size: 1.1rem;
    margin: 0;
}

.vacancies-list {
    padding: 0;
}

.vacancy-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.vacancy-item:hover {
    background: #f8f9fa;
}

.vacancy-item.active {
    background: #e3f2fd;
    border-left: 4px solid #667eea;
}

.vacancy-item.draft {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.vacancy-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.vacancy-meta {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vacancy-status {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.vacancy-status.draft {
    background: #ffc107;
    color: #856404;
}

.vacancy-status.active {
    background: #28a745;
    color: white;
}

.vacancy-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Main Content Area */
.content {
    flex: 1;
    overflow-y: auto;
    background: #f5f7fa;
}

/* Welcome Screen */
.welcome-screen {
    display: none;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.welcome-screen.active {
    display: flex;
}

.welcome-content {
    text-align: center;
    max-width: 500px;
    padding: 40px;
}

.welcome-content i {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 20px;
}

.welcome-content h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 2rem;
}

.welcome-content p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.stats {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

/* Barrierometry Screen */
.barrierometry-screen {
    display: none;
    padding: 30px;
    height: 100%;
    overflow-y: auto;
}

.barrierometry-screen.active {
    display: block;
}

/* Hard Skills Screen */
.hard-skills-screen {
    display: none;
    padding: 30px;
    height: 100%;
    overflow-y: auto;
}

.hard-skills-screen.active {
    display: block;
}

/* Soft Skills Screen */
.soft-skills-screen {
    display: none;
    padding: 30px;
    height: 100%;
    overflow-y: auto;
}

.soft-skills-screen.active {
    display: block;
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.screen-header h2 {
    color: #333;
    margin: 0;
}

.screen-actions {
    display: flex;
    gap: 10px;
}

/* Add Barrier Form */
.add-barrier-form {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.add-barrier-form h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.form-row {
    display: flex;
    gap: 20px;
    align-items: end;
    flex-wrap: wrap;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

.form-group.form-actions {
    flex: 0 0 auto;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
}

.form-control.error {
    border-color: #dc3545;
}

/* Barriers List */
.barriers-list {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.barriers-list h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.barriers-container {
    display: grid;
    gap: 15px;
}

.barrier-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.barrier-item:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.barrier-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.barrier-name {
    font-weight: 600;
    color: #333;
    font-size: 1.05rem;
}

.barrier-actions {
    display: flex;
    gap: 5px;
}

.barrier-value {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 5px;
}

.barrier-weight {
    color: #28a745;
    font-weight: 500;
    margin-bottom: 5px;
}

.barrier-description {
    color: #666;
    font-size: 0.9rem;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-small {
    padding: 5px 10px;
    font-size: 0.8rem;
}

/* SVG Icon Buttons */
.btn-icon {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
}

.btn-icon:hover {
    opacity: 1;
    background: rgba(0,0,0,0.05);
    transform: none;
    box-shadow: none;
}

.btn-icon img {
    width: 16px;
    height: 16px;
    transition: all 0.2s ease;
}

.btn-icon:hover img {
    transform: scale(1.1);
}

.btn-icon.edit-btn:hover {
    background: rgba(142, 142, 147, 0.1);
}

.btn-icon.delete-btn:hover {
    background: rgba(220, 53, 69, 0.1);
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 80%;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    padding: 15px 20px;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

#modal-body {
    padding: 0 30px 30px 30px;
}

/* Loading States */
.loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

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

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

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.empty-state i {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 10px 20px;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    
    .token-input {
        width: 100%;
    }
    
    .main-wrapper {
        flex-direction: column;
        height: auto;
    }
    
    .sidebar {
        width: 100%;
        height: 300px;
        order: 2;
    }
    
    .content {
        order: 1;
        min-height: 400px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-group {
        min-width: 100%;
    }
    
    .screen-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
}

/* Animations */
.fadeIn {
    animation: fadeIn 0.5s ease-in;
}

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

/* Utility Classes */
.text-center { text-align: center; }
.text-success { color: #28a745 !important; }
.text-danger { color: #8b1538 !important; }
.text-warning { color: #17a2b8 !important; }
.text-info { color: #17a2b8; }

.hidden { display: none; }
.visible { display: block; }

/* Load Data Page Styles */
.load-data-screen {
    display: none;
    padding: 30px;
    height: 100%;
    overflow-y: auto;
}

.load-data-screen.active {
    display: block;
}

.load-data-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.upload-section {
    margin-bottom: 30px;
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    background: #fafafa;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.upload-area.dragover {
    border-color: #667eea;
    background: #e3f2fd;
    transform: scale(1.02);
}

.upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.upload-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 10px;
}

.upload-text {
    font-size: 1.2rem;
    color: #333;
    margin: 0;
}

.upload-hint {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.file-info-section, .archive-info-section, .upload-result-section {
    margin-bottom: 30px;
}

.file-info-card, .archive-info-card, .upload-result-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.file-basic-info {
    margin-bottom: 20px;
}

.file-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 5px;
}

.file-size {
    color: #666;
    font-size: 0.9rem;
}

.file-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

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

.archive-stat-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.archive-stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 5px;
}

.archive-stat-label {
    font-size: 0.9rem;
    color: #666;
}

.archive-files {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #fafafa;
}

.archive-files h4 {
    padding: 10px 15px;
    margin: 0;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.9rem;
    color: #666;
}

.archive-file-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.archive-file-item {
    padding: 8px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
    color: #333;
    font-family: 'Courier New', monospace;
}

.archive-file-item:last-child {
    border-bottom: none;
}

.upload-result-success,
.upload-result-error {
    padding: 20px 24px;
}

.upload-result-success {
    border-left: 4px solid #28a745;
    background: #f8fff9;
}

.upload-result-error {
    border-left: 4px solid #dc3545;
    background: #fff8f8;
}

.upload-result-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.upload-result-header i {
    font-size: 1.2rem;
}

.upload-result-success .upload-result-header i {
    color: #28a745;
}

.upload-result-error .upload-result-header i {
    color: #dc3545;
}

.upload-result-message {
    font-size: 1rem;
    margin-bottom: 15px;
}

.upload-result-details {
    font-size: 0.9rem;
    color: #666;
}

.upload-result-files {
    margin-top: 15px;
}

.upload-result-files h4 {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 10px;
}

.upload-result-file-list {
    background: #f8f9fa;
    border-radius: 4px;
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.upload-result-file-item {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #333;
    margin-bottom: 5px;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    border-radius: 8px;
}

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

.loading-spinner i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 15px;
}

.loading-spinner p {
    color: #333;
    font-size: 1rem;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .load-data-content {
        padding: 0 10px;
    }
    
    .upload-area {
        padding: 20px;
    }
    
    .file-actions {
        flex-direction: column;
    }
    
    .archive-stats {
        grid-template-columns: 1fr;
    }
}

/* Results Page Styles */
.candidates-table-v3 {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-top: 30px;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 3fr 1fr;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    padding: 16px 0;
}

.header-cell {
    padding: 0 16px;
    display: flex;
    align-items: center;
}

.candidate-row-v3 {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.candidate-row-v3:hover {
    background-color: #f8f9fa;
}

.candidate-row-v3:last-child {
    border-bottom: none;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 1fr 3fr 1fr;
    padding: 16px 0;
    align-items: center;
}

.table-cell {
    padding: 0 16px;
}

.candidate-name-v3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.score-badge-v3 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 50px;
}

.summary-preview {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    max-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-toggle-details-v3 {
    background: none;
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-toggle-details-v3:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

.btn-toggle-details-v3 i {
    transition: transform 0.3s ease;
}

.candidate-row-v3.expanded .btn-toggle-details-v3 i {
    transform: rotate(180deg);
}

.candidate-row-v3.expanded .btn-toggle-details-v3 {
    background: #667eea;
    color: white;
}

.candidate-details-v3 {
    padding: 24px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    animation: slideDown 0.3s ease;
}

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

.full-summary {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    border-left: 4px solid #667eea;
}

.full-summary h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 1.1rem;
}

.full-summary p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

/* Новые стили для секций анализа */
.analysis-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.analysis-group {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    overflow: hidden;
}

.group-title {
    background: #f8f9fa;
    padding: 16px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 10px;
}

.group-title i {
    color: #667eea;
}

/* Стили для секции ключевых слов - возвращаем табличный стиль */
.keyword-sections {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

/* Стили для секции качественного анализа - timeline */
.experience-timeline {
    padding: 20px;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 11px;
    top: 40px;
    bottom: -16px;
    width: 2px;
    background: #e9ecef;
}

.timeline-marker {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #dee2e6;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex-shrink: 0;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

.timeline-marker.text-success {
    background: #28a745 !important;
}

.timeline-marker.text-danger {
    background: #8b1538 !important;
}

.timeline-marker.text-warning {
    background: #17a2b8 !important;
}

.timeline-content {
    flex: 1;
    min-width: 0;
}

.timeline-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    font-size: 1rem;
}

.timeline-value {
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 500;
    background: #f8f9fa;
    border-left: 4px solid #dee2e6;
}

.timeline-value.text-success {
    background: #d4edda !important;
    color: #155724 !important;
    border-left-color: #28a745 !important;
}

.timeline-value.text-danger {
    background: #f5d6dd !important;
    color: #8b1538 !important;
    border-left-color: #8b1538 !important;
}

.timeline-value.text-warning {
    background: #d1ecf1 !important;
    color: #0c5460 !important;
    border-left-color: #17a2b8 !important;
}

.result-section-v3 {
    background: white;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.result-section-v3 h4 {
    margin: 0 0 16px 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 2px solid #667eea;
}

.result-table {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.result-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.result-row:last-child {
    border-bottom: none;
}

.result-row .result-key {
    font-weight: 500;
    color: #555;
    font-size: 0.9rem;
}

.result-row .result-value {
    font-weight: 600;
    font-size: 0.9rem;
    text-align: right;
}

.result-row .result-value.text-success {
    color: #28a745 !important;
}

.result-row .result-value.text-danger {
    color: #8b1538 !important;
}

.result-row .result-value.text-warning {
    color: #17a2b8 !important;
}

.results-screen {
    display: none;
    padding: 30px;
    height: 100%;
    overflow-y: auto;
    background: #f5f7fa;
}

.results-screen.active {
    display: block;
}

/* Адаптивность для результатов */
@media (max-width: 768px) {
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .header-cell,
    .table-cell {
        padding: 8px 16px;
    }
    
    .summary-column {
        display: none;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    /* Адаптивность для новых секций */
    .analysis-container {
        gap: 24px;
    }
    
    .group-title {
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .keyword-sections {
        padding: 16px;
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .experience-timeline {
        padding: 16px;
    }
    
    .timeline-item {
        gap: 12px;
        padding: 12px 0;
    }
    
    .timeline-marker {
        width: 20px;
        height: 20px;
        margin-top: 2px;
    }
    
    .timeline-item:not(:last-child)::after {
        left: 9px;
    }
    
    .timeline-title {
        font-size: 0.9rem;
    }
    
    .timeline-value {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
}

/* Choice Method Page Styles */
.choice-method-screen {
    display: none;
    padding: 24px;
    background: var(--bg-color);
}

.choice-method-screen.active {
    display: block;
}

.choice-method-content {
    max-width: 1000px;
    margin: 0 auto;
}

.choice-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
}

.choice-option {
    background: white;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 3px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.choice-option:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.choice-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.choice-option h3 {
    color: var(--text-color);
    margin: 0 0 16px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.choice-option p {
    color: #666;
    margin: 0 0 24px 0;
    line-height: 1.5;
}

.excel-upload-form {
    margin-top: 16px;
}

.file-info {
    margin-top: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.file-info span {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-color);
}

#excel-upload-option .choice-icon {
    background: #28a745;
}

#manual-filling-option .choice-icon {
    background: #667eea;
}

@media (max-width: 768px) {
    .choice-options {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .choice-option {
        padding: 24px;
    }
    
    .choice-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
} 