@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- General Reset & Premium 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;
}

/* --- Color Variables for Consistency --- */
: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.05);
}

/* --- Application Container --- */
.app-container {
    max-width: 1400px;
    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);
}

/* --- Header --- */
header {
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.user-dropdown-icon {
    font-size: 0.8rem;
    margin-left: 5px;
}

/* --- Main Content Layout --- */
.main-wrapper {
    display: flex;
    flex: 1;
}

/* --- Sidebar --- */
.sidebar {
    width: 300px;
    padding: 2rem;
    border-right: 1px solid var(--border-light);
    background-color: #fafbfc;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.brand-logo {
    font-size: 1.8rem;
    color: var(--primary-green);
}

.brand-text h2 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin: 0;
}

.brand-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list i {
    color: var(--primary-green);
    font-size: 1rem;
}

.progress-bar-container {
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--primary-green);
    width: 20%;
}

.stepper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    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.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;
    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;
}

.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: 2rem;
}

.page-header {
    margin-bottom: 2rem;
}

.step-indicator {
    font-size: 0.9rem;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.page-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.page-header p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* --- Premium Cards --- */
.premium-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
    box-shadow: var(--card-shadow);
}

.card-title-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.card-title-bar i {
    font-size: 1.5rem;
    color: var(--primary-green);
}

.card-title-bar h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* --- Card 1: Candidate Profile --- */
.profile-layout {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 2rem;
}

.profile-photo-col {
    text-align: center;
}

.profile-photo-col img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid var(--border-light);
    margin-bottom: 0.75rem;
}

.btn-photo {
    background: #fff;
    border: 1px solid var(--border-light);
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.profile-data-col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4b5563;
}

.form-input {
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-muted);
    background-color: #f9fafb;
}

.status-input-group {
    grid-column: span 3;
}
.status-input {
    color: var(--text-muted);
    font-style: italic;
}

.info-callout {
    background-color: var(--light-green-bg);
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.info-callout p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-edit-profile {
    background: #fff;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
}

/* --- Grid for Vehicle and Preferences --- */
.bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* --- Vehicle Card --- */
.vehicle-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.option-group h4 {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.radio-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: #4b5563;
    cursor: pointer;
}

.radio-label input {
    accent-color: var(--primary-green);
    width: 16px;
    height: 16px;
}

/* --- Preferences Card --- */
.preference-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.preference-item h4 {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.options-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.select-option {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.select-option i {
    font-size: 1.5rem;
    color: var(--text-muted);
}

.select-option span {
    font-size: 0.85rem;
    color: var(--text-dark);
}

.select-option.active {
    border-color: var(--primary-green);
    background-color: var(--light-green-bg);
}

.select-option.active i {
    color: var(--primary-green);
}

/* Theme colors utility classes removing inline CSS */
.color-options {
    display: flex;
    gap: 10px;
}

.color-chip {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s ease;
}

.color-chip:hover {
    transform: scale(1.1);
}

.color-chip.active {
    border-color: #fff;
    box-shadow: 0 0 0 2px var(--primary-green);
}

.color-green { background-color: #15803d; }
.color-blue { background-color: #1e3a8a; }
.color-orange { background-color: #ea580c; }
.color-gray { background-color: #6b7280; }

/* --- Footer --- */
footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
}

.btn-action {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    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;
}

.locked-field {
    background-color: #f3f4f6;
    color: #6b7280;
    cursor: not-allowed;
}
.form-status-msg {
    padding: 10px 14px;
    border-radius: 6px;
    background: #fff;
    font-size: 14px;
    margin-bottom: 16px;
}