/**
 * CV Analysis Page Styles
 * 
 * @package tutorbase
 */

/* CV Analysis Container */
.cv-analysis-container {
    padding: 20px 0;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.step-nav-item {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    margin: 0 10px;
    border-radius: 10px;
    background: #f8f9fa;
    color: var(--tutor-color-text-primary, #2c3e50);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.step-nav-item.active {
    background: linear-gradient(135deg, #183fe1 0%, #0f2bb8 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24,63,225,0.3);
}

.step-nav-item.completed {
    background: #28a745;
    color: white;
}

.step-nav-item .step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
}

.step-nav-item.active .step-number {
    background: rgba(255,255,255,0.3);
}

.step-nav-item.completed .step-number {
    background: rgba(255,255,255,0.3);
}

/* Main Content Layout */
.main-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-bottom: 30px;
}

/* Step Content */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: fadeInUp 0.5s ease-in-out;
}

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

/* Step 1: Upload */
.step-1-content {
    display: contents;
}

/* Step 2: Results */
.step-2-content {
    display: contents;
}

.step-2-content .main-content {
    grid-template-columns: 1fr;
}

/* Cards */
.upload-card, .results-card, .info-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e9ecef;
}

.upload-card:hover, .results-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.upload-card h2, .results-card h2 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #183fe1;
    display: inline-block;
}

/* Upload Area */
.upload-area {
    border: 3px dashed #ddd;
    border-radius: 15px;
    padding: 50px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    pointer-events: auto;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
}

/* Ensure file input is clickable */
#cv-file {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}

.upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,124,186,0.1), transparent);
    transition: left 0.5s;
}

.upload-area:hover,
.upload-area:focus {
    border-color: #183fe1;
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24,63,225,0.15);
    outline: 2px solid #183fe1;
    outline-offset: 2px;
}

.upload-area:hover::before,
.upload-area:focus::before {
    left: 100%;
}

.upload-area:focus-visible {
    outline: 2px solid #183fe1;
    outline-offset: 2px;
}

.upload-area.drag-over {
    border-color: #183fe1;
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
}

.upload-content {
    position: relative;
    z-index: 2;
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    opacity: 0.7;
}

.upload-text {
    font-size: 18px;
    font-weight: 600;
    color: #212529; /* Improved contrast: >= 4.5:1 */
    margin-bottom: 10px;
}

.upload-hint {
    font-size: 14px;
    color: #495057; /* Improved contrast: >= 4.5:1 */
    opacity: 1; /* Remove opacity to maintain contrast */
}

/* File Info */
.file-info {
    margin-top: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 10px;
    border: 1px solid #c3e6cb;
    display: none;
}

.file-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-name {
    font-weight: 600;
    color: #155724;
    font-size: 16px;
}

.file-size {
    color: #495057; /* Improved contrast: >= 4.5:1 */
    font-size: 14px;
}

.remove-file {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

/* Form Elements */
.form-group {
    margin: 25px 0;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #212529; /* Improved contrast: >= 4.5:1 */
    font-size: 16px;
}

.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 14px;
    resize: vertical;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group textarea:focus {
    outline: none;
    border-color: #183fe1;
    box-shadow: 0 0 0 3px rgba(24,63,225,0.1);
}

/* Buttons */
.btn-analyze {
    background: linear-gradient(135deg, #183fe1 0%, #0f2bb8 100%);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-analyze::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-analyze:hover:not(:disabled) {
    background: linear-gradient(135deg, #0f2bb8 0%, #0a1f8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24,63,225,0.3);
}

.btn-analyze:hover:not(:disabled)::before {
    left: 100%;
}

.btn-analyze:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-analyze:focus {
    outline: 3px solid rgba(24,63,225,0.3);
    outline-offset: 2px;
}

/* Loading Section */
.loading-section {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border: 1px solid #e9ecef;
    animation: fadeIn 0.5s ease-in;
}

.loading-spinner {
    font-size: 48px;
    color: #183fe1;
    margin-bottom: 25px;
    animation: spin 1s linear infinite;
}

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

.loading-section h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.loading-section p {
    color: #495057; /* Improved contrast: >= 4.5:1 */
    font-size: 16px;
    margin-bottom: 30px;
}

.loading-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.step {
    flex: 1;
    padding: 20px 15px;
    border-radius: 10px;
    background: #f8f9fa;
    text-align: center;
    opacity: 0.3;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.9);
}

.step.active {
    opacity: 1;
    transform: scale(1);
    color: #183fe1;
}

.step.completed {
    opacity: 0.8;
    color: #28a745;
}

.step i {
    display: block;
    font-size: 24px;
    margin-bottom: 10px;
}

.step span {
    font-size: 14px;
    font-weight: 500;
}

/* Results Section */
.analysis-results {
    display: none;
}

.analysis-results.show {
    display: block;
    animation: fadeInUp 0.5s ease-in-out;
}

/* Score Section */
.score-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border: 1px solid #e9ecef;
}

.score-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: conic-gradient(#183fe1 0deg, #e9ecef 0deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 30px auto;
    position: relative;
    transition: all 0.5s ease;
    animation: pulse 2s infinite;
}

.score-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(24,63,225,0.3);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(24,63,225,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(24,63,225,0); }
    100% { box-shadow: 0 0 0 0 rgba(24,63,225,0); }
}

