/** Shopify CDN: Minification failed

Line 306:0 Unexpected "}"

**/
/* Sendbird Messages Modal Styles */
.sendbird-messages-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sendbird-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.sendbird-modal-content {
  position: relative;
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  width: 95%;
  max-width: 1200px;
  height: 90vh;
  max-height: 800px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sendbird-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6b7280;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
  margin-left: auto;
}

.sendbird-close-btn:hover {
  background-color: #e5e7eb;
  color: #374151;
}

/* Additional styles for the messages page */
.messages-page {
  min-height: 100vh;
  background: #ffffff;
}

.messages-disabled {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  text-align: center;
  padding: 40px 20px;
}

.messages-disabled h2 {
  margin: 0 0 16px 0;
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
}

.messages-disabled p {
  margin: 0;
  color: #6b7280;
  font-size: 16px;
}

/* Ensure proper spacing and layout */
.messages-container {
  display: flex;
  height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
}

/* Channel list improvements */
.channels-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.channels-list::-webkit-scrollbar {
  width: 6px;
}

.channels-list::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.channels-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.channels-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Message content improvements */
.chat-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #ffffff;
}

.chat-content::-webkit-scrollbar {
  width: 6px;
}

.chat-content::-webkit-scrollbar-track {
  background: #f1f5f9;
}

.chat-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.chat-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Button styles for consistency */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

.btn-layout1 {
  background-color: #fa0414;
  color: white;
}

.btn-layout1:hover {
  background-color: #dc2626;
  color: white;
}

.btn-layout2 {
  background-color: transparent;
  color: #1f2937;
  border: 1px solid #d1d5db;
}

.btn-layout2:hover {
  background-color: #f9fafb;
  color: #1f2937;
}

/* Loading states */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #fa0414;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Error states */
.error-message {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 16px 0;
  font-size: 14px;
}

/* Success states */
.success-message {
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 16px 0;
  font-size: 14px;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .messages-container {
    height: calc(100vh - 60px); /* Account for mobile header */
  }
  
  .messages-sidebar {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 10;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    background: white;
  }

  .messages-sidebar.show {
    transform: translateX(0);
  }

  .messages-main {
    width: 100%;
  }

  .chat-back-btn {
    display: block;
  }

  .chat-header {
    padding: 16px 20px;
  }

  .chat-content {
    padding: 16px;
  }

  .chat-input-area {
    padding: 16px 20px;
  }
  
  .messages-header {
    padding: 16px;
  }
  
  .messages-header h2 {
    font-size: 20px;
  }
}

/* Focus states for accessibility */
.channel-item:focus,
.chat-send-btn:focus,
.chat-attachment-btn:focus,
.chat-back-btn:focus {
  outline: 2px solid #fa0414;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .channel-item {
    border: 1px solid #000;
  }
  
  .message-bubble {
    border: 1px solid #000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .messages-sidebar {
    transition: none;
  }
  
  .loading-spinner {
    animation: none;
  }
}
}

}
