/* Live Chat Widget Styles */
#liveChatBtn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  background: linear-gradient(90deg, #1976D2 60%, #26D0CE 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 62px;
  height: 62px;
  box-shadow: 0 4px 16px rgba(25,118,210,0.18);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

#liveChatBtn:hover { 
  background: linear-gradient(90deg, #26D0CE 60%, #1976D2 100%); 
  transform: scale(1.08);
}

#chat-notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: red;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid white;
    display: none; /* Hidden by default */
}

#chat-window {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 9998;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

#chat-window.open {
    display: flex;
}

#chat-header {
    background: linear-gradient(90deg, #1976D2 60%, #26D0CE 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chat-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

#chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

#chat-close:hover {
    background: rgba(255,255,255,0.2);
}

#chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
}

#chat-input-container {
    padding: 15px;
    border-top: 1px solid #e9ecef;
    background: white;
}

#chat-input-form {
    display: flex;
    gap: 10px;
}

#chat-input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 10px 15px;
    outline: none;
    font-size: 14px;
}

#chat-input:focus {
    border-color: #1976D2;
}

#chat-send {
    background: #1976D2;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

#chat-send:hover {
    background: #1565C0;
}

.message {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
}

.message.user {
    align-items: flex-end;
}

.message.admin {
    align-items: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 14px;
    word-wrap: break-word;
}

.message.user .message-content {
    background: #1976D2;
    color: white;
}

.message.admin .message-content {
    background: white;
    color: #333;
    border: 1px solid #e9ecef;
}

.message-time {
    font-size: 11px;
    color: #666;
    margin-top: 5px;
}

.message.user .message-time {
    text-align: right;
}

.message.admin .message-time {
    text-align: left;
}

@media (max-width: 480px) {
    #chat-window {
        width: calc(100vw - 48px);
        height: 60vh;
        bottom: 80px;
    }
} 