.score-value {
    font-size: 36px;
    font-weight: bold;
    color: #183fe1;
}

.score-value.excellent { color: #28a745; }
.score-value.good { color: #17a2b8; }
.score-value.fair { color: #ffc107; }
.score-value.poor { color: #dc3545; }

.score-label {
    font-size: 16px;
    color: #6c757d;
    margin-top: 5px;
}

/* Analysis Details */
.analysis-details {
    margin-bottom: 40px;
}

.analysis-category {
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.analysis-category h4 {
    margin-bottom: 15px;
    color: #495057;
    font-size: 18px;
    font-weight: 600;
}

.category-score {
    display: flex;
    align-items: center;
    gap: 20px;
}

.score-bar {
    flex: 1;
    height: 12px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: #183fe1;
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
    position: relative;
    overflow: hidden;
}

.score-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.score-text {
    font-weight: 600;
    min-width: 50px;
    text-align: right;
    font-size: 16px;
    color: #495057;
}

/* Comments Section */
.comments-section {
    margin-bottom: 40px;
}

.comments-section h5 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
}

.comment-item {
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #183fe1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    line-height: 1.7;
}

.comment-item:last-child {
    margin-bottom: 0;
}

.comment-item strong {
    color: #183fe1;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Sidebar */
.cv-sidebar {
    position: sticky;
    top: 20px;
}

.cv-sidebar .info-card {
    margin-bottom: 25px;
}

.info-card h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.guide-list, .note-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-list li, .note-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.guide-list li::before, .note-list li::before {
    content: "•";
    color: #183fe1;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 12px;
}

.guide-list li:last-child, .note-list li:last-child {
    border-bottom: none;
}

.stats {
    display: flex;
    justify-content: space-around;
}

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

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: var(--tutor-color-primary, #183fe1);
}

.stat-label {
    font-size: 12px;
    color: var(--tutor-color-text-primary, #666);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cv-analysis-container {
        padding: 10px 0;
    }
    
    .container {
        padding: 10px;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .step-nav-item {
        margin: 0;
        justify-content: center;
    }
    
    .upload-card, .results-card, .info-card {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .upload-area {
        padding: 30px 20px;
    }
    
    .score-circle {
        width: 150px;
        height: 150px;
    }
    
    .score-value {
        font-size: 28px;
    }
    
    .loading-steps {
        flex-direction: column;
        gap: 15px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .category-score {
        flex-direction: column;
        gap: 10px;
    }
    
    .score-text {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.8rem;
    }
    
    .upload-card h2, .results-card h2 {
        font-size: 20px;
    }
    
    .upload-text {
        font-size: 16px;
    }
    
    .btn-analyze {
        padding: 15px 25px;
        font-size: 14px;
    }
}
 /* CV Analysis Styles */
 .cv-analysis-container {
    padding: 20px 0;
    min-height: 100vh;
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.step-nav-item {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    margin: 0 10px;
    border-radius: 10px;
    background: #f8f9fa;
    color: var(--tutor-color-text-primary, #6c757d);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.step-nav-item.active {
    background: linear-gradient(135deg, #183fe1 0%, #0f2bb8 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24,63,225,0.3);
}

.step-nav-item.completed {
    background: #28a745;
    color: white;
}

.step-nav-item .step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-weight: bold;
}

.step-nav-item.active .step-number {
    background: rgba(255,255,255,0.3);
}

.step-nav-item.completed .step-number {
    background: rgba(255,255,255,0.3);
}

/* Step Content */
.step-content {
    display: none;
}

.step-content.active {
    display: block;
    animation: fadeInUp 0.5s ease-in-out;
}

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

/* Step 1: Upload */
.step-1-content {
    display: grid;
}

/* Step 2: Results */
.step-2-content {
    display: block;
}

.step-2-content .main-content {
    grid-template-columns: 1fr;
}

/* Mobile responsive for step navigation */
@media (max-width: 768px) {
    .step-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .step-nav-item {
        margin: 0;
        justify-content: center;
    }
    
    .step-1-content {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .cv-analysis-container {
        padding: 10px 0;
    }
    
    .upload-card, .results-card {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .upload-area {
        padding: 30px 20px;
    }
    
    .upload-text {
        font-size: 16px;
    }
    
    .score-circle {
        width: 120px;
        height: 120px;
    }
    
    .score-value {
        font-size: 28px;
    }
    
    .loading-steps {
        flex-direction: column;
        gap: 15px;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    
    .stats {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .upload-area {
        padding: 20px 15px;
    }
    
    .upload-text {
        font-size: 14px;
    }
    
    .upload-hint {
        font-size: 12px;
    }
    
    .score-circle {
        width: 100px;
        height: 100px;
    }
    
    .score-value {
        font-size: 24px;
    }
    
    .analysis-category h4 {
        font-size: 14px;
    }
    
    .category-score {
        flex-direction: column;
        gap: 8px;
    }
    
    .score-bar {
        height: 15px;
    }
}

.upload-card, .results-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.upload-card:hover, .results-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.upload-card h2, .results-card h2 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #183fe1;
    display: inline-block;
}

.upload-area {
    border: 3px dashed #ddd;
    border-radius: 15px;
    padding: 50px 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.upload-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,124,186,0.1), transparent);
    transition: left 0.5s;
}

.upload-area:hover,
.upload-area:focus {
    border-color: #183fe1;
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24,63,225,0.15);
    outline: 2px solid #183fe1;
    outline-offset: 2px;
}

.upload-area:hover::before,
.upload-area:focus::before {
    left: 100%;
}

.upload-area:focus-visible {
    outline: 2px solid #183fe1;
    outline-offset: 2px;
}

.upload-area.drag-over {
    border-color: #183fe1;
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.upload-text {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.upload-hint {
    color: #666;
    font-size: 14px;
}

.file-info {
    background: #f8f9fa;
    border-radius: 5px;
    padding: 15px;
    margin: 15px 0;
}

.file-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remove-file {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.btn-analyze {
    background: linear-gradient(135deg, #183fe1 0%, #0f2bb8 100%);
    color: white;
    border: none;
    padding: 18px 35px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-analyze::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-analyze:hover:not(:disabled) {
    background: linear-gradient(135deg, #0f2bb8 0%, #0a1f8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(24,63,225,0.3);
}

.btn-analyze:hover:not(:disabled)::before {
    left: 100%;
}

.btn-analyze:active:not(:disabled) {
    transform: translateY(0);
}

.btn-analyze:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-analyze:focus {
    outline: 3px solid rgba(24,63,225,0.3);
    outline-offset: 2px;
}

 /* Loading Overlay */
 .upload-card {
     position: relative;
 }
 
 .loading-overlay {
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: rgba(255, 255, 255, 0.95);
     display: none;
     align-items: center;
     justify-content: center;
     flex-direction: column;
     border-radius: 15px;
     z-index: 10;
 }
 
 .loading-overlay.show {
     display: flex;
 }
 
 .loading-spinner {
     font-size: 48px;
     color: #183fe1;
     margin-bottom: 20px;
     animation: spin 1s linear infinite;
 }
 
 @keyframes spin {
     0% { transform: rotate(0deg); }
     100% { transform: rotate(360deg); }
 }
 
 .loading-text {
     font-size: 18px;
     color: #333;
     font-weight: 600;
     margin-bottom: 10px;
 }
 
 .loading-subtext {
     font-size: 14px;
     color: #666;
     text-align: center;
 }

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

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 8px solid #e9ecef;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    position: relative;
    transition: all 0.5s ease;
    animation: pulse 2s infinite;
}

.score-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(24,63,225,0.3);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(24,63,225,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(24,63,225,0); }
    100% { box-shadow: 0 0 0 0 rgba(24,63,225,0); }
}

.score-value {
    font-size: 36px;
    font-weight: bold;
    color: #183fe1;
}

.score-value.excellent { color: #28a745; }
.score-value.good { color: #17a2b8; }
.score-value.fair { color: #ffc107; }
.score-value.poor { color: #dc3545; }

.score-label {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.analysis-details {
    margin-bottom: 30px;
}

.analysis-category {
    margin-bottom: 20px;
}

.analysis-category h5 {
    margin-bottom: 10px;
    color: #333;
}

.category-score {
    display: flex;
    align-items: center;
    gap: 15px;
}

.score-bar {
    flex: 1;
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: #183fe1;
    border-radius: 10px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
    position: relative;
    overflow: hidden;
}

.score-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.score-fill.excellent { background: #28a745; }
.score-fill.good { background: #17a2b8; }
.score-fill.fair { background: #ffc107; }
.score-fill.poor { background: #dc3545; }

.score-text {
    font-weight: bold;
    min-width: 40px;
    text-align: right;
}

.comments-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
    animation: slideInUp 0.6s ease-out;
}

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

.comments-section h4 {
    margin-bottom: 15px;
    color: #333;
}

.comment-item {
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    border-left: 4px solid #183fe1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    line-height: 1.7;
}

.comment-item:last-child {
    margin-bottom: 0;
}

.comment-item strong {
    color: #183fe1;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    font-size: 16px;
}

.action-buttons {
    display: flex;
    gap: 15px;
}

 .download-options {
     display: flex;
     gap: 10px;
     margin-bottom: 15px;
 }
 
 .download-options .btn {
     flex: 1;
     min-width: 120px;
 }

.cv-sidebar {
    position: sticky;
    top: 20px;
}

.info-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.info-card h3 {
    margin-bottom: 15px;
    color: #333;
}

.guide-list, .note-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-list li, .note-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.guide-list li::before, .note-list li::before {
    content: "•";
    color: #183fe1;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 12px;
}

.guide-list li:last-child, .note-list li:last-child {
    border-bottom: none;
}

.stats {
    display: flex;
    justify-content: space-around;
}

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

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #183fe1;
}

.stat-label {
    font-size: 12px;
    color: #666;
}