/* ========================================
   CV/RESUME PAGE STYLES
   Clean PDF Viewer with Actions
   ======================================== */

/* === PAGE CONTAINER === */
.cv-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 3rem;
}

/* === BACK BUTTON === */
.back-section {
    padding: 2rem 0 1.5rem;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.back-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
    color: white;
}

.back-button i {
    font-size: 1.25rem;
}

/* === PAGE HEADER === */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 2rem;
    margin-left: 0.3rem;
    margin-right: 0.3rem;

}

.page-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

/* === CV CONTAINER === */
.cv-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

/* === CV ACTIONS === */
.cv-actions {
    display: flex !important;
    gap: 0.75rem;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}

.download-btn,
.view-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.download-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 6px rgba(102, 126, 234, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(102, 126, 234, 0.4);
    color: white;
}

.view-btn {
    background: white;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.view-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-2px);
    color: #6b7280;
}

.download-btn i,
.view-btn i {
    font-size: 1rem;
}

/* === CV VIEWER === */
.cv-viewer {
    padding: 0;
}

.pdf-container {
    width: 100%;
    height: 1200px;
    background: white;
    overflow: hidden;
}

.pdf-container embed {
    display: block;
}

/* === NO CV STATE === */
.no-cv {
    padding: 5rem 2rem;
    text-align: center;
}

.no-cv-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-cv-content i {
    font-size: 5rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
}

.no-cv-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1rem 0;
}

.no-cv-content p {
    font-size: 1.0625rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .cv-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
    }

    .cv-actions {
        width: 100%;
        flex-direction: column;
    }

    .download-btn,
    .view-btn {
        width: 100%;
        justify-content: center;
    }

    .pdf-container {
        height: 1000px;
    }
}

@media (max-width: 768px) {
    .cv-page {
        padding: 0 1rem 2rem;
    }

    .back-section {
        padding: 1.5rem 0 1rem;
    }

    .back-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .cv-actions {
        width: 100%;
        gap: 0.625rem;
        flex-wrap: nowrap;
    }

    .download-btn,
    .view-btn {
        flex: 1;
        min-width: 0;
        justify-content: center;
        padding: 0.625rem 0.5rem;
        font-size: 0.8125rem;
        white-space: normal;
        text-align: center;
    }

    .cv-container {
        border-radius: 16px;
    }

    .cv-header {
        padding: 1.75rem 1.5rem;
    }

    .cv-title {
        font-size: 1.75rem;
    }

    .cv-title i {
        font-size: 2rem;
    }

    .cv-subtitle {
        font-size: 1rem;
    }

    .cv-viewer {
        padding: 1.5rem;
    }

    .pdf-container {
        height: 800px;
        border-radius: 8px;
    }

    .no-cv {
        padding: 3rem 1.5rem;
    }

    .no-cv-content i {
        font-size: 4rem;
    }

    .no-cv-content h2 {
        font-size: 1.5rem;
    }

    .no-cv-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cv-page {
        padding: 0 1rem 2rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .download-btn,
    .view-btn {
        padding: 0.625rem 0.5rem;
        font-size: 0.75rem;
    }

    .pdf-container {
        height: 600px;
    }
}