.hil-request-container {
    margin: 0.75rem 0;
    padding: 1rem;
    border: 1px solid #edf2f7;
    border-radius: 6px;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.hil-request-container.pending {
    border-left: 3px solid #1976d2;
}

.hil-request-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.hil-request-header h3 {
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

.workflow-badge {
    background: #f3f8ff;
    color: #1976d2;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-left: auto;
    font-weight: 500;
}

.consent-info {
    background: #fafbfc;
    border-radius: 6px;
    padding: 1rem;
    margin: 0.75rem 0;
}

.consent-section {
    margin-bottom: 1rem;
}

.consent-section:last-child {
    margin-bottom: 0;
}

.consent-section-title {
    font-size: 0.8rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.consent-detail {
    display: flex;
    padding: 0.75rem;
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 4px;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.consent-detail:last-child {
    margin-bottom: 0;
}

.consent-text {
    flex: 1;
    line-height: 1.4;
}

.consent-detail-item {
    padding: 0.4rem 0;
    border-bottom: 1px solid #f1f5f9;
}

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

.consent-detail-item:first-child {
    padding-top: 0;
}

.detail-label {
    color: #64748b;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    min-width: 100px;
    display: inline-block;
}

.detail-value {
    color: #334155;
    font-weight: 500;
}

.button-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.action-button {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    color: white;
}

.action-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.action-button.accept {
    background: #10b981;
}

.action-button.decline {
    background: #ef4444;
}

.hil-request-container.approved {
    border-left: 3px solid #10b981;
}

.hil-request-container.rejected {
    border-left: 3px solid #ef4444;
}

.requests-separator {
    margin: 1.5rem 0;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 4px;
    text-align: center;
    color: #64748b;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hil-request-container.approved .workflow-badge {
    background: #ecfdf5;
    color: #059669;
}

.hil-request-container.rejected .workflow-badge {
    background: #fef2f2;
    color: #dc2626;
}

.hil-request-header.clickable {
    cursor: pointer;
    user-select: none;
    padding: 0.25rem;
    margin: -0.25rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.title-section {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 0.75rem;
}

.expand-icon {
    font-size: 0.8rem;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.consent-info.collapsed {
    display: none;
}

.hil-request-header.clickable:hover {
    background: #f8fafc;
}

.hil-request-container.approved .expand-icon,
.hil-request-container.rejected .expand-icon {
    color: inherit;
    opacity: 0.6;
}

.select-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border: 1px solid #edf2f7;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.workflow-select {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #334155;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.workflow-select:hover {
    border-color: #cbd5e1;
}

.workflow-select:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 2px rgba(25, 118, 210, 0.1);
}

.play-button {
    min-width: 40px;
    height: 36px;
    padding: 0;
    background: #1976d2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.play-button:hover {
    background: #1565c0;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

#workflow-selector-container {
    margin: 1rem 0;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.consent-action-header {
    font-size: 0.95rem;
    color: #1976d2;
    font-weight: 500;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.consent-warning {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    margin: 1rem 0;
    background: #fff8e6;
    border: 1px solid #ffd480;
    border-radius: 4px;
    color: #b45309;
    font-size: 0.9rem;
}

.consent-warning .material-icons {
    font-size: 1.1rem;
}