/* Patient View Styles */

#query-builder-content {
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 1;
}

#query-builder-content.collapsed {
    max-height: 0;
    opacity: 0;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.toggle-icon {
    transition: transform 0.3s ease-in-out;
}

.toggle-icon.collapsed {
    transform: rotate(-90deg);
}



/* Results section */
#results-content {
    transition: display 0.3s ease-in-out;
}

/* Loading spinner */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Error styling */
.alert-danger {
    border-left: 4px solid #dc3545;
    background-color: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 0.25rem;
}

/* Parameter and header rows */
.param-row, .header-row {
    transition: all 0.2s ease-in-out;
}

.param-row:hover, .header-row:hover {
    background-color: #f8f9fa;
    border-radius: 0.25rem;
}

/* Remove buttons */
.remove-param, .remove-header {
    transition: all 0.2s ease-in-out;
}

.remove-param:hover, .remove-header:hover {
    background-color: #dc3545;
    border-color: #dc3545;
    transform: scale(1.1);
}

/* Export button */
#export-results:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Query results pre element */
#query-results {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* URL display */
#query-url {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    word-break: break-all;
} 