/* MY COACH DEDICATED STYLES - Complete independence from Ask Question Chat */

/* Welcome Screen Container */
.my-coach-welcome {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40vh !important;
    padding: 1rem 2rem 1rem 2rem !important;
    margin-top: 10px !important;
    text-align: center !important;
    background: transparent !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Content Wrapper */
.my-coach-content {
    max-width: 500px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Title Styling */
.my-coach-title {
    font-size: 2.2rem !important;
    font-weight: 600 !important;
    color: #2d3748 !important;
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

/* Subtitle Styling */
.my-coach-subtitle {
    font-size: 1.1rem !important;
    color: #718096 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
}

/* Action Buttons Container */
.my-coach-actions {
    display: flex !important;
    gap: 1rem !important;
    justify-content: center !important;
    margin-bottom: 3rem !important;
    flex-wrap: wrap !important;
}

/* Outline Button */
.my-coach-btn-outline {
    border: 2px solid #667eea !important;
    color: #667eea !important;
    background: transparent !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 25px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
    font-size: 0.95rem !important;
}

.my-coach-btn-outline:hover {
    background: #667eea !important;
    color: white !important;
    transform: translateY(-2px) !important;
    text-decoration: none !important;
}

/* Solid Button */
.my-coach-btn-solid {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: none !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 25px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
    font-size: 0.95rem !important;
}

.my-coach-btn-solid:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3) !important;
    color: white !important;
    text-decoration: none !important;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .my-coach-welcome {
        padding: 0.5rem 1rem 1rem 1rem !important;
        margin-top: 5px !important;
    }
    
    .my-coach-title {
        font-size: 1.8rem !important;
    }
    
    .my-coach-subtitle {
        font-size: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .my-coach-actions {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0.75rem !important;
    }
    
    .my-coach-btn-outline, 
    .my-coach-btn-solid {
        width: 200px !important;
        padding: 0.875rem 1.5rem !important;
        justify-content: center !important;
    }
}

/* Override any conflicting styles */
.chat-panel .my-coach-welcome,
.business-hub .my-coach-welcome,
div[class*="panel"] .my-coach-welcome {
    display: flex !important;
}

/* Ensure proper display hierarchy */
#welcome-screen.my-coach-welcome {
    display: flex !important;
    z-index: 1 !important;
}

/* INPUT AREA STYLING - Complete independence from other interfaces */

/* Input Container Styling */
.clean-input-container {
    display: flex !important;
    align-items: center !important;
    background: white !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 25px !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: border-color 0.2s ease !important;
    box-shadow: none !important;
}

/* Welcome Input Area Specific */
.welcome-input-area {
    margin-top: 0 !important;
    padding: 0 !important;
}

.welcome-input-area .clean-input-container {
    margin: 0 !important;
}

.clean-input-container:focus-within {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

/* Input Group */
.clean-input-group {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    gap: 0 !important;
}

/* Attach and Settings Buttons */
.attach-btn, .settings-btn {
    background: none !important;
    border: none !important;
    color: #718096 !important;
    padding: 0.5rem !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    cursor: pointer !important;
    font-size: 1rem !important;
}

.attach-btn:hover, .settings-btn:hover {
    background: #f7fafc !important;
    color: #667eea !important;
    transform: scale(1.05) !important;
}

/* Message Input Field */
.clean-message-input {
    flex: 1 !important;
    border: none !important;
    outline: none !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    background: transparent !important;
    color: #2d3748 !important;
    min-height: 44px !important;
}

.clean-message-input::placeholder {
    color: #a0aec0 !important;
    font-style: normal !important;
}

.clean-message-input:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Send Button */
.send-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    margin-right: 0.25rem !important;
    transition: all 0.3s ease !important;
    font-size: 1rem !important;
}

.send-btn:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%) !important;
    transform: scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
}

.send-btn:active {
    transform: scale(0.95) !important;
}

/* File Preview Area */
.file-preview-container {
    margin: 0.5rem 1rem !important;
    padding: 0.75rem !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
}

.file-preview-item {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.file-info {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    flex: 1 !important;
}

.file-icon {
    color: #667eea !important;
    font-size: 1.2rem !important;
}

.file-details {
    display: flex !important;
    flex-direction: column !important;
}

.file-name {
    font-weight: 500 !important;
    color: #2d3748 !important;
    font-size: 0.9rem !important;
}

.file-size {
    font-size: 0.8rem !important;
    color: #718096 !important;
}

.remove-file-btn {
    background: #fed7d7 !important;
    color: #c53030 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 0.7rem !important;
    transition: background 0.2s ease !important;
}

.remove-file-btn:hover {
    background: #fed7d7 !important;
    transform: scale(1.1) !important;
}

/* DESKTOP AUTO-EXPANDING CHAT CONTAINER */
@media (min-width: 769px) {
    /* Make chat panel auto-expand vertically */
    .chat-panel {
        height: auto !important;
        min-height: 600px !important;
        max-height: none !important;
        overflow-y: auto !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Chat messages area should expand with content */
    #chat-messages {
        flex: 1 !important;
        height: auto !important;
        min-height: 400px !important;
        max-height: none !important;
        overflow-y: auto !important;
        padding: 1rem !important;
    }
    
    /* Welcome screen should also be flexible */
    .my-coach-welcome {
        height: auto !important;
        min-height: 500px !important;
        max-height: none !important;
        overflow-y: visible !important;
    }
    
    /* Business Hub container should accommodate growth */
    .business-hub-container {
        height: auto !important;
        min-height: 100vh !important;
        max-height: none !important;
    }
    
    /* Desktop panels should auto-expand */
    .desktop-business-hub .col-md-4 {
        height: auto !important;
        min-height: 600px !important;
        max-height: none !important;
    }
    
    /* Input area stays at bottom */
    .clean-input-form {
        margin-top: auto !important;
        flex-shrink: 0 !important;
    }
    
    /* Remove fixed heights from desktop layout */
    .horizontal-scrolling-container {
        height: auto !important;
        min-height: calc(100vh - 100px) !important;
        max-height: none !important;
    }
}

/* Mobile Responsive Input Area */
@media (max-width: 768px) {
    .clean-input-container {
        margin: 0.5rem !important;
        border-radius: 20px !important;
    }
    
    .attach-btn, .settings-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.9rem !important;
    }
    
    .send-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
    }
    
    .clean-message-input {
        font-size: 0.95rem !important;
        padding: 0.6rem 0.8rem !important;
    }
    

}