.chatbot-container {
    width: 300px;
    position: fixed;
    bottom: 70px;
    right: 20px;
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    font-family: Arial, sans-serif;
    height: 400px;
    display: flex;
    flex-direction: column;
    z-index: 9999;
}

.chatbot-header {
    background: #61CE70;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    font-weight: bold;
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background: #f9f9f9;
}

.message {
    padding: 8px;
    margin: 5px 0;
    border-radius: 5px;
}

/* .message.bot {
    background: #f1f1f1;
    text-align: left;
    margin-bottom: 5px;
    padding: 5px 10px;
    border-radius: 5px;
} */

/* .message.user {
    background: #61CE70;
    color: white;
    text-align: right;
    margin-bottom: 5px;
    padding: 5px 10px;
    border-radius: 4px;
} */

.chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
}

.chatbot-input input {
    flex: 1;
    padding: 8px;
    border: none;
    border-radius: 5px;
    outline: none;
}

.chatbot-input button {
    background: #61CE70;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 5px;
}

.chatbot-welcome {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9998;
    background: #61CE70;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.chatbot-close {
    background: transparent;
    /* position: absolute;
    top: 5px;
    right: 5px;*/
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.chatbot-input input::placeholder {
    color: linear-gradient(135deg, #7b2ff7, #f107a3);
}

.chatavatar {
    width: 40px;
    height: 40px;
    object-fit: cover; /* Ensures the image fills the box without distortion */
    border-radius: 50%; /* Makes it circular */
}

.chatheader {
    display: flex;
    flex-direction: column; /* Stack avatar above text */
    align-items: center;     /* Center horizontally */
    justify-content: center; /* Center vertically if needed */
    text-align: center;
    margin-bottom: 10px;     /* Add spacing below if desired */
}
  
.chatavatar {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 5px; /* Slight spacing between avatar and text */
}
  
/* .chatname {
    font-weight: bold;
} */
  
.chatmessage {
    margin-bottom: 5px; /* Slight spacing between messages */
}

.chatbot-container {
    width: 400px !important;  
    height: 300px !important;
    max-width: 100%;
}
.chatbot-container {
    width: 400px;  
    height: 500px;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Arial', sans-serif;
    background: white;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header Styling */
.chatbot-header {
    background: #0073b1;  /* LinkedIn Blue */
    color: white;
    padding: 12px 16px;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
}

/* Messages Styling */
.chatbot-messages {
    flex-grow: 1;
    padding: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f3f3f3;
}

/* Bot Message */
/* .message.bot {
    background: #e1ecf4;
    padding: 10px;
    border-radius: 10px;
    align-self: flex-start;
    max-width: 75%;
    font-size: 14px;
} */

/* User Message */
/* .message.user {
    
    color: white;
    padding: 10px;
    border-radius: 10px;
    align-self: flex-end;
    max-width: 75%;
    font-size: 14px;
} */

.message.bot {
    background: #e2e2e2;
    color: #333;
    text-align: left;
    border-radius: 5px;
    margin: 5px 0;
    padding: 8px;
}
  

.message.user {
    background: #6ddad0; /* or just 'none' */
    color: #333; /* text color */
    text-align: right; /* or keep it right if you prefer */
    border-radius: 5px;
    margin: 5px 0;
    padding: 8px;
}
  

/* Input Area */
.chatbot-input {
    display: flex;
    border-top: 1px solid #ddd;
    padding: 8px;
    background: white;
}

.chatbot-input input {
    flex-grow: 1;
    padding: 10px;
    border: none;
    outline: none;
    font-size: 14px;
    border-radius: 5px;
    background: #f7f7f7;
}

.chatbot-input button {
    background: #0073b1;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    margin-left: 5px;
}

.chatbot-input button:hover {
    background: #005f8c;
}

.user_avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 8px;
    margin-left: 8px;
    vertical-align: middle;
}

/* Add these styles to your existing CSS file */

.chatbot-dropdown {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    min-height: 100px;  /* Height for multiple select boxes */
}

select[multiple] {
  height: auto;
}

.dropdown-submit {
  padding: 6px 12px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  margin-bottom: 10px;
}

.dropdown-submit:hover {
  background-color: #45a049;
}

/* Disabled input styling during dropdown selection */
input[disabled] {
  background-color: #f2f2f2;
  cursor: not-allowed;
}

button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.suggestion-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.suggestion-button {
    background-color: #e8f4ff;
    border: 1px solid #c7e2ff;
    border-radius: 18px;
    padding: 8px 14px;
    font-size: 14px;
    color: #2a7de1;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    font-weight: 500;
}

.suggestion-button:hover {
    background-color: #d1e7ff;
    border-color: #a3d0ff;
    transform: translateY(-1px);
}

/* .suggestion-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    margin-bottom: 8px;
} */

/* .suggestion-button {
    background-color: #2ecc71; /* The green color from your image */
    /* border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 14px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    font-weight: 500;
    width: fit-content;
    max-width: 100%;
    text-align: center;
} */

/* .suggestion-button:hover {
    background-color: #27ae60;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
} */

/* For mobile responsiveness */
/* @media (max-width: 480px) {
    .suggestion-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .suggestion-button {
        width: 100%;
        margin-bottom: 8px;
    }
} */

#react-chatbot {
    display: block;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
}

.chatbot-job-item p {
    color: #2a7de1 !important;
}