/* HelpMe AI Tools Frontend Styles - White Theme Chatbot */

.helpme-ai-chatbot {
    max-width: 1000px;
    margin: 2rem auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    display: flex;
    flex-direction: column;
    height: 85vh;
    min-height: 700px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.helpme-ai-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: #ffffff;
    border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0;
}

.helpme-ai-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.helpme-ai-header h3::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #e5e7eb;
    border-radius: 50%;
    display: inline-block;
}

.helpme-ai-header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.helpme-ai-credits {
    font-size: 0.75rem;
    color: #374151;
    background: #f9fafb;
    padding: 0.375rem 0.75rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

/* Credit Display Styles */
.helpme-ai-credits-info {
    margin-bottom: 15px;
    padding: 10px 15px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #374151;
    text-align: center;
}

.helpme-ai-credits-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.helpme-ai-credits-label {
    color: #374151;
    text-shadow: none;
}

.helpme-ai-cost-label {
    color: #6b7280;
    font-size: 12px;
    opacity: 0.9;
}

.helpme-ai-refresh-credits-btn {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 8px;
}

.helpme-ai-refresh-credits-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: scale(1.05);
}

/* Chat History */
.helpme-ai-chat-history {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem 2rem;
    background: #ffffff;
    position: relative;
}

.helpme-ai-welcome-message {
    text-align: center;
    padding: 3rem 2rem;
    color: #6b7280;
}

.helpme-ai-welcome-icon {
    margin-bottom: 1rem;
    color: #9ca3af;
}

.helpme-ai-welcome-message h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
}

.helpme-ai-welcome-message p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

.helpme-ai-message {
    display: flex;
    margin-bottom: 1.5rem;
    animation: slideIn 0.3s ease-out;
}

.helpme-ai-message-user {
    justify-content: flex-end;
}

.helpme-ai-message-ai {
    justify-content: flex-start;
}

.helpme-ai-message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
    margin: 0 0.75rem;
}

.helpme-ai-message-user .helpme-ai-message-avatar {
    background: #111827;
    color: white;
    order: 2;
}

.helpme-ai-message-ai .helpme-ai-message-avatar {
    background: #f3f4f6;
    color: #6b7280;
}

.helpme-ai-message-content-wrapper {
    max-width: 70%;
    position: relative;
}

.helpme-ai-message-bubble {
    padding: 1rem 1.25rem;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
    line-height: 1.5;
}

.helpme-ai-message-user .helpme-ai-message-bubble {
    background: #f3f4f6;
    color: #111827;
    border-bottom-right-radius: 4px;
}

.helpme-ai-message-ai .helpme-ai-message-bubble {
    background: #f9fafb;
    color: #000000;
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 4px;
}

.helpme-ai-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    opacity: 0.8;
}

.helpme-ai-message-user .helpme-ai-message-header {
    text-align: right;
}

.helpme-ai-message-ai .helpme-ai-message-header {
    text-align: left;
}

.helpme-ai-message-image {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.helpme-ai-message-content {
    margin: 0;
    white-space: pre-wrap;
}

.helpme-ai-message-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.helpme-ai-message:hover .helpme-ai-message-actions {
    opacity: 1;
}

.helpme-ai-btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 4px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s ease;
}

.helpme-ai-btn-sm:hover {
    background: rgba(255, 255, 255, 1);
    color: #374151;
}

.helpme-ai-message {
    position: relative;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.helpme-ai-chat-history::-webkit-scrollbar {
    width: 6px;
}

.helpme-ai-chat-history::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.helpme-ai-chat-history::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.helpme-ai-chat-history::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Enhanced Upload Section */
.helpme-ai-upload-section {
    padding: 1.5rem 2rem;
    background: #ffffff;
    border-top: 1px solid #f3f4f6;
    flex-shrink: 0;
}

.helpme-ai-upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafafa;
    position: relative;
    margin-bottom: 1rem;
}

.helpme-ai-upload-area:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

.helpme-ai-upload-area.drag-over {
    border-color: #9ca3af;
    background: #f3f4f6;
    transform: scale(1.02);
}

.helpme-ai-upload-area.has-file {
    border-color: #9ca3af;
    background: #f9fafb;
    border-style: solid;
}

