 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
 }

 body {
     display: flex;
     justify-content: center;
     align-items: center;
     min-height: 100vh;
     background: white;
     padding: 20px;
     position: relative;
 }

 .chat-container {
     width: 100%;
     max-width: 420px;
     height: 85vh;
     background: white;
     border-radius: 20px;
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
     display: flex;
     flex-direction: column;
     overflow: hidden;
     position: relative;
     border: 1px solid #e0e0e0;
     z-index: 10;
 }

 .chat-header {
     background: linear-gradient(135deg, #754EF9 0%, #5a189a 100%);
     padding: 15px 20px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     position: relative;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
 }

 .profile-section {
     display: flex;
     align-items: center;
     gap: 15px;
 }

 .profile-icon {
     width: 45px;
     height: 45px;
     background: linear-gradient(135deg, #9d4edd 0%, #754EF9 100%);
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.5rem;
     color: white;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
 }

 .profile-info {
     display: flex;
     flex-direction: column;
 }

 .profile-info h2 {
     font-size: 1.1rem;
     font-weight: 600;
     color: white;
     margin-bottom: 3px;
 }

 .status-indicator {
     display: flex;
     align-items: center;
     gap: 5px;
     font-size: 0.8rem;
     color: rgba(255, 255, 255, 0.85);
 }

 .status-dot {
     width: 8px;
     height: 8px;
     background: #4ade80;
     border-radius: 50%;
     animation: pulse 1.5s infinite;
 }

 .chat-actions {
     display: flex;
     align-items: center;
     gap: 15px;
 }

 .chat-time {
     font-size: 0.9rem;
     color: rgba(255, 255, 255, 0.85);
 }






 .chat-messages {
     flex: 1;
     padding: 20px;
     overflow-y: auto;
     display: flex;
     flex-direction: column;
     gap: 15px;
     background: #f8f9ff;
 }

 .welcome-message {
     text-align: center;
     color: #754EF9;
     font-size: 0.9rem;
     padding: 10px 0 20px;
     font-style: italic;
     border-bottom: 1px dashed rgba(117, 78, 249, 0.2);
     margin-bottom: 15px;
 }

 .message {
     max-width: 85%;
     padding: 12px 18px;
     border-radius: 18px;
     font-size: 0.95rem;
     line-height: 1.5;
     position: relative;
     animation: fadeIn 0.3s ease;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
 }

 .user-message {
     background: linear-gradient(135deg, #754EF9 0%, #5a189a 100%);
     color: white;
     align-self: flex-end;
     border-bottom-right-radius: 5px;
 }

 .bot-message {
     background: white;
     color: #5a189a;
     align-self: flex-start;
     border-bottom-left-radius: 5px;
     border: 1px solid rgba(117, 78, 249, 0.15);
 }

 .quick-options {
     display: flex;
     flex-wrap: wrap;
     gap: 10px;
     padding: 15px;
     background: rgba(117, 78, 249, 0.05);
     border-top: 1px solid rgba(117, 78, 249, 0.1);
 }

 .quick-option {
     background: rgba(117, 78, 249, 0.1);
     border: 1px solid rgba(117, 78, 249, 0.2);
     border-radius: 25px;
     padding: 10px 18px;
     font-size: 0.85rem;
     color: #754EF9;
     cursor: pointer;
     transition: all 0.3s ease;
     flex: 1;
     min-width: 120px;
 }

 .quick-option:hover {
     background: rgba(117, 78, 249, 0.2);
     color: #5a189a;
     transform: translateY(-2px);
     border-color: #754EF9;
 }

 .chat-input-container {
     display: flex;
     padding: 15px;
     background: white;
     border-top: 1px solid rgba(117, 78, 249, 0.1);
 }

 .message-input {
     flex: 1;
     padding: 14px 20px;
     background: white;
     border: 1px solid rgba(117, 78, 249, 0.3);
     border-radius: 30px;
     font-size: 0.95rem;
     outline: none;
     color: #5a189a;
     transition: all 0.3s ease;
     box-shadow: 0 2px 6px rgba(117, 78, 249, 0.1);
 }

 .message-input::placeholder {
     color: rgba(117, 78, 249, 0.5);
 }

 .message-input:focus {
     border-color: #754EF9;
     box-shadow: 0 0 0 3px rgba(117, 78, 249, 0.2);
 }

 .send-btn {
     width: 50px;
     height: 50px;
     border-radius: 50%;
     background: linear-gradient(135deg, #754EF9 0%, #5a189a 100%);
     color: white;
     border: none;
     margin-left: 12px;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all 0.3s ease;
     box-shadow: 0 4px 15px rgba(117, 78, 249, 0.3);
 }

 .send-btn:hover {
     transform: scale(1.05);
     box-shadow: 0 6px 20px rgba(117, 78, 249, 0.4);
 }

 @keyframes fadeIn {
     from {
         opacity: 0;
         transform: translateY(10px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 @keyframes pulse {
     0% {
         opacity: 1;
     }

     50% {
         opacity: 0.5;
     }

     100% {
         opacity: 1;
     }
 }

 /* Scrollbar styling */
 .chat-messages::-webkit-scrollbar {
     width: 8px;
 }

 .chat-messages::-webkit-scrollbar-track {
     background: rgba(117, 78, 249, 0.05);
 }

 .chat-messages::-webkit-scrollbar-thumb {
     background: #754EF9;
     border-radius: 4px;
 }

 .chat-messages::-webkit-scrollbar-thumb:hover {
     background: #5a189a;
 }

 /* Animation for floating effect */
 .chat-container {
     animation: float 6s ease-in-out infinite;
 }

 @keyframes float {
     0% {
         transform: translateY(0px);
     }

     50% {
         transform: translateY(-10px);
     }

     100% {
         transform: translateY(0px);
     }
 }

 .hidden {
     display: none;
 }