/* ===== PROGRESS PAGE STYLES ===== */

.progress-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    min-height: calc(100vh - 200px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    /* Hide "Your Results" link on mobile for progress page */
    .navbar .nav-menu .nav-link[href="/results"] {
        display: none;
    }
    
    .progress-container {
        padding: 1rem 0.75rem;
    }
    
    .progress-header {
        padding-top: 5rem;
        margin-bottom: 2rem;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    .progress-header h1 {
        font-size: 2rem;
    }
    
    .progress-item-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .progress-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .todo-list {
        padding: 0;
    }
    
    .todo-item {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .progress-container {
        padding: 0.75rem 0.5rem;
    }
    
    .progress-header {
        padding-top: 4rem;
        margin-bottom: 1.5rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .progress-header h1 {
        font-size: 1.75rem;
    }
    
    .progress-item-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .todo-item {
        padding: 0.5rem;
        flex-wrap: wrap;
    }
}

.progress-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 6rem;
}

.progress-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mockup-foreground);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
}

.progress-header p {
    font-size: 1.1rem;
    color: var(--mockup-muted-foreground);
}

.progress-loading {
    text-align: center;
    padding: 3rem;
    color: var(--mockup-muted-foreground);
    font-size: 1.1rem;
}

.progress-loading i {
    margin-right: 0.5rem;
    color: var(--mockup-primary);
}

/* Progress Item Card */
.progress-item-card {
    background: var(--mockup-card);
    border: 1px solid var(--mockup-border);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 24px -4px hsla(220, 25%, 20%, 0.08),
                0 2px 8px -2px hsla(220, 25%, 20%, 0.04);
}

.progress-item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--mockup-border);
    position: relative;
}

.progress-unstar-btn {
    margin-left: auto;
    background: transparent;
    border: 2px solid var(--mockup-border);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    color: var(--mockup-muted-foreground);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.progress-unstar-btn:hover {
    background: var(--mockup-destructive);
    border-color: var(--mockup-destructive);
    color: white;
    transform: translateY(-2px);
}

.progress-unstar-btn i {
    color: inherit;
}

.progress-item-icon-large {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.progress-item-icon-large.riasec {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.progress-item-icon-large.skill {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.progress-item-icon-large.career {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.progress-item-title {
    flex: 1;
}

.progress-item-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mockup-foreground);
    margin: 0;
    font-family: var(--font-display);
}

.progress-item-type {
    font-size: 0.875rem;
    color: var(--mockup-muted-foreground);
    text-transform: capitalize;
    margin-top: 0.25rem;
}

/* Todo List */
.todo-section {
    margin-top: 1.5rem;
}

.todo-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.todo-section-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--mockup-foreground);
    margin: 0;
}

.add-todo-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.add-todo-input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--mockup-border);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.add-todo-input:focus {
    outline: none;
    border-color: var(--mockup-primary);
    box-shadow: 0 0 0 3px hsla(168, 76%, 42%, 0.1);
}

.add-todo-btn {
    padding: 0.75rem 1.5rem;
    background: var(--mockup-primary);
    color: var(--mockup-primary-foreground);
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-todo-btn:hover {
    background: var(--mockup-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

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

.todo-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--mockup-background);
    border: 1px solid var(--mockup-border);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.todo-item.completed {
    opacity: 0.5;
    background: var(--mockup-muted);
}

.todo-checkbox {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--mockup-border);
    border-radius: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: white;
}

.todo-checkbox i {
    font-size: 0.875rem;
}

.todo-checkbox:hover {
    border-color: var(--mockup-primary);
}

.todo-checkbox.checked {
    background: var(--mockup-primary);
    border-color: var(--mockup-primary);
    color: white;
}

.todo-text {
    flex: 1;
    color: var(--mockup-foreground);
    font-size: 1rem;
    word-break: break-word;
}

.todo-item.completed .todo-text {
    text-decoration: line-through;
    color: var(--mockup-muted-foreground);
}

.todo-remove-btn {
    background: none;
    border: none;
    color: var(--mockup-muted-foreground);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.todo-remove-btn:hover {
    background: hsl(0, 84%, 60%, 0.1);
    color: hsl(0, 84%, 60%);
}

.empty-todos {
    text-align: center;
    padding: 2rem;
    color: var(--mockup-muted-foreground);
    font-style: italic;
}

/* Empty State */
.progress-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--mockup-card);
    border: 1px dashed var(--mockup-border);
    border-radius: 1rem;
}

.progress-empty-state i {
    font-size: 4rem;
    color: var(--mockup-muted);
    margin-bottom: 1rem;
}

.progress-empty-state h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--mockup-foreground);
    margin-bottom: 0.5rem;
}

.progress-empty-state p {
    color: var(--mockup-muted-foreground);
    margin-bottom: 1.5rem;
}

.progress-empty-state a {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--mockup-primary);
    color: var(--mockup-primary-foreground);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.progress-empty-state a:hover {
    background: var(--mockup-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 184, 166, 0.3);
}

/* Career progress task items */
.ai-action-item {
    transition: all 0.3s ease;
}

.ai-action-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.ai-action-checkbox {
    transition: all 0.2s ease;
}

.ai-action-checkbox:hover {
    transform: scale(1.1);
}

.ai-action-checkbox.completed {
    border-width: 3px;
}

.ai-action-link {
    transition: all 0.3s ease;
}

.ai-action-link:hover {
    transform: translateY(-2px);
    filter: brightness(0.95);
}

.generate-actions-btn {
    transition: all 0.3s ease;
}

.generate-actions-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2) !important;
}

.generate-actions-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Starred Items Grid */
.starred-items-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .starred-items-grid {
        grid-template-columns: 1fr;
    }
}

.progress-item-icon-small {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.progress-item-icon-small.riasec {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.progress-item-icon-small.skill {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.progress-item-icon-small.career {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.progress-unstar-btn-small {
    transition: all 0.2s ease;
}

.progress-unstar-btn-small:hover {
    background: rgba(251, 191, 36, 0.1) !important;
    border-color: #fbbf24 !important;
    transform: scale(1.1);
}

.starred-item {
    transition: all 0.2s ease;
}

.starred-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--mockup-primary);
}