/* User Account Pages Styles */

.auth-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: var(--bg-light);
}

.auth-layout {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.auth-card {
    flex: 1 1 420px;
    max-width: 520px;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.auth-illustration {
    flex: 1 1 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-illustration img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 18px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.auth-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.auth-form {
    margin-top: 2rem;
}

.radio-group {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.radio-label:hover {
    border-color: var(--primary-color);
}

.radio-label input[type="radio"] {
    margin: 0;
}

.radio-label input[type="radio"]:checked + span {
    font-weight: 600;
}

.radio-label input[type="radio"]:checked ~ .radio-label,
.radio-label:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background: var(--bg-light);
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.auth-footer {
    margin-top: 2rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.auth-footer a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Dashboard Styles */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.dashboard-header > div:first-child {
    flex: 1;
    min-width: 250px;
}

.profile-completion {
    text-align: right;
    min-width: 200px;
}

.completion-bar {
    width: 100%;
    max-width: 250px;
    height: 10px;
    background: var(--border-color);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.completion-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.5s ease;
    border-radius: 5px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.dashboard-card.full-width {
    grid-column: 1 / -1;
}

.dashboard-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--bg-light);
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-item > div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.profile-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-checklist li {
    padding: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.profile-checklist li:last-child {
    border-bottom: none;
}

.profile-checklist .check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.profile-checklist .check-icon.complete {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.profile-checklist span {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Profile Page Styles */
.profile-section {
    background: var(--bg-light);
}

.profile-header {
    margin-bottom: 2rem;
}

.profile-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-weight: 500;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.profile-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

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

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.add-skill-section {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    align-items: flex-end;
}

.add-skill-section input,
.add-skill-section select {
    flex: 1;
    min-width: 150px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.skill-item .skill-name {
    flex: 1;
    font-weight: 600;
}

.skill-item .skill-proficiency {
    padding: 0.25rem 0.75rem;
    background: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-size: 0.875rem;
}

.skill-item .skill-years {
    color: var(--text-light);
}

.experience-item,
.education-item {
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    position: relative;
}

.experience-item h4,
.education-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.experience-item .item-meta,
.education-item .item-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.experience-item .item-actions,
.education-item .item-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    gap: 0.5rem;
}

.current-resume {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
}

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

@media (max-width: 768px) {
    .auth-layout {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-illustration {
        display: none;
    }

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .dashboard-header > div:first-child {
        width: 100%;
    }

    .profile-completion {
        text-align: left;
        width: 100%;
    }

    .completion-bar {
        max-width: 100%;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .dashboard-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .add-skill-section {
        flex-direction: column;
    }

    .add-skill-section input,
    .add-skill-section select {
        width: 100%;
    }
}






