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

.container {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    min-height: 80vh;
}

h1 {
    margin-bottom: 10px;
    color: #0073e6;
    font-size: 2.5rem;
    font-weight: 300;
}

p {
    color: #666;
    margin-bottom: 2rem;
}

input[type="file"] {
    margin: 1rem 0;
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    width: 100%;
    max-width: 300px;
}

button {
    padding: 12px 24px;
    background: linear-gradient(135deg, #0073e6, #005bb5);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

button:hover {
    background: linear-gradient(135deg, #005bb5, #004494);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.loading {
    color: #0073e6;
    font-style: italic;
    padding: 20px;
}

.error {
    color: #e74c3c;
    font-weight: bold;
    background: #fdf2f2;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.results-container {
    text-align: left;
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.results-container h3 {
    color: #0073e6;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.5rem;
}

.file-info {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #0073e6;
}

.file-info p {
    margin: 0.5rem 0;
    color: #555;
}

.document-info {
    background: #f0f8ff;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid #2196f3;
}

.document-info h4 {
    color: #1976d2;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.document-info p {
    margin: 0.25rem 0;
    color: #1976d2;
    font-size: 0.9rem;
}

.skills-container {
    margin-bottom: 1.5rem;
}

.skill-category {
    margin-bottom: 1.5rem;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.skill-category h4 {
    color: #0073e6;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: capitalize;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1976d2;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #90caf9;
    transition: all 0.2s ease;
}

.skill-tag:hover {
    background: linear-gradient(135deg, #bbdefb, #90caf9);
    transform: translateY(-1px);
}

.skill-tag.highlight {
    background: linear-gradient(135deg, #fff3e0, #ffcc02);
    color: #f57c00;
    border-color: #ffb74d;
    font-weight: 600;
}

.top-skills {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #ff9800;
}

.top-skills h4 {
    color: #f57c00;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.no-skills, .no-certifications {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

.section-title {
    color: #0073e6;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.skills-section, .certifications-section {
    margin-bottom: 2rem;
}

.certifications-container {
    margin-bottom: 1.5rem;
}

.certification-category {
    margin-bottom: 1.5rem;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.certification-category h4 {
    color: #0073e6;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: capitalize;
}

.certification-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.certification-item {
    background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 4px solid #0073e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.certification-item:hover {
    background: linear-gradient(135deg, #e6f3ff, #d1e7ff);
    transform: translateX(4px);
}

.certification-name {
    font-weight: 600;
    color: #1976d2;
    flex: 1;
}

.certification-details {
    display: flex;
    gap: 12px;
    align-items: center;
}

.cert-date {
    background: #e8f5e8;
    color: #2e7d32;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.cert-org {
    background: #fff3e0;
    color: #f57c00;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.certification-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.certification-tag {
    background: linear-gradient(135deg, #fff3e0, #ffcc02);
    color: #f57c00;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #ffb74d;
    transition: all 0.2s ease;
}

.certification-tag:hover {
    background: linear-gradient(135deg, #ffcc02, #ffb74d);
    transform: translateY(-1px);
}

.certification-tag.highlight {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    border-color: #e65100;
    font-weight: 600;
}

.top-certifications {
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #ff9800;
}

.top-certifications h4 {
    color: #f57c00;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.method-info {
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.method-info small {
    color: #888;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .skill-tags {
        justify-content: center;
    }
}
