/* ===== CHECK-INS WORKFLOW STYLES ===== */

/* Workflow Items */
.workflow-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 12px;
    background: var(--background-card);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.workflow-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.workflow-item.completed {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-color: #10b981;
}

.workflow-item.locked {
    background: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
    border-color: #e5e7eb;
}

.workflow-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.workflow-item.completed .workflow-icon {
    background: rgba(255, 255, 255, 0.2);
}

.workflow-item.locked .workflow-icon {
    background: #e5e7eb;
}

.workflow-content {
    flex: 1;
}

.workflow-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.workflow-description {
    font-size: 0.85rem;
    opacity: 0.8;
    margin: 0;
}

.workflow-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.workflow-btn.completed {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.workflow-btn.locked {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Progress Items */
.progress-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: var(--background-card);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Coach Items */
.coach-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    background: var(--background-card);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
}

.coach-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
    border-color: var(--brand-purple);
}

.coach-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-purple-light);
    color: var(--brand-purple);
    flex-shrink: 0;
}

.coach-content {
    flex: 1;
}

.coach-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.coach-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Progress Panel Styles */
.progress-panel {
    padding: 24px;
    height: 100%;
    overflow-y: auto;
}

.progress-header {
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.progress-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.progress-section {
    margin-bottom: 32px;
}

.progress-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.goal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.goal-item:last-child {
    border-bottom: none;
}

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

.goal-value {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: var(--background-light);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.activity-item .text-success {
    color: #10b981 !important;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.insight-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-purple);
    flex-shrink: 0;
}

.insight-dot.purple {
    background: var(--brand-purple);
}

/* Background variables for check-ins */
.progress-panel {
    --background-light: #f1f5f9;
}

/* Ensure workflow items override any existing styles */
.sidebar-section .workflow-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 16px !important;
    border-radius: 12px !important;
    margin-bottom: 12px !important;
    background: var(--background-card) !important;
    border: 1px solid var(--border-color) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.sidebar-section .workflow-item.completed {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    border-color: #10b981 !important;
}

.sidebar-section .workflow-item.locked {
    background: #f9fafb !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    border-color: #e5e7eb !important;
}