.chat-widget {
    position: fixed;
    bottom: 100px;
    right: 15px;
    z-index: 1000;
}

.chat-toggle {
    padding: 8px 15px; /* Slightly reduced padding for compact look */
    border-radius: 25px;
    background: #36454F; /* Charcoal grey */
    border: 2px solid white;
    color: white;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    text-align: left;        /* <-- optional extra alignment */
    font-family: "Playfair Display", serif;   
}

.toggle-hotel-name {
    font-size: 12px;
    font-weight: 400;
    color: #AAAAAA;
    margin-bottom: 2px;
}

.toggle-brand-name {
    font-size: 16px;
    font-weight: bold;
}

.chat-container {
    position: fixed;
    bottom: 25px;
    right: 15px;
    width: 365px;
    height: 685px;
    background: #2D2D2D; /* Very dark charcoal */
    color: #EAEAEA; /* Light grey text */
    border-radius: 20px;
	border: 2px solid #5A5A5A; /* Mid-dark grey border for clear definition */
    display: flex;
    flex-direction: column;
}

.chat-container.hidden {
    display: none;
}

#chat-header {
    padding: 10px;
    background: #383838; /* Dark charcoal, slightly lighter than container */
    color: #EAEAEA; /* Light text */
    border-radius: 17.5px 17.5px 0 0; /* Key change: slightly smaller radius for header's top corners */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #505050; /* Charcoal separator line */
}

#chat-header .hotel-logo {
    margin: 0 10px;
    display: flex;
    align-items: center;
}

#chat-header .hotel-logo img {
    max-height: 40px;
    max-width: 100px;
    object-fit: contain;
}
	
#chat-header h3 {
    color: #EAEAEA; /* Ensure title is light */
    margin: 0; /* Remove default margin */
    display: flex;
    flex-direction: column;
    line-height: 1;
    justify-content: center;
}

.header-hotel-name {
    font-size: 14px;
    font-weight: 400;
    color: #AAAAAA;
    margin-bottom: 2px;
}

.header-brand-name {
    font-weight: bold;
}

#close-chat {
    background: none;
    border: none;
    color: #EAEAEA; /* Light color for close button */
    font-size: 20px; /* Make it a bit larger */
    font-weight: bold;
    cursor: pointer;
}

#chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
}
#chat-input-area {
    padding: 10px;
    border-top: 1px solid #505050; /* Charcoal separator line */
    display: flex;
}

#chat-input {
    flex-grow: 1;
    padding: 8px;
    background: #454545; /* Charcoal background for input */
    color: #EAEAEA; /* Light text for input */
    border: 1px solid #606060; /* Slightly lighter charcoal border for input */
    border-radius: 4px;
    margin-right: 8px;
}

#chat-input::placeholder {
    color: #AAAAAA; /* Lighter grey placeholder text */
}

#chat-container {
    /* Add rounded bottom corners */
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    overflow: hidden; /* Ensures content doesn't overflow rounded corners */
}

#chat-disclaimer.compact {
    font-size: 0.75rem;
    padding: 4px 10px;
    margin: 0;
    line-height: 1.2;
    color: #434646;
    border-top: 1px solid #eee;
    text-align: center;
    white-space: normal;
    /* Only change the footer background to light grey */
    background-color: #b2b6b9e3;
    /* Ensure the footer has rounded corners at the bottom */
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Ensure input area is properly spaced */
#chat-input-area {
    padding: 8px;
    border-top: 1px solid #eee;
}


#send-message {
    background: #3498DB; /* A contrasting blue for send button */
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

/* Style for the send button when it's disabled */
#send-message:disabled {
    background: #505050; /* Darker, less active background */
    color: #888888;      /* Greyed-out text */
    cursor: not-allowed; /* Indicate it's not clickable */
}

.message {
    margin: 4px 0;
    padding: 8px;
    border-radius: 4px;
    color: #EAEAEA; /* Default light text for messages */
}

.user-message {
    background: #585858; /* Slightly lighter charcoal for user messages */
    margin-left: 20px;
}

.bot-message {
    background: #404040; /* Slightly darker charcoal for bot messages */
    margin-right: 20px;
}
	
.bot-message p {
    margin: 0;
}
	
.bot-message a {
    color: #79b8ff;        /* Light blue that's readable on dark backgrounds */
    text-decoration: underline;
    word-break: break-word;
}
	
/* Disclaimer at bottom of chat */
.chat-disclaimer {
    font-size: 12px;       /* small text */
    color: #AAAAAA;        /* light grey */
    text-align: center;    /* centered */
    padding: 6px 10px;     /* a bit of breathing room */
    border-top: 1px solid #505050; /* match input-area separator */
}

.dealdesk-chat-footer {
    padding: 8px 15px;
    font-size: 12px;
    border-top: 1px solid #eee;
    text-align: center;
    background-color: #888888;
}

.dealdesk-chat-footer p {
    margin: 0;
    line-height: 1.5;
    color: #666;
}

.dealdesk-privacy-link {
    color: #0078d4;
    text-decoration: none;
}

.dealdesk-privacy-link:hover {
    text-decoration: underline;
}