/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
}

/* Live Transcription Toggle */
.live-transcription-toggle {
    padding: 10px;
    background-color: #e9f7fe;
    border-radius: 8px;
    margin-bottom: 15px !important;
}

/* Make the checkbox more prominent */
.prominent-checkbox {
    width: 1.5em !important;
    height: 1.5em !important;
    cursor: pointer;
}

.prominent-label {
    font-size: 1.1em;
    cursor: pointer;
}

/* Live transcription controls and status */
#live_transcription_status {
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #f0f8ff;
    border-left: 4px solid #0d6efd;
}

/* Live transcript textareas */
#therapist_live_transcript, #patient_live_transcript {
    border-left: 3px solid #0d6efd;
    background-color: #f8f9fa;
}

/* Add some breathing space to the feedback form */
#ai_feedback_form {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-top: 15px;
}

/* Rating stars styling */
.rating-container {
    display: flex;
    gap: 10px;
}

.rating-star {
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
}

/* Fix for star rating highlighting */
input[name="feedback_rating"]:checked + label .fa-star {
    font-weight: 900;
    color: #ffc107;
}

input[name="feedback_rating"]:checked + label i.far.fa-star {
    /* Replace with solid star when selected */
    font-weight: 900;
    content: "\f005";
    font-family: "Font Awesome 5 Free";
    color: #ffc107;
}

.rating-star:hover .fa-star,
.rating-star:hover ~ .rating-star .fa-star {
    color: #ffc107;
}

/* Add visual indication on hover */
label.rating-star:hover {
    transform: scale(1.2);
    transition: transform 0.2s;
}

/* Enhanced RAG System Styles */
.migration-step {
    transition: all 0.3s ease;
}

.migration-step:hover {
    background-color: #f8f9fa;
}

.migration-step h6 {
    color: #495057;
    font-weight: 600;
}

/* Keywords display styling */
#current_keywords .keyword-tag {
    display: inline-block;
    background-color: #e9ecef;
    color: #495057;
    padding: 0.25rem 0.5rem;
    margin: 0.125rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    border: 1px solid #ced4da;
}

#current_keywords .keyword-tag .remove-keyword {
    margin-left: 0.5rem;
    color: #dc3545;
    cursor: pointer;
    font-weight: bold;
}

#current_keywords .keyword-tag .remove-keyword:hover {
    color: #c82333;
}

/* Suggested keywords styling */
#suggested_keywords_list .suggested-keyword {
    display: inline-block;
    background-color: #d1ecf1;
    color: #0c5460;
    padding: 0.25rem 0.5rem;
    margin: 0.125rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    cursor: pointer;
    border: 1px solid #bee5eb;
    transition: all 0.2s ease;
}

#suggested_keywords_list .suggested-keyword:hover {
    background-color: #b8daff;
    border-color: #9fcdff;
    color: #004085;
}

/* Enhanced search results */
#enhanced_search_results .search-result {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background-color: #fff;
    transition: all 0.2s ease;
}

#enhanced_search_results .search-result:hover {
    border-color: #007bff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 123, 255, 0.075);
}

#enhanced_search_results .search-result-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 0.5rem;
}

#enhanced_search_results .search-result-meta {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

#enhanced_search_results .search-result-snippet {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Migration progress styling */
.migration-progress {
    background-color: #f8f9fa;
    border-radius: 0.375rem;
    padding: 1rem;
    margin-top: 0.5rem;
}

.migration-progress .progress {
    height: 1.5rem;
    margin-bottom: 0.5rem;
}

.migration-progress .progress-bar {
    font-size: 0.875rem;
    line-height: 1.5rem;
}

/* System status indicators */
.status-indicator {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-indicator.online {
    background-color: #28a745;
}

.status-indicator.offline {
    background-color: #dc3545;
}

.status-indicator.warning {
    background-color: #ffc107;
}

/* Card hover effects for enhanced sections */
#enhanced_documents .card:hover,
#migration .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Compact form styling for enhanced sections */
#enhanced_documents .form-label,
#migration .form-label {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

#enhanced_documents .form-control,
#enhanced_documents .form-select,
#migration .form-control,
#migration .form-select {
    font-size: 0.9rem;
}

/* Button group styling for migration tools */
.migration-tools .btn {
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .migration-step {
        padding: 1rem !important;
    }
    
    #enhanced_documents .col-md-6,
    #migration .col-md-4,
    #migration .col-md-8 {
        margin-bottom: 1rem;
    }
} 
