/* Custom Neon Design Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    /* preserve global padding-top from site nav; do not override padding here */
    /* background-color: #f4f4f4; */
}
.panel_container {
    display: flex;
    padding: 20px;
}
.left-outer {
    flex: 2; /* 66% */
    position: relative;
    width: 100%;
    height: 100%;
    
}
.no-frame {
    padding: 0;
}
.left-panel {
    
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border:1px solid #ddd;
    height: 732px;
    cursor: pointer;
}
.right-panel {
    height: 800px;
    flex: 1; /* 34% */
    /* background-color: #fff; */
    display: flex;
    flex-direction: column;
}
.chat-area {
    flex: 1;
    padding: 20px 10px 10px 10px; /* 20px top space */
    border: 1px solid #ddd;
    overflow-y: auto;
    border-bottom: 1px solid #ddd;
}
.input-area {
    display: flex;
    padding: 10px;
    padding-left: 0;
    padding-right: 0;
}

/* Assistant message styles */
.assistant-message {
    text-align: left;
    background-color: #f3f8fa;
    color: #0b556b;
    font-weight: 600;
} 
.input-area input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}
.send-btn {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 10px;
}
.upload-icon {
    width: 100px;
    height: 100px;
    cursor: pointer;
}
.upload-hint {
    display: none; /* hidden by default */
    text-align: center;
    margin-top: 12px;
    color: #64748b;
    font-size: 0.95rem;
}
.uploaded-image {
    max-width: 100%;
    max-height: 100%;
    display: none;
}

/* Action button group */
.action-btn {
    padding: 12px;
    display: flex;
    justify-content: center;
    
}
.action-btn .btn-group {
    display: inline-flex;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.action-btn .action-btn-item {
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
    padding: 8px 14px;
    cursor: pointer;
    font-weight: 600;
    outline: none;
    width: 200px;
    text-transform: capitalize;
}
.action-btn .action-btn-item:first-child {
    border-right: none;
    border-radius: 12px 0 0 12px;
}
.action-btn .action-btn-item:last-child {
    border-left: none;
    border-radius: 0 12px 12px 0;
}
.action-btn .action-btn-item.active {
    background: #28a745;
    border-color: #28a745;
    color: #fff;
}
.action-btn .action-btn-item:focus {
    box-shadow: 0 0 0 3px rgba(40,167,69,0.15);
}
.chat-message {
    margin-bottom: 10px;
    padding: 8px;
    background-color: #e9e9e9;
    border-radius: 4px;
}
.user-message {
    text-align: left;
    background-color: #007bff;
    color: white;
}

img:hover {
    transform: scale(1);
}

.more_link_buy {
    margin: 0 auto;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    padding-top: 20px;
}

/* Mobile styles */
@media (max-width: 768px) {
    .panel_container {
        flex-direction: column;
        min-height: auto;
        /* margin-bottom: 20px; */
    }
    .left-panel {
        flex: none;
        height: 40vh;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    .right-panel {
        flex: none;
        height: 200px;
    }
    /* Keep chat above the input on mobile so newest messages are near the input box */
    .chat-area {
        order: 2;
        flex: 1;
    }
    .input-area {
        order: 3;
        position: sticky;
        bottom: 0;
        background: white;
        border-top: 1px solid #ddd;
    }
}