.intro-content,
.demographics-content,
.jobs-content,
.summary-content,
.preview-content {
    max-width: 900px;
    margin: 0 auto;
    animation: contentFadeIn var(--transition-cubic) forwards;
}

.jobs-content {
    max-width: 100%;
}

.jobs-header {
    margin-bottom: var(--spacing-2xl);
    text-align: center;
}

.jobs-header h2 {
    color: var(--color-text-primary);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.jobs-header p {
    color: var(--color-text-secondary);
    font-size: 16px;
}

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

.intro-content h2,
.demographics-content h2,
.jobs-content h2,
.summary-content h2,
.preview-content h2 {
    color: var(--color-text-primary);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(135deg, var(--color-primary), var(--color-info));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-content p,
.demographics-content p,
.jobs-content p,
.summary-content p,
.preview-content p {
    color: var(--color-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-2xl);
}

.intro-form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    margin-top: var(--spacing-2xl);
    margin-bottom: var(--spacing-3xl);
}

.intro-column-left,
.intro-column-right {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.intro-color-pickers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

@media (max-width: 768px) {
    .intro-form-columns {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .intro-color-pickers {
        grid-template-columns: 1fr;
    }
}

.image-upload-component.half-width {
    max-width: 50%;
}

@media (max-width: 768px) {
    .image-upload-component.half-width {
        max-width: 100%;
    }
}

.tab-panel .form-group {
    margin-bottom: var(--spacing-2xl);
    position: relative;
}

.tab-panel .form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-text-primary), var(--color-text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 14px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.tab-panel .form-group input,
.tab-panel .form-group textarea {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 2px solid var(--color-border-medium);
    border-radius: var(--radius-lg);
    font-size: 16px;
    font-family: inherit;
    color: var(--color-text-primary);
    background: linear-gradient(to bottom,
        var(--color-bg-primary) 0%,
        var(--color-gray-50) 100%);
    transition: all var(--transition-cubic);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06),
                inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.tab-panel .form-group input:hover,
.tab-panel .form-group textarea:hover {
    border-color: var(--color-border-dark);
    background: var(--color-bg-primary);
}

.tab-panel .form-group input:focus,
.tab-panel .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-bg-primary);
    box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.12),
                0 2px 8px rgba(var(--color-primary-rgb), 0.15),
                inset 0 1px 2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.tab-panel .form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.tab-panel .form-group input::placeholder,
.tab-panel .form-group textarea::placeholder {
    color: var(--color-text-tertiary);
    opacity: 0.7;
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-2xl);
}

.job-entry {
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg-primary) 100%);
    border-radius: var(--radius-xl);
    border: 2px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-cubic);
    position: relative;
    overflow: hidden;
}

.job-entry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-primary), var(--color-info));
}

.job-entry:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.job-entry h3 {
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xl);
    margin-left: var(--spacing-md);
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.job-entry h3::before {
    content: '📋';
    font-size: 1.2rem;
}

.job-entry .remove-job-btn {
    margin-top: var(--spacing-xl);
    min-width: auto;
    transition: all var(--transition-base);
}

.job-entry .remove-job-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.preview-section {
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-2xl);
    background: linear-gradient(135deg,
        var(--color-bg-primary) 0%,
        var(--color-gray-50) 50%,
        var(--color-bg-primary) 100%);
    border-radius: var(--radius-xl);
    border: 2px solid var(--color-border-light);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-cubic);
    position: relative;
    overflow: hidden;
}

.preview-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    transition: left 0.6s ease;
    pointer-events: none;
}

.preview-section:hover::after {
    left: 100%;
}

.preview-section:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md),
                0 0 20px rgba(var(--color-primary-rgb), 0.1);
}

.preview-section:last-child {
    margin-bottom: var(--spacing-3xl);
}

.preview-section h3 {
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-xl);
    font-size: 1.5rem;
    font-weight: 600;
    padding-bottom: var(--spacing-md);
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.preview-section h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-info));
    border-radius: var(--radius-full);
}

.preview-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        var(--color-primary) 0%,
        var(--color-info) 50%,
        transparent 100%);
}

.preview-data {
    color: var(--color-text-secondary);
    line-height: 1.8;
    font-size: 15px;
}

.preview-data p {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-lg);
    position: relative;
}

.preview-data p::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

.preview-data p:last-child {
    margin-bottom: 0;
}

.preview-data strong {
    color: var(--color-text-primary);
    font-weight: 700;
    margin-right: var(--spacing-xs);
}

