/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #f8f9fa;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: #000000;
    text-decoration: none;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-save {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

/* Main Layout */
.main-content {
    padding: 32px 0;
}

.builder-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    min-height: calc(100vh - 120px);
}

/* Sidebar */
.sidebar {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.progress-header {
    margin-bottom: 32px;
}

.progress-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 16px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

/* Template Indicator */
.template-indicator {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 165, 0, 0.05) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.template-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.template-icon {
    color: #FFD700;
    flex-shrink: 0;
}

.template-details {
    flex: 1;
}

.template-label {
    display: block;
    font-size: 12px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.template-name {
    display: block;
    font-size: 14px;
    color: #000000;
    font-weight: 700;
}

.btn-change-template {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #374151;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-change-template:hover {
    background: #f9fafb;
    border-color: #FFD700;
    color: #FFD700;
}

.section-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.nav-item:hover {
    background: #f9fafb;
    color: #374151;
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
    color: #000000;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.nav-icon {
    flex-shrink: 0;
}

.nav-content {
    flex: 1;
}

.nav-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
}

.nav-subtitle {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-top: 2px;
}

.nav-status {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.nav-status.completed {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    opacity: 1;
}

.nav-status.completed svg {
    color: #000000;
}

.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-preview, .btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-preview:hover, .btn-download:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-download {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: #ffffff;
    border: none;
}

.btn-download:hover {
    background: linear-gradient(135deg, #333333 0%, #000000 100%);
}

/* Form Content */
.form-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-section {
    display: none;
}

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

.section-header {
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 8px;
}

.section-header p {
    color: #6b7280;
    font-size: 16px;
}

/* Avatar Upload Section */
.avatar-upload-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 165, 0, 0.05) 100%);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    text-align: center;
}

.avatar-upload-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.avatar-upload-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
}

.avatar-upload-header svg {
    color: #FFD700;
}

.avatar-container {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.avatar-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #FFD700;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.avatar-preview:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-placeholder {
    color: #9ca3af;
    font-size: 48px;
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.avatar-container:hover .avatar-overlay {
    opacity: 1;
}

.avatar-overlay svg {
    color: #ffffff;
    width: 32px;
    height: 32px;
}

.avatar-remove {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #dc2626;
    color: #ffffff;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.avatar-container:hover .avatar-remove {
    opacity: 1;
    transform: scale(1);
}

.avatar-remove:hover {
    background: #b91c1c;
    transform: scale(1.1);
}

.avatar-upload-input {
    display: none;
}

.avatar-upload-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px dashed #FFD700;
    border-radius: 12px;
    background: transparent;
    color: #FFD700;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 16px;
}

.avatar-upload-button:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #FFA500;
    color: #FFA500;
    transform: translateY(-2px);
}

.avatar-upload-tips {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
}

.avatar-upload-tips strong {
    color: #374151;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

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

.ai-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 165, 0, 0.05) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 8px;
    font-size: 14px;
    color: #92400e;
}

.ai-tip svg {
    color: #FFD700;
    flex-shrink: 0;
}

/* Experience/Education Items */
.experience-item,
.education-item {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.item-title {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
}

.btn-remove {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove:hover {
    background: #fecaca;
}

.btn-add {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px;
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    background: transparent;
    color: #6b7280;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add:hover {
    border-color: #FFD700;
    color: #92400e;
    background: rgba(255, 215, 0, 0.05);
}

/* Easy Skills Entry Section */
.skills-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.skills-quick-add {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 165, 0, 0.05) 100%);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 32px;
}

.quick-add-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.quick-add-header h4 {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
}

.quick-add-header svg {
    color: #FFD700;
}

.skill-input-container {
    position: relative;
    margin-bottom: 20px;
}

.skill-quick-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.skill-quick-input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

.skill-quick-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.quick-add-controls {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.category-quick-select {
    padding: 10px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.category-quick-select:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.1);
}

.level-quick-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.level-btn {
    padding: 8px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    background: #ffffff;
    color: #6b7280;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.level-btn:hover {
    border-color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    color: #92400e;
}

.level-btn.active {
    border-color: #FFD700;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.btn-quick-add {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    white-space: nowrap;
}

.btn-quick-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-quick-add:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.popular-skills {
    margin-bottom: 32px;
}

.popular-skills h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.popular-skills svg {
    color: #FFD700;
}

.popular-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.popular-category {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
}

.popular-category:hover {
    border-color: #FFD700;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.1);
}

.popular-category h5 {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.popular-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.popular-skill-tag {
    padding: 4px 10px;
    background: #f3f4f6;
    color: #374151;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.popular-skill-tag:hover {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.1) 100%);
    border-color: #FFD700;
    color: #92400e;
    transform: translateY(-1px);
}

.skills-display {
    margin-bottom: 32px;
}

.skills-display h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skills-display svg {
    color: #FFD700;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.skill-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.skill-level-indicator {
    display: flex;
    gap: 2px;
}

.skill-level-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
}

