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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 40px;
    min-height: calc(100vh - 40px);
}

/* Typography */
h1 {
    color: #ffffff;
    font-size: 32px;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h2 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.subtitle {
    color: #e2e8f0;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Upload Page */
.upload-page {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 0;
}

.upload-form-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 40px;
    margin-top: 30px;
}

.upload-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.file-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-label {
    display: inline-block;
    padding: 15px 30px;
    background: #0066cc;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 500;
}

.file-label:hover {
    background: #0052a3;
}

.file-label input[type="file"] {
    display: none;
}

.file-label-text {
    display: block;
}

.file-info {
    color: #666;
    font-size: 14px;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #0066cc;
    color: #fff;
}

.btn-primary:hover {
    background: #0052a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Audit Page */
.audit-page h1 {
    margin-bottom: 30px;
}

/* Final Page */
.final-page {
    max-width: 900px;
    margin: 0 auto;
}

.resume-display {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
    max-height: 70vh;
    overflow-y: auto;
}

.resume-content {
    background: #fff;
    padding: 30px;
    border-radius: 4px;
}

.resume-content pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

.download-container {
    text-align: center;
    padding: 20px 0;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: #0066cc;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0052a3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .audit-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .sections-panel {
        max-height: 300px;
    }
    
    h1 {
        font-size: 24px;
    }
}











