:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #dbeafe;
    --secondary: #4f46e5;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --dark: #1e293b;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --border: #e2e8f0;
    --border-focus: #93c5fd;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 0.375rem;
    --radius-lg: 0.5rem;
    --transition: all 0.2s ease;
    --transition-slow: all 0.3s ease;
}

/* Tema escuro */
.dark-mode {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: rgba(59, 130, 246, 0.2);
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --text-primary: #f3f4f6;
    --text-secondary: #d1d5db;
    --text-light: #9ca3af;
    --border: #374151;
    --border-focus: #4b5563;
    --dark: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    font-size: 16px;
    min-height: 100vh;
}



/* Estilos para logo */
        .logo-desktop {
            display: none; /* Escondida por padrão */
        }
        .logo-mobile {
            display: none; /* Escondida por padrão */
        }

        /* Estilos para telas maiores (desktop) */
        @media screen and (min-width: 768px) {
            .logo-desktop {
                display: block; /* Exibe a logo desktop */
                max-width: 300px; /* Ajuste de tamanho */
                height: auto;
            }
        }

        /* Estilos para telas menores (mobile) */
        @media screen and (max-width: 600px) {
            .logo-mobile {
                display: block; /* Exibe a logo mobile */
                max-width: 40px; /* Ajuste de tamanho */
                height: auto;
            }
        }



/* ===== Layout Principal ===== */
.app-container {
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    min-height: 100vh;
}