.skill-level-dot.active {
    background: #000000;
}

.skill-category-badge {
    font-size: 10px;
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-remove-skill {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-remove-skill:hover {
    background: rgba(220, 38, 38, 0.8);
    color: #ffffff;
    transform: scale(1.1);
}

.btn-remove-skill svg {
    width: 12px;
    height: 12px;
}

.skills-summary {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(255, 165, 0, 0.05) 100%);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.skills-summary h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skills-summary svg {
    color: #FFD700;
}

.skills-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
}

.skill-summary-item {
    text-align: center;
}

.skill-summary-count {
    font-size: 24px;
    font-weight: 800;
    color: #FFD700;
    display: block;
}

.skill-summary-label {
    font-size: 12px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Preview Panel - Hidden by default */
.preview-panel {
    display: none;
}

/* Preview Modal */
.preview-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.preview-modal.active {
    display: flex;
}

.preview-modal-content {
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    height: 90%;
    max-height: 800px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

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

.preview-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e5e7eb;
    background: linear-gradient(135deg, #ffffff 0%, #fffbf0 100%);
}

.preview-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 12px;
}

.preview-modal-title svg {
    color: #FFD700;
}

.preview-modal-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-modal-download {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-modal-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-close-modal {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close-modal:hover {
    background: #f3f4f6;
    color: #374151;
}

.preview-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 32px;
    background: #f8f9fa;
}

.preview-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 800px;
}

/* Resume Preview Styles */
.resume-document {
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
}

.resume-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #FFD700;
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
}

.resume-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #FFD700;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.resume-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resume-header-content {
    text-align: left;
    flex: 1;
}

.resume-name {
    font-size: 28px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 8px;
}

.resume-contact {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #666666;
}

.resume-summary {
    margin-bottom: 24px;
}

.resume-section {
    margin-bottom: 24px;
}

.resume-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid #FFD700;
}

.resume-item {
    margin-bottom: 16px;
}

.resume-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.resume-item-title {
    font-weight: 700;
    color: #000000;
}

.resume-item-company {
    font-weight: 600;
    color: #333333;
}

.resume-item-date {
    font-size: 12px;
    color: #666666;
}

.resume-item-location {
    font-size: 12px;
    color: #666666;
    font-style: italic;
}

.resume-skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.resume-skill-category {
    background: #f9fafb;
    border-radius: 8px;
    padding: 16px;
}

.resume-skill-category-title {
    font-size: 14px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.resume-skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.resume-skill {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    position: relative;
}

.resume-skill.expert::after {
    content: '★★★';
    position: absolute;
    top: -2px;
    right: -2px;
    font-size: 8px;
    color: #000000;
}

.resume-skill.advanced::after {
    content: '★★';
    position: absolute;
    top: -2px;
    right: -2px;
    font-size: 8px;
    color: #000000;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    margin-bottom: 32px;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-icon svg {
    color: #000000;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
}

.modal-header p {
    color: #6b7280;
}

.modal-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000000;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background: #f9fafb;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .builder-layout {
        grid-template-columns: 280px 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .builder-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar {
        position: static;
        order: 2;
    }
    
    .form-content {
        padding: 24px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .skills-summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-actions {
        gap: 8px;
    }
    
    .btn-back, .btn-save {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }

    .quick-add-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .level-quick-buttons {
        justify-content: center;
    }

    .popular-skills-grid {
        grid-template-columns: 1fr;
    }

    .preview-modal-content {
        width: 95%;
        height: 95%;
    }

    .preview-modal-header {
        padding: 16px 20px;
    }

    .preview-modal-body {
        padding: 20px;
    }

    .preview-container {
        padding: 24px;
    }

    .resume-contact {
        flex-direction: column;
        gap: 8px;
    }

    .resume-header {
        flex-direction: column;
        text-align: center;
    }

    .resume-header-content {
        text-align: center;
    }

    .avatar-upload-section {
        padding: 24px;
    }

    .avatar-preview {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 16px 0;
    }
    
    .form-content {
        padding: 20px;
    }
    
    .sidebar {
        padding: 20px;
    }
    
    .modal-content {
        padding: 24px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .skills-summary-grid {
        grid-template-columns: 1fr;
    }

    .skills-list {
        gap: 8px;
    }

    .skill-tag {
        font-size: 12px;
        padding: 8px 12px;
    }

    .preview-modal-header {
        padding: 12px 16px;
    }

    .preview-modal-title {
        font-size: 18px;
    }

    .preview-modal-body {
        padding: 16px;
    }

    .preview-container {
        padding: 20px;
    }

    .avatar-upload-section {
        padding: 20px;
    }

    .avatar-preview {
        width: 80px;
        height: 80px;
    }

    .avatar-placeholder {
        font-size: 32px;
    }
}