* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --secondary-color: #f3f4f6;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --user-msg-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bot-msg-bg: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 900px;
    height: 90vh;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.chat-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bot-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.header-info h1 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    opacity: 0.9;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success-color);
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.header-right {
    display: flex;
    gap: 10px;
}

.header-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.header-btn:active {
    transform: scale(0.95);
}

/* Data Banner */
.data-banner {
    background: var(--warning-color);
    color: white;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Chat Container */
.chat-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: var(--secondary-color);
    scroll-behavior: smooth;
}

.chat-container::-webkit-scrollbar {
    width: 6px;
}

.chat-container::-webkit-scrollbar-track {
    background: transparent;
}

.chat-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.chat-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Welcome Message */
.welcome-message {
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.welcome-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    animation: bounce 1s ease-in-out;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.welcome-message h2 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 28px;
}

.welcome-message > p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.feature {
    background: white;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature i {
    color: var(--primary-color);
    font-size: 20px;
}

.feature span {
    color: var(--text-color);
    font-size: 14px;
}

.start-message {
    color: var(--text-light);
    font-style: italic;
}

/* Messages */
.message {
    display: flex;
    margin-bottom: 20px;
    animation: messageSlide 0.3s ease-out;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.message.user .message-content {
    background: var(--user-msg-bg);
    color: white;
    animation: messageSlideRight 0.3s ease-out;
}

@keyframes messageSlideRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.message-content {
    max-width: 70%;
    padding: 12px 18px;
    border-radius: 18px;
    background: var(--bot-msg-bg);
    box-shadow: var(--shadow-sm);
    word-wrap: break-word;
    position: relative;
}

.message.bot .message-content {
    border-bottom-left-radius: 4px;
}

.message.user .message-content {
    border-bottom-right-radius: 4px;
}

.message-text {
    line-height: 1.5;
    font-size: 15px;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 5px;
    display: block;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    gap: 5px;
    padding: 15px 20px;
    background: white;
    border-radius: 18px;
    width: fit-content;
    margin-left: 20px;
    box-shadow: var(--shadow-sm);
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--text-light);
    border-radius: 50%;
    animation: typingDot 1.4s infinite;
}

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

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

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Input Container */
.chat-input-container {
    background: white;
    padding: 15px 20px;
    border-top: 1px solid var(--border-color);
}

.input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.attach-btn {
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    border: none;
    border-radius: 50%;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.attach-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: rotate(90deg);
}

#user-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

#user-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.send-btn {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.send-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.1);
}

.send-btn:active {
    transform: scale(0.95);
}

.send-btn:disabled {
    background: var(--border-color);
    cursor: not-allowed;
    transform: scale(1);
}

/* Quick Actions */
.quick-actions {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
    animation: fadeIn 0.3s ease-out;
}

.quick-action {
    padding: 10px 15px;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
}

.quick-action:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.quick-action i {
    font-size: 14px;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background: var(--success-color);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    display: none;
    align-items: center;
    gap: 10px;
    animation: toastSlide 0.3s ease-out;
    z-index: 1000;
}

@keyframes toastSlide {
    from {
        transform: translateX(400px);
    }
    to {
        transform: translateX(0);
    }
}

.toast.show {
    display: flex;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 0;
    }

    .container {
        height: 100vh;
        border-radius: 0;
        max-width: 100%;
    }

    .chat-header {
        padding: 15px;
    }

    .header-info h1 {
        font-size: 18px;
    }

    .message-content {
        max-width: 85%;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: 1fr 1fr;
    }
}

/* Loading Animation */
.rotating {
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(15, 23, 42, 0.7); */
  backdrop-filter: blur(1px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}
 
.modal {
  background: white;
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
 
.modal-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
 
.modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #0f172a;
  letter-spacing: -0.025em;
}
 
.modal-close {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 24px;
  color: #64748b;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transition: all 0.2s ease;
}
 
.modal-close:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}
 
.modal-body {
  padding: 28px 32px;
}
 
.form-section {
  margin-bottom: 28px;
}
 
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
 
.form-group {
  margin-bottom: 0;
}
 
.form-label {
  display: block;
  margin-bottom: 10px;
}
 