.preview-data em {
    color: var(--color-text-tertiary);
    font-style: italic;
    background: var(--color-bg-tertiary);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
}

.job-preview-item {
    padding: var(--spacing-xl);
    background: linear-gradient(135deg,
        var(--color-gray-50) 0%,
        var(--color-bg-primary) 50%,
        var(--color-gray-50) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    border-left: 4px solid;
    border-image: linear-gradient(180deg, var(--color-primary), var(--color-info)) 1;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-cubic);
    position: relative;
    overflow: hidden;
}

.job-preview-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(var(--color-primary-rgb), 0.05) 0%,
        transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.job-preview-item:hover::before {
    opacity: 1;
}

.job-preview-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-md),
                0 0 15px rgba(var(--color-primary-rgb), 0.15);
    border-image: linear-gradient(180deg, var(--color-info), var(--color-primary)) 1;
}

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

.job-preview-item h4 {
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.job-preview-item h4::before {
    content: '💼';
    font-size: 1rem;
}

.job-preview-item p {
    padding-left: 0;
}

.job-preview-item p::before {
    display: none;
}

.tab-panel .form-actions {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-2xl);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg,
        transparent 0%,
        var(--color-border-medium) 20%,
        var(--color-border-medium) 80%,
        transparent 100%) 1;
    flex-wrap: wrap;
    justify-content: center;
}

.tab-panel .form-actions .btn {
    min-width: 180px;
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-cubic);
    position: relative;
    overflow: hidden;
}

.tab-panel .form-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    transition: left 0.5s ease;
}

.tab-panel .form-actions .btn:hover::before {
    left: 100%;
}

.tab-panel .form-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg),
                0 8px 20px rgba(var(--color-primary-rgb), 0.25);
}

.tab-panel .form-actions .btn:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.dark-mode .tab-panel .form-group label {
    background: linear-gradient(135deg, var(--color-text-primary), var(--color-text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dark-mode .tab-panel .form-group input,
.dark-mode .tab-panel .form-group textarea {
    background: linear-gradient(to bottom,
        var(--color-bg-primary) 0%,
        var(--color-gray-800) 100%);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3),
                inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

.dark-mode .tab-panel .form-group input:hover,
.dark-mode .tab-panel .form-group textarea:hover {
    background: var(--color-bg-primary);
}

.dark-mode .tab-panel .form-group input:focus,
.dark-mode .tab-panel .form-group textarea:focus {
    background: var(--color-bg-primary);
}

.dark-mode .job-entry {
    background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg-primary) 100%);
}

.dark-mode .preview-section {
    background: linear-gradient(135deg,
        var(--color-bg-primary) 0%,
        var(--color-gray-800) 50%,
        var(--color-bg-primary) 100%);
}

.dark-mode .preview-section::after {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.05) 50%,
        transparent 100%);
}

.dark-mode .job-preview-item {
    background: linear-gradient(135deg,
        var(--color-gray-800) 0%,
        var(--color-bg-primary) 50%,
        var(--color-gray-800) 100%);
}

.dark-mode .job-preview-item::before {
    background: linear-gradient(135deg,
        rgba(59, 130, 246, 0.08) 0%,
        transparent 100%);
}

.dark-mode .tab-panel .form-actions .btn::before {
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%);
}

@media (max-width: 768px) {
    .intro-content,
    .demographics-content,
    .jobs-content,
    .summary-content,
    .preview-content {
        max-width: 100%;
    }

    .intro-content h2,
    .demographics-content h2,
    .jobs-content h2,
    .summary-content h2,
    .preview-content h2 {
        font-size: 1.6rem;
    }

    .job-entry {
        padding: var(--spacing-xl);
    }

    .job-entry h3 {
        font-size: 1.2rem;
    }

    .preview-section {
        padding: var(--spacing-xl);
    }

    .preview-section h3 {
        font-size: 1.3rem;
    }

    .job-preview-item {
        padding: var(--spacing-lg);
    }

    .tab-panel .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .tab-panel .form-actions .btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .intro-content h2,
    .demographics-content h2,
    .jobs-content h2,
    .summary-content h2,
    .preview-content h2 {
        font-size: 1.4rem;
    }

    .job-entry {
        padding: var(--spacing-lg);
    }

    .preview-section {
        padding: var(--spacing-lg);
    }

    .tab-panel .form-group input,
    .tab-panel .form-group textarea {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 15px;
    }
}