.helpme-ai-upload-area.has-file::before {
    content: '✓';
    position: absolute;
    top: -8px;
    right: -8px;
    background: #111827;
    color: #ffffff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.helpme-ai-upload-area.has-file .helpme-ai-upload-text,
.helpme-ai-upload-area.has-file .helpme-ai-upload-hint {
    color: #374151;
    font-weight: 500;
}

.helpme-ai-upload-icon {
    margin-bottom: 1rem;
    color: #6b7280;
}

.helpme-ai-upload-area:hover .helpme-ai-upload-icon {
    color: #4b5563;
}

.helpme-ai-upload-text {
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    margin: 0 0 0.5rem 0;
}

.helpme-ai-upload-hint {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

/* Enhanced Input Section */
.helpme-ai-input-section {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.helpme-ai-input-wrapper {
    flex: 1;
    position: relative;
}

.helpme-ai-input-field {
    width: 100%;
    min-height: 60px;
    max-height: 120px;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #000000;
    background: #ffffff;
    resize: vertical;
    transition: all 0.3s ease;
}

.helpme-ai-input-field:focus {
    outline: none;
    border-color: #9ca3af;
    box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.2);
}

.helpme-ai-input-field::placeholder {
    color: #9ca3af;
}

.helpme-ai-input-actions {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.helpme-ai-file-upload-btn {
    background: none;
    border: none;
    color: #374151;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.helpme-ai-file-upload-btn:hover {
    background: #f3f4f6;
    color: #111827;
}

.helpme-ai-file-upload-btn.has-file {
    background: #f3f4f6;
    color: #374151;
    position: relative;
}

.helpme-ai-file-upload-btn.has-file::after {
    content: '✓';
    position: absolute;
    top: -2px;
    right: -2px;
    background: #111827;
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.helpme-ai-file-upload-btn svg {
    width: 20px;
    height: 20px;
}

.helpme-ai-send-btn {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #111827;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
}

.helpme-ai-send-btn:hover:not(:disabled) {
    background: #f3f4f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.helpme-ai-send-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.helpme-ai-send-btn svg {
    width: 20px;
    height: 20px;
}

.helpme-ai-prompt-section {
    margin-bottom: 1rem;
}

.helpme-ai-prompt-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.helpme-ai-prompt-section textarea {
    width: 100%;
    min-height: 80px;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #000000;
    background: #ffffff;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.helpme-ai-prompt-section textarea:focus {
    outline: none;
    border-color: #9ca3af;
    box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.2);
}

.helpme-ai-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
}

.helpme-ai-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.helpme-ai-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.helpme-ai-btn-primary {
    background: #ffffff;
    color: #111827;
    border: 1px solid #e5e7eb;
}

.helpme-ai-btn-primary:hover:not(:disabled) {
    background: #f3f4f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.helpme-ai-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.helpme-ai-btn-secondary:hover:not(:disabled) {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.helpme-ai-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #6b7280;
}

.helpme-ai-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f4f6;
    border-top: 3px solid #9ca3af;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

.helpme-ai-loading p {
    margin: 0;
    font-size: 0.875rem;
    text-align: center;
}

.helpme-ai-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.helpme-ai-error::before {
    content: '⚠';
    font-size: 1rem;
}

.helpme-ai-access-denied {
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #92400e;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 0.875rem;
}

.helpme-ai-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    max-width: 300px;
}

.helpme-ai-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.helpme-ai-toast-success {
    background: #10b981;
}

.helpme-ai-toast-error {
    background: #ef4444;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .helpme-ai-chatbot {
        margin: 1rem;
        height: calc(100vh - 2rem);
        min-height: 600px;
    }
    
    .helpme-ai-header {
        padding: 1rem 1.5rem;
    }
    
    .helpme-ai-header-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .helpme-ai-chat-history {
        padding: 1rem 1.5rem;
    }
    
    .helpme-ai-upload-section {
        padding: 1rem 1.5rem;
    }
    
    .helpme-ai-upload-area {
        padding: 1.5rem;
    }
    
    .helpme-ai-message-content-wrapper {
        max-width: 85%;
    }
    
    .helpme-ai-message-image {
        max-height: 200px;
    }
    
    .helpme-ai-btn {
        padding: 0.625rem 1.25rem;
    }
    
    .helpme-ai-toast {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .helpme-ai-chatbot {
        background: #1f2937;
        border-color: #374151;
    }
    
    .helpme-ai-header h3 {
        color: #f9fafb;
    }
    
    .helpme-ai-upload-text {
        color: #d1d5db;
    }
    
    .helpme-ai-upload-hint {
        color: #9ca3af;
    }
    
    .helpme-ai-prompt-section textarea {
        background: #374151;
        color: #f9fafb;
        border-color: #4b5563;
    }
    
    .helpme-ai-result {
        background: #374151;
    }
    
    .helpme-ai-result-content {
        color: #f9fafb;
    }
}

@media (max-width: 768px) {
    .helpme-ai-credits-display {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* PDF Analyzer Styles */
.helpme-ai-tools-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.helpme-ai-tools-header {
    background: #ffffff;
    color: #1f2937;
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.helpme-ai-tools-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 700;
}

.helpme-ai-tools-header p {
    margin: 0 0 20px 0;
    font-size: 16px;
    opacity: 0.9;
}

.helpme-ai-credits-display {
    background: #f9fafb;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #e5e7eb;
}

.helpme-ai-tools-content {
    padding: 30px;
}

.form-group {
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.form-group input[type="file"],
.form-group input[type="url"],
.form-group input[type="number"],
.form-group select {
    width: 100%;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #9ca3af;
    box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.2);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #6b7280;
    font-size: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 500px;
}

.source-section {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

#url-section.valid-url {
    border-color: #10b981;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
}

#url-section.invalid-url {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fff8f8 0%, #f5e8e8 100%);
}

.help-text {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
}

.help-text.success {
    color: #10b981;
}

.help-text.error {
    color: #ef4444;
}

.form-actions {
    margin-top: 30px;
}

.btn-primary {
    background: #ffffff;
    color: #111827;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    background: #f3f4f6;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

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

.processing-status {
    text-align: center;
    padding: 40px 20px;
    background: #f9fafb;
    border-radius: 12px;
    margin: 20px 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #9ca3af;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

.error-container {
    margin: 20px 0;
}

.error-message {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 16px;
    color: #dc2626;
}

.error-icon {
    font-size: 20px;
}

.error-text {
    font-weight: 500;
}

.results-container {
    margin-top: 30px;
}

.results-header {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 30px;
    border-radius: 12px 12px 0 0;
}

.results-header h3 {
    margin: 0 0 15px 0;
    color: #374151;
    font-size: 24px;
}

.results-summary {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.summary-item {
    background: #f3f4f6;
    color: #374151;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.results-content {
    padding: 20px;
}

.page-result {
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-header {
    background: #f8fafc;
    padding: 15px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.page-header h4 {
    margin: 0;
    color: #374151;
    font-size: 18px;
    font-weight: 600;
}

.page-content {
    padding: 20px;
}

.detection-section,
.ocr-section {
    margin-bottom: 25px;
}

.detection-section h5,
.ocr-section h5 {
    margin: 0 0 15px 0;
    color: #374151;
    font-size: 16px;
    font-weight: 600;
}

.detection-results {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detection-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.object-class {
    font-weight: 600;
    color: #374151;
}

.confidence {
    background: #6b7280;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.ocr-text,
.ocr-predictions {
    margin-bottom: 20px;
}

.ocr-text h6,
.ocr-predictions h6 {
    margin: 0 0 10px 0;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
}

.text-content {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    white-space: pre-wrap;
}

.predictions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prediction-item {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prediction-text {
    font-weight: 500;
    color: #374151;
}

.prediction-confidence {
    background: #374151;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Mobile Responsive for PDF Analyzer */
@media (max-width: 768px) {
    .helpme-ai-tools-container {
        margin: 1rem;
        border-radius: 12px;
    }
    
    .helpme-ai-tools-header {
        padding: 20px;
    }
    
    .helpme-ai-tools-header h2 {
        font-size: 24px;
    }
    
    .helpme-ai-tools-content {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .results-summary {
        flex-direction: column;
        gap: 10px;
    }
    
    .detection-results {
        flex-direction: column;
    }
    
    .prediction-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
} 