.label-main {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
 
.label-sub {
  display: block;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 400;
}
 
.input-wrapper {
  position: relative;
}
 
.input-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 16px;
  pointer-events: none;
}
 
.form-input {
  width: 100%;
  padding: 14px 10px 14px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  color: #0f172a;
  background: white;
  transition: all 0.2s ease;
  font-family: inherit;
  box-sizing: border-box;
}
 
.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
 
.form-input:hover {
  border-color: #cbd5e1;
}
 
.select-container {
  position: relative;
}
 
.form-select {
  width: 100%;
  padding: 14px 48px 14px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  color: #0f172a;
  background: white;
  transition: all 0.2s ease;
  appearance: none;
  font-family: inherit;
  cursor: pointer;
}
 
.form-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
 
.form-select:hover {
  border-color: #cbd5e1;
}
 
.select-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 12px;
  pointer-events: none;
}
.quantity-control,
.quantity-btn,
.quantity-input {
  display: none;
}
 
.room-qty-input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  color: #0f172a;
  background: white;
  transition: all 0.2s ease;
  font-family: inherit;
  box-sizing: border-box;
}
 
.room-qty-input:focus {
  outline: none;
  border-color: #9c60e1;
  box-shadow: 0 0 0 3px rgba(156, 96, 225, 0.1);
}
 
.room-qty-input:hover {
  border-color: #cbd5e1;
}
 
/* Hide spin buttons in modern browsers */
.room-qty-input::-webkit-outer-spin-button,
.room-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
 
.room-qty-input[type=number] {
  -moz-appearance: textfield;
}
 
.form-actions {
  display: flex;
  gap: 16px;
}
 
.btn {
  flex: 1;
  padding: 10px 14px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  text-align: center;
  letter-spacing: -0.01em;
}
 
.btn-secondary {
  background: white;
  color: #475569;
  border: 1.5px solid #e2e8f0;
}
 
.btn-secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #334155;
}
 
.btn-primary {
  background: linear-gradient(135deg, #9c60e1, #7a43c5);
  color: white;
  font-weight: 600;
}
 
.btn-primary:hover {
  background: linear-gradient(135deg, #9c60e1, #7a43c5);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}
 
.form-note {
  margin-top: 16px;
  text-align: center;
}
 
.form-note small {
  color: #64748b;
  font-size: 13px;
  line-height: 1.4;
}
 
.form-note a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}
 
.form-note a:hover {
  text-decoration: underline;
}
 
@media (max-width: 640px) {
  .modal {
    border-radius: 16px;
  }
  
  .modal-header,
  .modal-body{
    padding: 24px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .guest-options {
    position: relative;
    top: 0;
    margin-top: 8px;
    box-shadow: none;
    border: 1.5px solid #e2e8f0;
  }
  
  .guest-selector:hover .guest-options {
    display: block;
    position: relative;
  }
}



/* Compact Date Picker Styles */
.chat-date-picker.compact {
  background: white;
  border-radius: 14px;
  padding: 16px;
  margin: 12px 0;
  border: 1px solid #e9ecef;
  max-width: 450px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: visible;
}
 
.date-picker-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #333;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}
 
.date-picker-header i {
  color: #4f46e5;
  font-size: 1.1em;
}
 
.date-picker-header h4 {
  font-size: 1.05em;
  font-weight: 600;
  margin: 0;
}
 
/* Compact Date Range Section */
.date-range-section {
  margin-bottom: 18px;
}
 
.date-range-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  color: #555;
  font-weight: 600;
  font-size: 0.9em;
}
 
.date-range-label i {
  color: #4f46e5;
  font-size: 0.9em;
}
 
.date-range-input.compact-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e0e7ff;
  border-radius: 10px;
  font-size: 0.9em;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  height: 40px;
}
 
.date-range-input.compact-input:hover {
  border-color: #4f46e5;
  background: white;
}
 
.date-range-input.compact-input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.08);
  background: white;
}
 
/* Compact Room Type Section */
.room-type-section {
  margin-bottom: 10px;
}
 
.room-type-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  color: #555;
  font-weight: 600;
  font-size: 0.9em;
}
 
.room-type-label i {
  color: #4f46e5;
  font-size: 0.9em;
}
 
.room-grid.compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
 
