/* Complete CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
}

/* Main App Container */
#luxorApp {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  min-height: 100vh;
  color: white;
  -webkit-font-smoothing: antialiased;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
}

/* Login Card */
.login-container {
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Header Styling */
.app-header {
  text-align: center;
  margin-bottom: 40px;
}

.app-title {
  font-size: 48px;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.app-tagline {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  font-weight: 400;
}

.app-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
  margin: 0 auto;
  border-radius: 10px;
}

/* Form Styling */
.form-section {
  margin-bottom: 30px;
}

.form-label {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.form-input {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  color: white;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
  border-color: #ffd700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
}

/* Button Styling */
.primary-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
  border: none;
  border-radius: 10px;
  color: #0f0f23;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.primary-btn:hover {
  transform: translateY(-2px);
}

.primary-btn:active {
  transform: translateY(0);
}

/* Demo Section */
.demo-section {
  margin-top: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-title {
  text-align: center;
  font-size: 16px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.guest-button {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: white;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.2s ease;
  text-align: left;
}

.guest-button:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: rgba(255, 215, 0, 0.3);
}

.guest-name {
  font-weight: 500;
  font-size: 14px;
}

.guest-suite {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

/* Chat Interface */
.chat-container {
  width: 100%;
  max-width: 800px;
  height: 90vh;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-header {
  padding: 20px 25px;
  background: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
  color: #0f0f23;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-title {
  font-size: 24px;
  font-weight: 700;
}

.chat-subtitle {
  font-size: 12px;
  opacity: 0.8;
}

.guest-info {
  text-align: right;
}

.guest-display {
  font-size: 14px;
  font-weight: 500;
}

.logout-link {
  font-size: 12px;
  opacity: 0.7;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  text-decoration: underline;
}

.logout-link:hover {
  opacity: 1;
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.message {
  margin-bottom: 15px;
  display: flex;
}

.message.user {
  justify-content: flex-end;
}

.message.agent {
  justify-content: flex-start;
}

.message-bubble {
  max-width: 80%;
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.4;
}

.message.user .message-bubble {
  background: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
  color: #0f0f23;
}

.message.agent .message-bubble {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  max-width: 200px;
}

.typing-dots {
  display: flex;
  gap: 3px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: #ffd700;
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%,
  60%,
  100% {
    opacity: 0.3;
  }
  30% {
    opacity: 1;
  }
}

.input-section {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  gap: 15px;
  align-items: center;
}

.message-input {
  flex: 1;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  color: white;
  font-size: 14px;
  outline: none;
}

.message-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.message-input:focus {
  border-color: #ffd700;
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.send-button {
  padding: 12px;
  background: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
  border: none;
  border-radius: 50%;
  color: #0f0f23;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.send-button:hover {
  transform: scale(1.05);
}

.send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.message-box {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 25px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  z-index: 1000;
  animation: fadeIn 0.5s ease-out;
  max-width: 90%;
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.hidden {
  display: none !important;
}

/* Service Button Styles */
.service-buttons {
  padding: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-button {
  background: linear-gradient(135deg, #ffd700 0%, #ff6b35 100%);
  color: #0f0f23;
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

/* New Weather and Map styles */
.weather-map-container {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: 80px;
  width: 100%;
  height: auto;
  max-height: calc(100% - 150px);
  overflow-y: auto;
}

.weather-map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.weather-map-title {
  font-size: 18px;
  font-weight: 600;
}

.close-button {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.weather-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 15px;
  background-color: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  width: 100%;
}

.weather-icon {
  font-size: 2em;
}

.weather-details {
  text-align: left;
}

.weather-temp {
  font-size: 2em;
  font-weight: 600;
}

.weather-description {
  font-size: 1em;
  opacity: 0.8;
}

.weather-city {
  font-size: 1em;
  opacity: 0.8;
}

.map-container {
  width: 100%;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}