/* Therapist Notes V3 - Enhanced Styles */

/* V3 Badge */
.v3-badge {
    position: fixed;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Setup Screen Styles */
.setup-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.setup-subtitle {
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
}

.storage-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.storage-option {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    transition: all 0.3s ease;
    cursor: pointer;
}

.storage-option:hover {
    border-color: #007cba;
    box-shadow: 0 4px 20px rgba(0,124,186,0.1);
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.option-header h3 {
    margin: 0;
    color: #333;
    font-size: 20px;
}

.privacy-badge {
    background: #28a745;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.sync-badge {
    background: #007cba;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
}

.option-benefits p,
.option-considerations p {
    margin: 8px 0;
    font-size: 14px;
}

.option-benefits p {
    color: #28a745;
}

.option-considerations p {
    color: #ffc107;
}

.setup-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 30px;
}

.setup-note {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
}

/* Cloud Setup Screen */
.cloud-setup-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.cloud-setup-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.sync-preferences {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.sync-preferences h3 {
    margin-top: 0;
    color: #333;
}

.checkbox-label {
    display: flex;
    align-items: center;
    margin: 10px 0;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 10px;
}

.cloud-setup-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Storage Indicator */
.storage-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.storage-mode {
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 500;
}

.sync-status {
    color: #28a745;
    font-size: 12px;
}

/* Enhanced Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-left h1 {
    margin: 0 0 5px 0;
    color: #333;
}

.header-right {
    display: flex;
    gap: 10px;
}

.icon-btn {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.icon-btn:hover {
    background: #007cba;
    color: white;
    border-color: #007cba;
}

/* Enhanced Tab Navigation */
.tab-nav {
    display: flex;
    background: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 0 20px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: #007cba;
    background: #f8f9fa;
}

.tab-btn.active {
    color: #007cba;
    border-bottom-color: #007cba;
    background: #f8f9fa;
}

/* Input Methods Enhancement */
.input-methods {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.input-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
}

.input-btn:hover {
    border-color: #007cba;
    background: #f0f8ff;
}

.input-btn.active {
    border-color: #007cba;
    background: #007cba;
    color: white;
}

/* AI Assistant Styles */
.ai-tools {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.ai-tool-btn {
    padding: 15px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    text-align: left;
}

.ai-tool-btn:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #f0f8ff 0%, #f8f0ff 100%);
}

.ai-output {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    min-height: 200px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Enhanced Notes List */
.note-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.note-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-color: #007cba;
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.note-date {
    color: #666;
    font-size: 12px;
}

.note-type {
    color: #007cba;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 8px;
}

.note-preview {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.note-actions {
    display: flex;
    gap: 10px;
}

.btn-small {
    padding: 6px 12px;
    font-size: 12px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-small:hover {
    background: #f8f9fa;
    border-color: #007cba;
}

/* Client Management */
.clients-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.client-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.2s ease;
}

.client-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.client-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.client-date {
    color: #666;
    font-size: 12px;
}

.client-actions {
    display: flex;
    gap: 10px;
}

/* Analytics Grid */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.analytics-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.2s ease;
}

.analytics-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.analytics-card h3 {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.metric {
    font-size: 36px;
    font-weight: bold;
    color: #007cba;
    margin-bottom: 5px;
}

.analytics-card p {
    margin: 0;
    color: #666;
    font-size: 12px;
}

/* AI Features Grid */
.ai-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ai-feature-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.2s ease;
}

.ai-feature-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.ai-feature-card h3 {
    margin: 0 0 15px 0;
    color: #333;
}

.ai-feature-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.ai-feature-card.active {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #2196f3;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
}

.ai-feature-card.active .ai-feature-btn {
    background: #2196f3;
    color: white;
    cursor: pointer;
}

.ai-feature-card.active .ai-feature-btn:hover {
    background: #1976d2;
}

.ai-feature-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.ai-feature-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Settings Modal Enhancement */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.modal-header h2 {
    margin: 0;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #e0e0e0;
    text-align: right;
}

.settings-section {
    margin-bottom: 30px;
}

.settings-section h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
}

.setting-item {
    margin-bottom: 20px;
}

.setting-item label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.setting-item select,
.setting-item input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 1001;
    animation: slideIn 0.3s ease;
}

.notification-success {
    background: #28a745;
}

.notification-error {
    background: #dc3545;
}

.notification-info {
    background: #007cba;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Enhanced Voice Input Styles */
.enhanced-voice-controls {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.recording-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.correction-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.btn-record, .btn-pause, .btn-resume, .btn-stop {
    padding: 12px 20px;
    border: 2px solid #007cba;
    background: white;
    color: #007cba;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-record:hover, .btn-pause:hover, .btn-resume:hover, .btn-stop:hover {
    background: #007cba;
    color: white;
}

.btn-record:disabled, .btn-pause:disabled, .btn-resume:disabled, .btn-stop:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-undo, .btn-clear-voice, .btn-save-audio {
    padding: 8px 16px;
    border: 1px solid #6c757d;
    background: white;
    color: #6c757d;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-undo:hover, .btn-clear-voice:hover, .btn-save-audio:hover {
    background: #6c757d;
    color: white;
}

.btn-undo:disabled, .btn-clear-voice:disabled, .btn-save-audio:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.voice-commands-help {
    background: #e3f2fd;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    border-left: 4px solid #2196f3;
}

.voice-commands-help small {
    color: #1976d2;
    font-weight: 500;
}

.recording-timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff3cd;
    padding: 10px 15px;
    border-radius: 6px;
    border-left: 4px solid #ffc107;
}

.recording-timer span {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 16px;
    color: #856404;
}

.voice-status {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
}

.voice-status.recording {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.voice-transcript {
    min-height: 200px;
    max-height: 400px;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    font-family: 'Georgia', serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-y: auto;
    resize: vertical;
    
    /* Ensure proper text display */
    text-transform: none !important;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.voice-transcript:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.voice-transcript .interim {
    color: #666;
    font-style: italic;
}

.premium-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

/* Responsive voice controls */
@media (max-width: 768px) {
    .recording-controls, .correction-controls {
        flex-direction: column;
    }
    
    .btn-record, .btn-pause, .btn-resume, .btn-stop {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .recording-timer {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}
@media (max-width: 768px) {
    .storage-options {
        grid-template-columns: 1fr;
    }
    
    .setup-actions {
        flex-direction: column;
    }
    
    .ai-tools {
        grid-template-columns: 1fr;
    }
    
    .analytics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-right {
        flex-wrap: wrap;
    }
    
    .tab-nav {
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .tab-btn {
        flex-shrink: 0;
    }
}

/* AI Assistant Styles */
.ai-result {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.ai-result h4 {
    color: #007cba;
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
}

.ai-content {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #007cba;
    font-family: 'Georgia', serif;
    line-height: 1.6;
    margin-bottom: 15px;
}

.ai-actions {
    display: flex;
    gap: 10px;
}

.ai-actions .btn-small {
    padding: 8px 16px;
    font-size: 14px;
    border: 1px solid #007cba;
    background: white;
    color: #007cba;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ai-actions .btn-small:hover {
    background: #007cba;
    color: white;
}

.ai-placeholder {
    color: #6c757d;
    font-style: italic;
    text-align: center;
    padding: 40px 20px;
}

.ai-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #dc3545;
}

.ai-success-notification {
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* AI Button Styles */
.ai-controls .btn-ai {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 5px;
}

.ai-controls .btn-ai:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.ai-controls .btn-ai:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsive AI Layout */
@media (max-width: 768px) {
    .ai-actions {
        flex-direction: column;
    }
    
    .ai-actions .btn-small {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* Note Management Styles */
.note-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    background: white;
    transition: box-shadow 0.2s;
}

.note-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.note-info {
    flex: 1;
}

.note-actions {
    display: flex;
    gap: 5px;
}

.note-actions .btn-small {
    padding: 4px 8px;
    font-size: 12px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.edit-note:hover {
    background: #e3f2fd;
    border-color: #2196f3;
}

.delete-note:hover {
    background: #ffebee;
    border-color: #f44336;
}

.note-date {
    color: #666;
    font-size: 12px;
    margin-left: 10px;
}

.note-type {
    color: #888;
    font-size: 12px;
    margin-bottom: 5px;
    text-transform: capitalize;
}

.note-preview {
    color: #555;
    font-size: 14px;
    line-height: 1.4;
}

.no-notes {
    text-align: center;
    color: #888;
    font-style: italic;
    padding: 20px;
}
/* Search Functionality Styles */
.notes-search {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

#notes-search {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    background: white;
}

#notes-search:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#clear-search {
    padding: 10px 15px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
}

#clear-search:hover {
    background: #e9ecef;
    border-color: #667eea;
}

.search-results h4 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 16px;
}
/* Client ID Display */
.client-info {
    margin: 5px 0;
}

.client-id {
    color: #666;
    font-size: 12px;
    font-family: monospace;
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
}
/* Note Templates */
.note-templates {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.note-templates span {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.template-btn {
    padding: 4px 8px;
    font-size: 11px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.template-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}
/* Premium Feature Styling */
.premium-feature {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: none !important;
    position: relative;
    overflow: hidden;
}

.premium-feature:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.premium-feature::before {
    content: "⭐";
    position: absolute;
    top: 2px;
    right: 4px;
    font-size: 10px;
    opacity: 0.8;
}
/* Phase 2: Advanced Client Management */

/* Client Header Enhancements */
.client-actions-header {
    display: flex;
    gap: 15px;
    align-items: center;
}

.client-search-input {
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    width: 250px;
}

.client-search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Client Profile Modal */
.client-profile-content {
    max-width: 800px;
    width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
}

.client-profile-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.profile-tab-btn {
    padding: 12px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.profile-tab-btn.active {
    color: #667eea;
    border-bottom-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.profile-tab-btn:hover {
    background: rgba(102, 126, 234, 0.1);
}

/* Profile Form */
.profile-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Session Stats */
.session-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
}

/* Timeline */
.timeline-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.timeline-date {
    font-weight: 500;
    color: #667eea;
}

.timeline-type {
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* Progress Tracking */
.progress-metrics {
    margin-bottom: 25px;
}

.metric-item {
    margin-bottom: 15px;
}

.metric-item label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 500;
    color: white;
}

/* Goals Tracking */
.goals-container {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    min-height: 100px;
}

.goal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.goal-text {
    flex: 1;
}

.goal-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.goal-status.active {
    background: #e3f2fd;
    color: #1976d2;
}

.goal-status.completed {
    background: #e8f5e8;
    color: #2e7d32;
}

/* Enhanced Client Cards */
.client-item {
    border-left: 4px solid #e0e0e0;
    transition: all 0.3s;
}

.client-item:hover {
    border-left-color: #667eea;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.client-item.priority-high {
    border-left-color: #ff9800;
}

.client-item.priority-urgent {
    border-left-color: #f44336;
}

.client-item.status-inactive {
    opacity: 0.7;
}

.client-status-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

.status-active {
    background: #e8f5e8;
    color: #2e7d32;
}

.status-inactive {
    background: #fff3e0;
    color: #f57c00;
}

.status-discharged {
    background: #fce4ec;
    color: #c2185b;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .client-actions-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .client-search-input {
        width: 100%;
    }
}
/* Note Detail View */
.note-detail-view {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background: white;
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.note-header h5 {
    margin: 0;
    color: #333;
}

.note-date {
    color: #667eea;
    font-weight: 500;
}

.note-type {
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

.note-content {
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    min-height: 100px;
}

.note-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Enhanced Client Info */
.client-name-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.client-info {
    display: flex;
    gap: 15px;
    margin: 8px 0;
    flex-wrap: wrap;
}

.client-phone,
.client-email {
    font-size: 12px;
    color: #666;
}

/* No sessions message */
.no-sessions {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}
/* Client Autocomplete System */
.client-autocomplete-container {
    position: relative;
    display: flex;
    gap: 8px;
    align-items: center;
}

#client-autocomplete {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    background: white;
    transition: all 0.3s;
}

#client-autocomplete:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#client-autocomplete.has-selection {
    background: #e8f5e8;
    border-color: #4caf50;
}

.show-all-btn {
    padding: 10px 12px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
    transition: all 0.3s;
}

.show-all-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Unified Session Notes Interface */
.unified-session-notes {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.session-notes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.recording-mode-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
}

.record-btn {
    padding: 10px 20px;
    border: 2px solid #007cba;
    border-radius: 6px;
    background: white;
    color: #007cba;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.record-btn.primary {
    background: #007cba;
    color: white;
    font-size: 16px;
}

.record-btn.secondary.active {
    background: #f0f0f0;
    border-color: #ccc;
    color: #666;
}

.voice-controls-unified {
    text-align: center;
    margin: 20px 0;
}

.primary-controls {
    margin-bottom: 15px;
}

.enhanced-controls {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    border: 2px solid #e9ecef;
}

.secondary-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.voice-btn-enhanced {
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #007cba;
    border-radius: 4px;
    background: white;
    color: #007cba;
    cursor: pointer;
    transition: all 0.2s ease;
}

.voice-btn-enhanced:hover:not(:disabled) {
    background: #007cba;
    color: white;
}

.voice-btn-enhanced:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.voice-commands-help {
    text-align: center;
    color: #666;
    font-style: italic;
}

.voice-btn-large {
    padding: 15px 30px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.voice-btn-large:first-child {
    background: #28a745;
    color: white;
}

.voice-btn-large:disabled {
    background: #dc3545;
    color: white;
}

.voice-transcript-unified {
    min-height: 150px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    font-family: inherit;
    line-height: 1.5;
}

.unified-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.client-selection-unified {
    position: relative;
}

.client-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 60px; /* Leave space for show-all button */
    background: white;
    border: 2px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.client-dropdown-item {
    padding: 12px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.client-dropdown-item:hover {
    background: #f8f9fa;
}

.client-dropdown-item.highlighted {
    background: #667eea;
    color: white;
}

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

.client-dropdown-name {
    font-weight: 500;
}

.client-dropdown-info {
    font-size: 12px;
    color: #666;
    display: flex;
    gap: 10px;
}

.client-dropdown-item.highlighted .client-dropdown-info {
    color: rgba(255,255,255,0.8);
}

.client-dropdown-item.create-new {
    background: #e3f2fd;
    color: #1976d2;
    font-weight: 500;
}

.client-dropdown-item.create-new:hover {
    background: #1976d2;
    color: white;
}

.no-clients-found {
    padding: 15px;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Selected client indicator */
.selected-client-display {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #e8f5e8;
    border: 1px solid #4caf50;
    border-radius: 6px;
    margin-top: 8px;
}

.selected-client-display.visible {
    display: flex;
}

.selected-client-name {
    font-weight: 500;
    color: #2e7d32;
}

.clear-selection-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 2px;
    border-radius: 3px;
}

.clear-selection-btn:hover {
    background: rgba(0,0,0,0.1);
}
/* Dropdown separator */
.dropdown-separator {
    border-top: 1px solid #e0e0e0;
    margin: 5px 0;
    height: 1px;
}

/* Improved client search in Clients tab */
.clients-header h2 {
    transition: all 0.3s ease;
}

/* Better visual feedback for autocomplete */
#client-autocomplete::placeholder {
    color: #999;
    font-style: italic;
}
/* Treatment Goals Styling */
.goal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 10px;
    background: white;
    transition: all 0.3s;
}

.goal-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.goal-item.status-completed {
    background: #e8f5e8;
    border-color: #4caf50;
}

.goal-item.status-paused {
    background: #fff3e0;
    border-color: #ff9800;
    opacity: 0.8;
}

.goal-content {
    flex: 1;
}

.goal-text {
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.4;
}

.goal-meta {
    font-size: 12px;
    color: #666;
}

.goal-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.goal-status-select {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 12px;
    background: white;
}

.no-goals {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 6px;
}

/* Progress Metrics Enhancement */
.progress-metrics .metric-item {
    position: relative;
}

.progress-bar {
    position: relative;
}

.progress-text {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 11px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Enhanced Timeline Items */
.timeline-item {
    transition: all 0.3s;
}

.timeline-item:hover {
    background: #f8f9fa;
    border-radius: 6px;
}

.timeline-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.timeline-actions {
    display: flex;
    gap: 6px;
}
/* Analytics Dashboard */
.analytics-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.analytics-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.analytics-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s;
}

.analytics-card:hover {
    transform: translateY(-2px);
}

.card-icon {
    font-size: 24px;
    opacity: 0.9;
}

.card-number {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 4px;
}

.card-label {
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Charts Section */
.analytics-charts {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.chart-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.chart-container h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 16px;
}

/* Simple Bar Chart */
.chart-placeholder {
    height: 200px;
    position: relative;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
}

.chart-bars {
    display: flex;
    align-items: end;
    height: 140px;
    gap: 8px;
    margin-bottom: 10px;
}

.chart-bar {
    background: linear-gradient(to top, #667eea, #764ba2);
    border-radius: 4px 4px 0 0;
    flex: 1;
    min-height: 10px;
    transition: all 0.3s;
    position: relative;
}

.chart-bar:hover {
    opacity: 0.8;
}

.chart-bar-value {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 500;
    color: #333;
}

.chart-labels {
    display: flex;
    gap: 8px;
}

.chart-label {
    flex: 1;
    text-align: center;
    font-size: 11px;
    color: #666;
}

/* Session Types Grid */
.session-types-grid {
    display: grid;
    gap: 12px;
}

.session-type-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.session-type-name {
    font-weight: 500;
}

.session-type-count {
    background: #667eea;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* Client Status Overview */
.client-status-overview {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-indicator.active {
    background: #4caf50;
}

.status-indicator.high-priority {
    background: #ff9800;
}

.status-indicator.inactive {
    background: #9e9e9e;
}

.status-label {
    flex: 1;
    font-weight: 500;
}

.status-count {
    background: #667eea;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

/* Recent Activity */
.recent-activity {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.activity-list {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.activity-content {
    flex: 1;
}

.activity-text {
    font-weight: 500;
    margin-bottom: 2px;
}

.activity-time {
    font-size: 12px;
    color: #666;
}

@media (max-width: 768px) {
    .analytics-charts {
        grid-template-columns: 1fr;
    }
    
    .analytics-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .status-grid {
        grid-template-columns: 1fr;
    }
}
/* Premium Feature Gating */
.premium-preview-overlay {
    position: relative;
}

.preview-blur {
    filter: blur(2px);
    opacity: 0.6;
    pointer-events: none;
}

.premium-upgrade-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.upgrade-content h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.upgrade-content p {
    margin: 0 0 20px 0;
    opacity: 0.9;
    font-size: 16px;
}

.upgrade-btn {
    background: white;
    color: #667eea;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Gravity Forms Integration Styles */
.connection-status {
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.connection-status.success {
    background: #d4edda;
    color: #155724;
}

.connection-status.error {
    background: #f8d7da;
    color: #721c24;
}

.connection-status.info {
    background: #d1ecf1;
    color: #0c5460;
}

.form-mappings {
    margin: 15px 0;
}

.mapping-item {
    margin-bottom: 15px;
}

.mapping-item label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.mapping-item select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.export-options {
    margin: 15px 0;
}

.export-options label {
    display: block;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}

.export-options label:hover {
    background: #f8f9fa;
}

.export-options input[type="radio"] {
    margin-right: 8px;
}
.premium-feature {
    position: relative;
}

.premium-feature::after {
    content: "⭐ PREMIUM";
    position: absolute;
    top: 18px;
    right: 0px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    color: white;
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Client Profile Premium Badge */
.client-item .btn-small.premium-gated {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.client-item .btn-small.premium-gated:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Free Tier Limitations Notice */
.free-tier-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 10px 15px;
    border-radius: 6px;
    margin: 10px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.free-tier-notice .upgrade-link {
    color: #667eea;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

.free-tier-notice .upgrade-link:hover {
    color: #5a6fd8;
}
/* Fix Notification Visibility */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.notification.success {
    background: #4caf50;
}

.notification.error {
    background: #f44336;
}

.notification.warning {
    background: #ff9800;
    color: #333;
}

.notification.info {
    background: #2196f3;
}

/* Premium upgrade hints */
.premium-upgrade-hint {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    text-align: center;
}

.upgrade-link {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 5px;
}

.upgrade-link:hover {
    background: rgba(255,255,255,0.3);
}
/* Gravity Forms Templates - Replace textarea like Quick Templates */
.gravity-form-container {
    background: linear-gradient(135deg, #f8faff 0%, #e8f0ff 100%);
    border: 2px solid #667eea;
    border-radius: 8px;
    padding: 15px;
    min-height: 300px; /* Same height as textarea */
}

.gravity-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.gravity-form-header h4 {
    color: #667eea;
    margin: 0;
    font-size: 16px;
}

.back-to-notes-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.back-to-notes-btn:hover {
    background: #5a6268;
}

.gravity-fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    margin-bottom: 15px;
}

.gravity-field-compact {
    background: white;
    border-radius: 6px;
    padding: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.gravity-field-compact label {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
    color: #555;
    font-size: 11px;
}

.field-input-group {
    display: flex;
    gap: 4px;
}

.gravity-field-input {
    flex: 1;
    min-height: 35px;
    padding: 4px 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
    font-size: 11px;
    font-family: inherit;
}

.voice-btn-compact {
    background: #667eea;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 12px;
    min-width: 35px;
    transition: all 0.2s;
}

.voice-btn-compact:hover {
    background: #5a67d8;
    transform: scale(1.05);
}

.voice-btn-compact:active {
    background: #4c51bf;
    transform: scale(0.95);
}

.gravity-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.gravity-actions button {
    font-size: 12px;
    padding: 6px 12px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .gravity-fields-grid {
        grid-template-columns: 1fr;
    }
    
    .gravity-form-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .gravity-actions {
        flex-direction: column;
    }
}

/* Future extensibility for other form types */
.gravity-form-container[data-form-type="contact-form-7"] {
    border-color: #ff6b6b;
}

.gravity-form-container[data-form-type="wpforms"] {
    border-color: #4ecdc4;
}

.gravity-form-container[data-form-type="formidable"] {
    border-color: #45b7d1;
}
/* License Manager - Upgrade Modal */
.upgrade-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.upgrade-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.upgrade-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.upgrade-header h3 {
    margin: 0;
}

.close-upgrade {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upgrade-body {
    padding: 20px;
}

.upgrade-body ul {
    margin: 15px 0;
    padding-left: 20px;
}

.upgrade-body li {
    margin: 8px 0;
}

.demo-keys {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #667eea;
}

.demo-keys code {
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    margin: 0 5px;
}

.upgrade-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.upgrade-footer button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.upgrade-footer .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.upgrade-footer .btn-secondary {
    background: #6c757d;
    color: white;
}
/* Enhanced Voice Controls for Gravity Forms only */
.gravity-field-input + .enhanced-voice-controls {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 6px;
    padding: 10px;
    margin-top: 5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
    animation: slideDown 0.3s ease-out;
}

.voice-controls-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 12px;
}

.close-controls {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.voice-controls-body {
    display: flex;
    gap: 5px;
    margin-bottom: 8px;
}

.voice-control-btn {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 10px;
    flex: 1;
    transition: all 0.2s;
}

.voice-control-btn:hover {
    background: rgba(255,255,255,0.3);
}

.voice-commands-hint {
    text-align: center;
    opacity: 0.8;
    font-size: 10px;
}

.gravity-field-compact {
    position: relative;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Diamond AI Styles */
.diamond-modal .modal-content {
    max-width: 800px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #2196f3;
}

.diamond-modal .modal-header {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: white;
}

.soap-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    line-height: 1.6;
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
}

.processing-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.processing-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2196f3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.processing-message {
    color: #333;
    font-weight: 500;
}

.diamond-feature {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%) !important;
    border: none !important;
    color: white !important;
    position: relative;
}

.diamond-feature::before {
    content: "💎";
    margin-right: 5px;
}
/* Progress Tracking Styles */
.diamond-progress-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #2196f3;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.progress-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.progress-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
}

.progress-card h4 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 0.9em;
}

.trend.improving { color: #28a745; font-weight: bold; }
.trend.declining { color: #dc3545; font-weight: bold; }
.trend.stable { color: #ffc107; font-weight: bold; }

.risk-level.low { color: #28a745; }
.risk-level.medium { color: #ffc107; }
.risk-level.high { color: #dc3545; }

.ai-insights {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #9c27b0;
}

.ai-insights ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.progress-modal .modal-content {
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
}

.progress-report {
    line-height: 1.6;
}

.report-header {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.trend-grid {
    display: grid;
    gap: 10px;
}

.trend-item {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 4px;
}

.trend-change.decreasing { color: #28a745; }
.trend-change.increasing { color: #dc3545; }

.goal-item {
    margin-bottom: 15px;
}

.goal-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.goal-status.achieved { color: #28a745; font-weight: bold; }
.goal-status.in-progress { color: #ffc107; font-weight: bold; }
.goal-status.not-started { color: #6c757d; }

.progress-bar {
    background: #e9ecef;
    border-radius: 10px;
    height: 20px;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, #28a745, #20c997);
    height: 100%;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8em;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}
/* Treatment Suggestions Styles */
.diamond-widget {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid #ff9800;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.widget-header h4 {
    margin: 0;
    color: #e65100;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.8em;
}

.treatment-modal .modal-content {
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
}

.treatment-report {
    line-height: 1.6;
}

.report-header {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #ff9800;
}

.interventions-section, .homework-section, .next-session-section, .risk-section, .referrals-section {
    margin-bottom: 20px;
}

.intervention-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #2196f3;
}

.intervention-item h5 {
    margin: 0 0 8px 0;
    color: #1976d2;
}

.intervention-item p {
    margin: 5px 0;
    font-size: 0.9em;
}

.homework-section, .next-session-section, .risk-section, .referrals-section {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.homework-section h4 { color: #4caf50; }
.next-session-section h4 { color: #2196f3; }
.risk-section h4 { color: #f44336; }
.referrals-section h4 { color: #9c27b0; }

.homework-section ul, .next-session-section ul, .risk-section ul, .referrals-section ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.homework-section li, .next-session-section li, .risk-section li, .referrals-section li {
    margin-bottom: 5px;
}
/* Risk Assessment Styles */
.risk-indicator {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border: 2px solid #f44336;
}

.risk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.risk-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
}

.risk-badge.low { background: #4caf50; color: white; }
.risk-badge.moderate { background: #ff9800; color: white; }
.risk-badge.high { background: #f44336; color: white; }

.btn-warning {
    background: #ff9800;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.btn-danger {
    background: #f44336;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.risk-modal .modal-content {
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
}

.risk-summary {
    background: #ffebee;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.risk-factor-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #f44336;
}

.severity.high { color: #f44336; font-weight: bold; }
.severity.moderate { color: #ff9800; font-weight: bold; }
.severity.low { color: #4caf50; font-weight: bold; }

.protective-factors-section {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #4caf50;
}

.immediate-actions-section {
    background: #fff3e0;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #ff9800;
}

.safety-plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.safety-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
}

.safety-item h5 {
    margin: 0 0 10px 0;
    color: #1976d2;
}

.follow-up-section {
    background: #f3e5f5;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #9c27b0;
}

.risk-alert {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.alert-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.alert-actions button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
}
/* Clinical Insights Styles */
.clinical-insights-container {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border: 2px solid #9c27b0;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.insight-card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #9c27b0;
}

.insight-card h4 {
    margin: 0 0 8px 0;
    color: #7b1fa2;
    font-size: 0.9em;
}

.insight-card p {
    margin: 0;
    font-size: 0.85em;
    color: #666;
}

.btn-info {
    background: #2196f3;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.insights-modal .modal-content {
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
}

.insights-report {
    line-height: 1.6;
}

.pattern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.pattern-category {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
}

.pattern-category h5 {
    margin: 0 0 10px 0;
    color: #1976d2;
}

.diagnostic-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #ff9800;
}

.diagnostic-item h5 {
    margin: 0 0 15px 0;
    color: #f57c00;
}

.confidence {
    font-size: 0.8em;
    color: #666;
    font-weight: normal;
}

.diagnostic-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.supporting-evidence, .differential-considerations {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
}

.supporting-evidence h6, .differential-considerations h6 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 0.9em;
}

.comorbidity-section {
    background: #fff3e0;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid #ff9800;
}

.treatment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.effective-interventions {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #4caf50;
}

.challenging-areas {
    background: #ffebee;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #f44336;
}

.treatment-recommendations {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #2196f3;
}

.prognosis-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.positive-factors {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #4caf50;
}

.concerning-factors {
    background: #fff3e0;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ff9800;
}

.clinical-recommendations-section {
    background: #f3e5f5;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #9c27b0;
}

.effective-interventions h5 { color: #388e3c; }
.challenging-areas h5 { color: #d32f2f; }
.treatment-recommendations h5 { color: #1976d2; }
.positive-factors h5 { color: #388e3c; }
.concerning-factors h5 { color: #f57c00; }
.clinical-recommendations-section h4 { color: #7b1fa2; }
/* Unified Diamond AI Dashboard Styles */
.diamond-ai-dashboard {
    margin-bottom: 30px;
}

.diamond-ai-dashboard .client-status-overview {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border: 2px solid #9c27b0;
    border-radius: 12px;
    padding: 20px;
}

.diamond-ai-dashboard h3 {
    color: #7b1fa2;
    margin-bottom: 20px;
    font-size: 1.2em;
}

.diamond-feature-item {
    cursor: pointer;
    transition: all 0.3s ease;
}

.diamond-feature-item:hover {
    background: rgba(156, 39, 176, 0.1);
    transform: translateY(-2px);
}

/* Diamond AI Status Indicators */
.status-indicator.diamond-soap {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.status-indicator.diamond-progress {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}

.status-indicator.diamond-treatment {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.status-indicator.diamond-risk {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.status-indicator.diamond-risk.low {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}

.status-indicator.diamond-risk.moderate {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.status-indicator.diamond-risk.high {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.status-indicator.diamond-insights {
    background: linear-gradient(135deg, #9c27b0 0%, #7b1fa2 100%);
}

/* Diamond AI Quick Actions */
.diamond-quick-actions {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.diamond-quick-actions h4 {
    margin: 0 0 15px 0;
    color: #7b1fa2;
    font-size: 1em;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.diamond-action {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.diamond-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .diamond-ai-dashboard .status-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .diamond-action {
        width: 100%;
    }
}
/* Diamond Tier Preview Branding */
.preview-badge {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    font-size: 0.7em;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.diamond-tier-banner {
    background: linear-gradient(135deg, #9c27b0 0%, #673ab7 100%);
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.diamond-tier-banner h3 {
    margin: 0 0 8px 0;
    font-size: 1.2em;
}

.diamond-tier-banner p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9em;
}

.diamond-preview-notice {
    background: rgba(156, 39, 176, 0.1);
    border: 1px solid #9c27b0;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 15px;
}

.diamond-preview-notice p {
    margin: 0;
    color: #7b1fa2;
    font-size: 0.9em;
}

.diamond-preview-toast .toast-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9em;
}

.toast-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}

.toast-close:hover {
    opacity: 0.7;
}

/* Enhanced Diamond feature buttons */
.diamond-feature {
    position: relative;
    overflow: hidden;
}

.diamond-feature::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.diamond-feature:hover::after {
    left: 100%;
}
/* Floating Feedback Button (like V2) */
.feedback-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 24px;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    cursor: pointer;
}

.feedback-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(76, 175, 80, 0.5);
}

.feedback-btn:active {
    transform: translateY(0);
}

/* Feedback Modal */
#feedback-modal .modal-content {
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    margin: 2rem auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

#feedback-modal .modal {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

#feedback-modal .form-group {
    margin-bottom: 20px;
}

#feedback-modal label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

#feedback-modal input, 
#feedback-modal textarea, 
#feedback-modal select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

#feedback-modal input:focus, 
#feedback-modal textarea:focus, 
#feedback-modal select:focus {
    outline: none;
    border-color: #2196f3;
    box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

#feedback-modal textarea {
    height: 120px;
    resize: vertical;
}

#feedback-modal .rating {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#feedback-modal .rating label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

#feedback-modal .rating input {
    width: auto;
    margin-right: 8px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .feedback-btn {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    #feedback-modal .modal-content {
        margin: 10px;
        max-height: 95vh;
    }
}