.room-type-btn.compact-btn {
  padding: 8px 6px;
  background: white;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8em;
  transition: all 0.2s ease;
  color: #475569;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 500;
  line-height: 1.2;
}
 
.room-type-btn.compact-btn:hover {
  border-color: #4f46e5;
  background: #f8fafc;
  color: #4f46e5;
}
 
.room-type-btn.compact-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: transparent;
  color: white;
}
 
/* Compact Floating Check Button - half outside */
.floating-check-container.compact-floating {
  position: absolute;
  right: -32px;
  bottom: 106px;
  z-index: 10;
}
 
.floating-check-btn.compact-check-btn {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
  position: relative;
}
 
.floating-check-btn.compact-check-btn:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
}
 
.floating-check-btn.compact-check-btn:active {
  transform: scale(0.95);
}
 
.floating-check-btn.compact-check-btn:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  transform: scale(1);
  box-shadow: none;
}
 
/* Create the "half-outside" effect with a pseudo-element */
.floating-check-btn.compact-check-btn::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 40px;
  right: -10px;
  z-index: -1;
}
 
/* Make sure the date picker has a higher z-index where the button overlaps */
.chat-date-picker.compact {
  z-index: 5;
}
 
/* Responsive adjustments */
@media (max-width: 768px) {
  .chat-date-picker.compact {
    max-width: 100%;
    margin: 10px 0;
  }
 
  .room-grid.compact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }
 
  .floating-check-container.compact-floating {
    right: 10px;
    bottom: -15px;
  }
 
  .floating-check-btn.compact-check-btn::before {
    display: none;
  }
 
  .floating-check-btn.compact-check-btn {
    width: 44px;
    height: 44px;
    font-size: 1.1em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }
}
 
@media (max-width: 480px) {
  .room-grid.compact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
 
  .room-type-btn.compact-btn {
    font-size: 0.75em;
    padding: 6px 4px;
    height: 32px;
  }
 
  .date-picker-header h4 {
    font-size: 1em;
  }
 
  .chat-date-picker.compact {
    padding: 14px;
  }
}
.message.bot .chat-date-picker.compact {
  margin-top: -17px;
  margin-bottom: 5px;
}
/* Updated Check Availability Button Styles */
.check-availability-container {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #000000;
    display: flex;
    justify-content: center;
}
 
.check-availability-btn {
    width: 100%;
    border: none;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
}
 
.check-availability-btn:hover {
    background-color: 0 4px 12px rgb(181, 181, 181);
}
 
.check-availability-btn:active {
    transform: translateY(0);
}
 
.check-availability-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
 
.check-availability-btn i {
    font-size: 16px;
}
 
/* Remove the old floating button styles */
.floating-check-container,
.floating-check-btn,
.floating-check-btn.compact-check-btn,
.floating-check-container.compact-floating {
    display: none;
}
 
/* Responsive adjustments for the new button */
@media (max-width: 768px) {
    .check-availability-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}
 
@media (max-width: 480px) {
    .check-availability-btn {
        padding: 10px 14px;
        font-size: 13px;
        gap: 8px;
    }
    
    .check-availability-btn i {
        font-size: 14px;
    }
}
/* Updated Check Availability Button Styles */
.check-availability-container {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #000000;
  display: flex;
  justify-content: center;
}
 
.check-availability-btn {
  width: 100%;
  border: none;
  border-radius: 10px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 20px;
  color: #333;
}
 
.check-availability-btn:hover {
  background-color: #f5f5f5; /* Light gray on hover */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
 
.check-availability-btn:active {
  transform: translateY(1px);
}
 
.check-availability-btn:disabled {
  background: #cbd5e1;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  color: #94a3b8;
}
 
.check-availability-btn i {
  font-size: 16px;
  color: #4f46e5;
}
 
/* Add these to your style.css */
.mic-btn {
  position: relative;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  z-index: 1;
}
 
.mic-btn:hover {
  background: #f0f0f0;
  transform: scale(1.1);
}
 
.mic-btn.listening {
  background-color: #ef4444 !important;
  color: white !important;
  animation: micPulse 1.5s infinite;
}
 
.mic-btn.listening i {
  color: white !important;
  animation: iconPulse 1s infinite;
}
 
@keyframes iconPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
 
.mic-btn:active {
  transform: scale(0.95);
}
 
/* Add status indicator to mic button */
.mic-btn::after {
  content: "";
  position: absolute;
  top: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  border: 2px solid white;
  opacity: 0;
  transition: opacity 0.3s;
}
 
.mic-btn.listening::after {
  background: #ef4444;
  opacity: 1;
  animation: statusPulse 1s infinite;
}
 
@keyframes statusPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}
 