/* ===== Sidebar ===== */
.sidebar {
    width: 290px;
    background-color: var(--bg-secondary);
    border-right: 1px solid var(--border);
    height: 100vh;
    position: sticky;
    top: 0;
    padding: 1.5rem;
    transition: var(--transition-slow);
    display: flex;
    flex-direction: column;
    z-index: 20;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.nav-item {
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.nav-link:hover {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.nav-link.active {
    background-color: var(--primary-light);
    color: var(--primary);
}

.nav-icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.sidebar-footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.toggle-switch {
    width: 40px;
    height: 20px;
    background-color: var(--bg-primary);
    border-radius: 20px;
    position: relative;
    cursor: pointer;
}

.toggle-switch::after {
    content: '';
    width: 16px;
    height: 16px;
    background-color: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.toggle-switch.active {
    background-color: var(--primary);
}

.toggle-switch.active::after {
    transform: translateX(20px);
}

/* ===== Área Principal ===== */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: calc(100% - 260px);
}

/* ===== Cabeçalho ===== */
.header {
    height: 64px;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    background-color: var(--bg-primary);
    position: sticky;
    top: 0;
    z-index: 10;
}

.page-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ===== Conteúdo do aplicativo ===== */
.content {
    flex: 1;
    display: flex;
    padding: 0;
    overflow: hidden;
}

/* ===== Editor e visualização ===== */
.editor-panel {
    flex: 1;
    min-width: 500px;
    max-width: 800px;
    padding: 0;
    overflow-y: auto;
    height: calc(100vh - 64px);
    background-color: var(--bg-primary);
    border-right: 1px solid var(--border);
}

.preview-panel {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    height: calc(100vh - 64px);
    background-color: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* Controles de visualização */
.preview-controls {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

/* ===== Wizard steps ===== */
.steps-progress {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.5rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--border);
    z-index: 0;
}

.step-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 2px solid var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.step.active .step-circle {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.step.completed .step-circle {
    background-color: var(--success);
    border-color: var(--success);
    color: white;
}

.step-text {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.step.active .step-text {
    color: var(--primary);
    font-weight: 600;
}

.step.completed .step-text {
    color: var(--success);
}

/* ===== Formulários ===== */
.form-step {
    display: none;
    padding: 1.5rem;
    animation: fadeIn 0.3s ease;
}

.form-step.active {
    display: block;
}

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

.form-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
}

.form-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-col {
    flex: 1;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.form-error {
    display: none;
    font-size: 0.75rem;
    color: var(--danger);
    margin-top: 0.25rem;
}

.text-counter {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    text-align: right;
}

.required {
    color: var(--danger);
}

.invalid .form-input,
.invalid .form-textarea {
    border-color: var(--danger);
}

.invalid .form-error {
    display: block;
}

/* ===== Botões ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: var(--bg-secondary);
    transform: translateY(-1px);
}

.btn-success {
    background-color: var(--success);
    color: white;
}

.btn-success:hover {
    background-color: #0ca678;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-danger {
    background-color: var(--danger);
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-icon {
    width: 16px;
    height: 16px;
}

.btn-add {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background-color: var(--bg-secondary);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add:hover {
    background-color: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* ===== Componentes dinâmicos ===== */
.dynamic-item {
    background-color: var(--bg-secondary);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.dynamic-item:hover {
    box-shadow: var(--shadow-sm);
}

.dynamic-item.sortable-ghost {
    opacity: 0.5;
    background-color: var(--primary-light);
}

.dynamic-item.sortable-chosen {
    box-shadow: var(--shadow);
}

.dynamic-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dynamic-item-title {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.dynamic-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-icon-only {
    width: 28px;
    height: 28px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-move {
    cursor: grab;
}

.btn-move:active {
    cursor: grabbing;
}

/* ===== Badges e tags ===== */
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: default;
}

.tag-remove {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.tag-remove:hover {
    background-color: white;
}

.tag-input-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ===== Curriculum Preview ===== */
.resume-preview {
    width: 100%;
    max-width: 800px;
    background-color: white;
    box-shadow: var(--shadow);
    padding: 2rem;
    margin: 0 auto;
    height: auto;
    min-height: 1000px;
    transition: var(--transition);
    animation: slideInUp 0.3s ease;
}

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

/* Tema padrão do currículo */
.resume-theme-default {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #343a40;
    line-height: 1.5;
}

.resume-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 1.5rem;
}

.resume-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.resume-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.resume-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.875rem;
}

.resume-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.resume-contact-icon {
    color: var(--primary);
}

.resume-section {
    margin-bottom: 2rem;
}

.resume-section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.resume-item {
    margin-bottom: 1.5rem;
}

.resume-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.resume-item-title {
    font-weight: 600;
    font-size: 1.125rem;
}

.resume-item-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.resume-item-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

.resume-item-content {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.resume-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.resume-skill {
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Temas de currículo adicionais */
.resume-theme-classic {
    font-family: 'Georgia', serif;
    color: #333;
}

.resume-theme-classic .resume-header {
    border-bottom: 1px solid #000;
}

.resume-theme-classic .resume-name {
    font-size: 2.25rem;
    text-align: center;
    color: #000;
}

.resume-theme-classic .resume-title {
    text-align: center;
    font-style: italic;
}

.resume-theme-classic .resume-contact {
    justify-content: center;
}

.resume-theme-classic .resume-section-title {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    border-bottom: 1px solid #000;
}

.resume-theme-classic .resume-skill {
    background-color: transparent;
    border: 1px solid var(--primary);
}

.resume-theme-minimal {
    font-family: 'Arial', sans-serif;
}

.resume-theme-minimal .resume-header {
    border: none;
}

.resume-theme-minimal .resume-section-title {
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    color: #000;
    border: none;
    margin-bottom: 0.5rem;
}

.resume-theme-minimal .resume-item {
    margin-bottom: 1rem;
}

.resume-theme-creative {
    font-family: 'Montserrat', sans-serif;
}

.resume-theme-creative .resume-header {
    background-color: var(--primary-light);
    padding: 2rem;
    border-radius: var(--radius);
    border: none;
}

.resume-theme-creative .resume-section-title {
    position: relative;
    padding-left: 1rem;
    border: none;
}

.resume-theme-creative .resume-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--primary);
    border-radius: var(--radius);
}

.resume-theme-creative .resume-skill {
    border-radius: 4px;
    background-color: var(--primary);
    color: white;
}

/* Tema técnico */
.resume-theme-technical {
    font-family: 'Roboto', sans-serif;
}

.resume-theme-technical .resume-header {
    display: flex;
    flex-direction: column;
    border-bottom: 4px solid var(--primary);
}

.resume-theme-technical .resume-section-title {
    background-color: var(--bg-secondary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: none;
}

.resume-theme-technical .resume-skill {
    background-color: var(--bg-secondary);
    border-left: 3px solid var(--primary);
    border-radius: 0;
    padding: 0.25rem 0.5rem;
}

/* Tema executivo */
.resume-theme-executive {
    font-family: 'Georgia', serif;
    color: #333;
}

.resume-theme-executive .resume-header {
    text-align: center;
    border-bottom: double 4px #333;
    padding-bottom: 2rem;
}

.resume-theme-executive .resume-name {
    font-size: 2.5rem;
    letter-spacing: 1px;
    color: #333;
}

.resume-theme-executive .resume-section-title {
    text-align: center;
    font-size: 1.5rem;
    color: #333;
    border-bottom: 1px solid #333;
}

.resume-theme-executive .resume-skill {
    background-color: transparent;
    border-bottom: 1px dotted var(--primary);
    border-radius: 0;
    padding: 0.25rem 0;
    margin-right: 1rem;
}

/* Templates */
.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.template-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.template-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.template-card.active {
    border: 2px solid var(--primary);
}

.template-preview {
    height: 200px;
    overflow: hidden;
    background-color: var(--bg-secondary);
    padding: 0.5rem;
}

.template-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--border);
}

.template-info {
    padding: 0.75rem;
}

.template-name {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.template-description {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Theme Color Picker */
.color-picker {
    display: flex;
    gap: 0.75rem;
    margin: 1rem 0;
}

.color-option {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.active {
    border-color: var(--dark);
}

/* Tooltips */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    width: 120px;
    background-color: var(--dark);
    color: white;
    text-align: center;
    border-radius: 4px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.75rem;
    pointer-events: none;
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--dark) transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
}

.toast {
    display: flex;
    align-items: center;
    min-width: 300px;
    max-width: 450px;
    padding: 1rem;
    background-color: white;
    color: var(--text-primary);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-top: 1rem;
    transform: translateY(100px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.75rem;
    color: var(--success);
}

.toast-message {
    flex: 1;
    font-size: 0.875rem;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.toast-close:hover {
    color: var(--text-primary);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.show {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.loading-overlay p {
    color: white;
    font-weight: 500;
}

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

/* ===== Responsividade ===== */
@media (max-width: 1200px) {
    .sidebar {
        width: 220px;
    }
    .main-content {
        max-width: calc(100% - 220px);
    }
}

@media (max-width: 992px) {
    .sidebar {
        width: 60px;
        padding: 1rem 0.5rem;
    }
    .logo-text, .nav-text, .theme-toggle span {
        display: none;
    }
    .nav-link {
        justify-content: center;
        padding: 0.75rem;
    }
    .main-content {
        max-width: calc(100% - 60px);
    }
    .form-row {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }
    .editor-panel, .preview-panel {
        min-width: 100%;
        max-width: 100%;
        height: auto;
        max-height: calc(100vh - 64px);
    }
    .preview-panel {
        display: none;
    }
    .preview-panel.active {
        display: flex;
    }
    .header-actions {
        gap: 0.5rem;
    }
    .btn-text {
        display: none;
    }
    .resume-preview {
        padding: 1rem;
    }
    .resume-contact {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media print {
    body * {
        visibility: hidden;
    }
    .resume-preview, .resume-preview * {
        visibility: visible;
    }
    .resume-preview {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        padding: 0;
        margin: 0;
        box-shadow: none;
    }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--text-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}