@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- General Reset & Typography --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f9fafb;
    color: #1a1a1a;
    line-height: 1.6;
    overflow-y: scroll;
}

:root {
    --primary-green: #15803d;
    --light-green-bg: #f0fdf4;
    --text-dark: #111827;
    --text-muted: #6b7280;
    --border-light: #e5e7eb;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    --danger-red: #ef4444;
}

/* --- Application Container --- */
.app-container {
    max-width: 1440px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    box-shadow: 0 0 20px rgba(0,0,0,0.02);
}

/* --- Header --- */
header {
    padding: 1.25rem 2.5rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-brand i {
    color: var(--primary-green);
    font-size: 1.8rem;
}

.header-brand-text h1 {
    font-size: 1.25rem;
    color: var(--primary-green);
    margin: 0;
    line-height: 1.2;
}

.header-brand-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 24px;
}

.notification {
    position: relative;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
}

.notification .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--primary-green);
    color: white;
    font-size: 0.6rem;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.profile-dropdown {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.profile-dropdown img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.profile-details {
    display: flex;
    flex-direction: column;
}

.profile-details strong {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.profile-details span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.chevron-down-icon {
    font-size: 0.8rem; 
    color: #6b7280;
}

/* --- Main Layout --- */
.main-wrapper {
    display: flex;
    flex: 1;
}

/* --- Sidebar --- */
.sidebar {
    width: 320px;
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--border-light);
    background-color: #fafbfc;
    position: sticky;
    top: 76px;
    height: calc(100vh - 76px);
    overflow-y: auto;
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.sidebar-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.feature-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    color: var(--primary-green);
    font-size: 1rem;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.progress-header span:last-child { color: var(--primary-green); }

.progress-bar-container {
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--primary-green);
    width: 80%; /* 80% for Step 4 */
}

.progress-percentage {
    text-align: right;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 2.5rem;
}

/* Stepper */
.stepper {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.stepper::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 15px;
    bottom: 25px;
    width: 2px;
    background-color: var(--border-light);
    z-index: 0;
}

.step-link {
    text-decoration: none;
    color: inherit;
    display: block;
    z-index: 1;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.step:hover {
    opacity: 0.8;
    transform: translateX(2px);
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #f3f4f6;
    border: 2px solid #e5e7eb;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 2px;
    transition: all 0.2s ease;
}

.step-check-icon {
    font-size: 0.7rem;
}

.step.completed .step-number, .step.active .step-number {
    background-color: var(--primary-green);
    color: #fff;
    border-color: var(--primary-green);
}

.step-details h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0 0 2px 0;
    transition: color 0.2s ease;
}

.step.active .step-details h4 {
    color: var(--primary-green);
}

.step-details p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.help-card {
    background-color: var(--light-green-bg);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.help-card h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.help-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.btn-help {
    background: #fff;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s ease;
}

.btn-help:hover {
    background: var(--light-green-bg);
}

/* --- Main Content Area --- */
.content-area {
    flex: 1;
    padding: 2.5rem 3.5rem;
}

.page-header {
    margin-bottom: 2.5rem;
}

.step-indicator {
    font-size: 0.9rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.page-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* --- Single Column Step 4 Layout --- */
.step4-single-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* --- Premium Cards --- */
.premium-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--card-shadow);
}

.card-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.card-title-bar {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.card-title-bar i {
    font-size: 1.2rem;
    color: var(--primary-green);
    background-color: var(--light-green-bg);
    padding: 10px;
    border-radius: 50%;
    margin-top: -4px;
}

.card-title-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 4px 0;
}

.card-title-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Top Right Checkbox ("Prefer not to say") */
.prefer-not-say {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    margin-top: 2px;
}

.prefer-not-say input {
    accent-color: var(--primary-green);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* Form Inputs & Textareas */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.req { color: var(--danger-red); }

.form-input {
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: #fff;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.form-input:focus {
    border-color: var(--primary-green);
}

.form-input:disabled, .form-input[readonly], .disabled-state {
    background-color: #f9fafb !important;
    color: #9ca3af !important;
    cursor: not-allowed;
    border-color: var(--border-light);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.char-count {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: left;
    margin-top: -6px;
}

/* Skills Tags */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Container disabled state */
.skills-container.disabled-state .tag-pill {
    background-color: #f3f4f6;
    color: #9ca3af;
    border-color: #e5e7eb;
    pointer-events: none;
}
.skills-container.disabled-state .tag-pill-dashed {
    border-color: #9ca3af;
    color: #9ca3af;
}

.tag-pill {
    background-color: var(--light-green-bg);
    color: var(--primary-green);
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #c3e6cb;
}

.tag-pill i { 
    font-size: 0.8rem;
    cursor: pointer; 
    opacity: 0.7;
}

.tag-pill i:hover { opacity: 1; }

.tag-pill-dashed {
    background-color: transparent;
    color: var(--primary-green);
    border: 1px dashed var(--primary-green);
    cursor: pointer;
    transition: all 0.2s;
}

.tag-pill-dashed:hover {
    background-color: var(--light-green-bg);
}

/* Checkbox & Radio */
.radio-options {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
}

.radio-label input {
    accent-color: var(--primary-green);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Specific Grids */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Date Input with Icon */
.date-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.date-input-wrapper input {
    padding-right: 35px;
}

.date-input-wrapper i {
    position: absolute;
    right: 14px;
    color: var(--text-muted);
    pointer-events: none;
}

.duration-flex {
    display: flex;
    align-items: center;
    gap: 16px;
}

.duration-flex span {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Utility Classes derived from inline styles */
.mb-0 { margin-bottom: 0 !important; }
.mt-1-25 { margin-top: 1.25rem !important; }
.min-h-80 { min-height: 80px !important; }
.opacity-100 { opacity: 1 !important; }

/* --- Footer --- */
footer {
    padding: 1.5rem 3.5rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
}

.btn-action {
    padding: 0.8rem 1.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.2s;
}

.btn-action:hover {
    opacity: 0.9;
}

.btn-back {
    background: #fff;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
}

.btn-save {
    background-color: var(--primary-green);
    border: none;
    color: #fff;
}