/* Voice result toast */
.voice-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 15px 25px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s;
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
 
.voice-toast.show {
  opacity: 1;
}
 
.voice-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}
 
.voice-wave span {
  display: block;
  width: 3px;
  background-color: #3b82f6;
  border-radius: 3px;
  animation: wave 1.2s infinite ease-in-out;
}
 
.voice-wave span:nth-child(2) {
  animation-delay: 0.1s;
}
.voice-wave span:nth-child(3) {
  animation-delay: 0.2s;
}
.voice-wave span:nth-child(4) {
  animation-delay: 0.3s;
}
.voice-wave span:nth-child(5) {
  animation-delay: 0.4s;
}
 
@keyframes wave {
  0%,
  100% {
    height: 5px;
  }
  50% {
    height: 20px;
  }
}
 
/* Add these to your CSS file */
 
/* Speaking Animation */
.speaking-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 15px;
  margin: 15px 0;
  border: 2px solid #e2e8f0;
  animation: fadeIn 0.5s ease-out;
}
 
.speaking-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
}
 
.speaking-pulse {
  width: 6px;
  height: 20px;
  background: linear-gradient(to bottom, #3b82f6, #8b5cf6);
  border-radius: 3px;
  animation: speakingWave 1.2s infinite ease-in-out;
}
 
.speaking-pulse:nth-child(1) {
  animation-delay: 0s;
}
.speaking-pulse:nth-child(2) {
  animation-delay: 0.2s;
}
.speaking-pulse:nth-child(3) {
  animation-delay: 0.4s;
}
.speaking-pulse:nth-child(4) {
  animation-delay: 0.6s;
}
.speaking-pulse:nth-child(5) {
  animation-delay: 0.8s;
}
 
@keyframes speakingWave {
  0%,
  100% {
    height: 10px;
    opacity: 0.6;
  }
  50% {
    height: 30px;
    opacity: 1;
  }
}
 
.speaking-text {
  color: #475569;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  animation: textPulse 2s infinite;
}
 
@keyframes textPulse {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}
 
/* Stop Speaking Animation */
.stop-speaking-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-radius: 15px;
  margin: 15px 0;
  border: 2px solid #fed7aa;
  animation: slideInRight 0.5s ease-out;
}
 
.stop-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #f97316, #fb923c);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: handWave 2s infinite;
}
 
.stop-icon i {
  font-size: 24px;
  color: white;
}
 
@keyframes handWave {
  0%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(15deg);
  }
  75% {
    transform: rotate(-15deg);
  }
}
 
.stop-text {
  color: #9a3412;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  animation: colorShift 3s infinite;
}
 
@keyframes colorShift {
  0%,
  100% {
    color: #9a3412;
  }
  50% {
    color: #ea580c;
  }
}
 
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
 
/* Mic button enhanced animation */
.mic-btn.listening {
  animation: micPulse 1.5s infinite;
  background-color: #ef4444 !important;
}
 
@keyframes micPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}
 
/* Voice level indicator */
.voice-level-indicator {
  position: fixed;
  bottom: 120px;
  right: 30px;
  width: 100px;
  height: 20px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  display: none;
  align-items: center;
  padding: 0 10px;
  z-index: 1001;
}
 
.voice-level-bar {
  height: 8px;
  background: linear-gradient(to right, #10b981, #3b82f6, #8b5cf6);
  border-radius: 4px;
  width: 0%;
  transition: width 0.1s ease;
}
 
/* Instructions tooltip */
.voice-instructions {
  position: absolute;
  bottom: 60px;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 12px;
  max-width: 200px;
  display: none;
  z-index: 1002;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
 
.voice-instructions.show {
  display: block;
  animation: fadeInUp 0.3s ease-out;
}
 
.voice-instructions::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(0, 0, 0, 0.9);
}
 
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
 
/* Transcription preview */
.transcription-preview {
  position: fixed;
  bottom: 150px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 15px 20px;
  border-radius: 15px;
  max-width: 400px;
  width: 90%;
  display: none;
  z-index: 1001;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
 
.transcription-preview.show {
  display: block;
  animation: slideUp 0.3s ease-out;
}
 
.transcription-text {
  font-size: 14px;
  line-height: 1.4;
  color: #e2e8f0;
}
 
.transcription-text span.highlight {
  color: #3b82f6;
  font-weight: 500;
}
 
/* Speech volume visualization */
.speech-volume {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}
 
.volume-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
}
 
.volume-fill {
  height: 100%;
  background: linear-gradient(to right, #10b981, #3b82f6);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s ease;
}
 
.volume-text {
  font-size: 11px;
  color: #94a3b8;
  min-width: 40px;
}
 
/* Responsive adjustments */
@media (max-width: 768px) {
  .speaking-animation,
  .stop-speaking-animation {
    padding: 15px;
    margin: 10px;
  }
 
  .transcription-preview {
    bottom: 130px;
    max-width: 90%;
  }
 
  .voice-instructions {
    bottom: 50px;
    right: 10px;
    max-width: 180px;
  }
}
/* Voice Status Message */
.voice-status-message {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border-radius: 12px;
  border: 2px solid #bae6fd;
  margin: 10px 0;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
  animation: slideIn 0.3s ease-out;
  width: 400px;
}
 
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
 
.voice-status-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}
 
.voice-status-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 16px;
}
 
.voice-status-title {
  font-weight: 600;
  color: #1e40af;
  font-size: 14px;
}
 
.voice-visualizer {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 40px;
  margin: 15px 0;
}
 
.voice-bar {
  width: 6px;
  background: linear-gradient(to top, #3b82f6, #60a5fa);
  border-radius: 3px;
  min-height: 5px;
}
 
.voice-status-text {
  text-align: center;
  color: #1e40af;
  font-weight: 600;
  font-size: 13px;
  margin-top: 10px;
}
 
.voice-transcript {
  margin-top: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  font-size: 14px;
  color: #334155;
  min-height: 35px;
  border: 1px solid #dbeafe;
}
 
/* Listening state */
.voice-status-message.listening .voice-status-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  animation: pulseIcon 2s infinite;
}
 
.voice-status-message.listening .voice-status-title {
  color: #065f46;
}
 
.voice-status-message.listening .voice-status-text {
  color: #065f46;
}
 
/* Ready state */
.voice-status-message.ready .voice-status-icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}
 
.voice-status-message.ready .voice-status-title {
  color: #92400e;
}
 
.voice-status-message.ready .voice-visualizer .voice-bar {
  background: #f59e0b;
  animation: none !important;
}
 
/* Mic button states */
.mic-btn {
  position: relative;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  z-index: 1;
}
 
.mic-btn:hover {
  background: #f0f0f0;
  transform: scale(1.1);
}
 
.mic-btn.listening {
  background-color: #ef4444 !important;
  color: white !important;
  animation: micPulse 1.5s infinite;
}
 
.mic-btn.listening i {
  color: white !important;
}
 
@keyframes micPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}
 
@keyframes pulseIcon {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}
 
/* Voice waveform animation */
@keyframes voiceWave {
  0%,
  100% {
    height: 5px;
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
 
/* Terms and Conditions */
.terms-container {
  margin-top: 8px;
  padding: 6px 10px;
  background: rgba(249, 250, 251, 0.7);
  border-radius: 6px;
  border: 1px solid rgba(229, 231, 235, 0.5);
  text-align: center;
}
 
.terms-text {
  font-size: 9px !important;
  line-height: 1.3;
  color: #6b7280;
  margin: 0;
  padding: 0;
}
 
.terms-link {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 500;
  font-size: 9px;
  transition: color 0.2s;
}
 
.terms-link:hover {
  color: #3730a3;
  text-decoration: underline;
}
 
.terms-link:active {
  color: #312e81;
}
 
/* Responsive adjustments */
@media (max-width: 768px) {
  .terms-container {
    padding: 5px 8px;
    margin-top: 6px;
  }
 
  .terms-text {
    font-size: 8px !important;
  }
 
  .terms-link {
    font-size: 8px;
  }
}