/* 4WeShare Professional Design System */
/* Main container wrapper for all 4weshare forms and components */

/* WordPress Theme Override - Fix unwanted footer spacing */
.no-widgets .site-footer,
.site-footer {
  margin-top: 0 !important;
}

/* Additional theme overrides for clean layout */
body.weshare-page {
  margin: 0 !important;
  padding: 0 !important;
}

.weshare-design {
  /* CSS Variables for consistent theming */
  --primary-color: #072b55;
  --primary-hover: #005a87;
  --background-color: #f8fafc;
  --foreground-color: #0a0a0a;
  --muted-foreground: #64748b;
  --border-color: #e2e8f0;
  --card-background: rgba(255, 255, 255, 0.95);
  --success-color: #10b981;
  --error-color: #ef4444;
  --warning-color: #f59e0b;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --backdrop-blur: blur(8px);
  --border-radius: 8px;
  --border-radius-lg: 12px;
}

/* Main container with background */
.weshare-design {
  min-height: calc(100vh - 97px) !important; /* Full height minus header */
  position: relative !important;
  display: flex !important;
  flex-direction: column!important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important; /* Fixed background to prevent zoom */
  /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif !important; */
        font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

}

/* Background overlays */
/* .weshare-design::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.4) !important;
    z-index: 1 !important;
} */

/* .weshare-design::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, rgba(0, 124, 186, 0.2), transparent, rgba(248, 250, 252, 0.3)) !important;
    z-index: 2 !important;
} */

/* Main content wrapper */
.weshare-design .main-content {
  width: 100% !important;
  max-width: 40rem !important; /* max-w-2xl */
  position: relative !important;
  z-index: 10 !important;
}

/* Header section */
.weshare-design .header-section {
  text-align: center !important;
  margin-bottom: 1.5rem !important;
}

.weshare-design .header-card {
  background: var(--card-background) !important;
  backdrop-filter: var(--backdrop-blur) !important;
  border-radius: var(--border-radius-lg) !important;
  padding: 1rem 2rem !important;
  display: inline-block !important;
  box-shadow: var(--shadow-lg) !important;
  min-width: 320px !important;
  max-width: 400px !important;
  width: auto !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.weshare-design .form-title{
  font-weight: bold;
}

.weshare-design .logo {
  height: 4rem !important;
  width: auto !important;
  margin: 0 auto 1rem !important;
  display: block !important;
}

/* Fallback for missing logo */
.weshare-design .logo[src*="logo.png"]::after {
  content: "4WeShare" !important;
  display: block !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  text-align: center !important;
  padding: 1rem !important;
}

.weshare-design .logo:not([src]),
.weshare-design .logo[src=""] {
  display: none !important;
}

.weshare-design .logo:not([src]) + .main-title::before,
.weshare-design .logo[src=""] + .main-title::before {
  content: "4WeShare" !important;
  display: block !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  margin-bottom: 1rem !important;
}

.weshare-design .main-title {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--foreground-color) !important;
  margin: 0 0 0.5rem 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-align: center !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.weshare-design .subtitle {
  color: var(--muted-foreground) !important;
  margin: 0 !important;
  font-size: 0.875rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-align: center !important;
}

/* Tabs container */
.weshare-design .tabs-container {
  width: 100% !important;
}

.weshare-design .tabs-list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  background: var(--card-background) !important;
  backdrop-filter: var(--backdrop-blur) !important;
  border-radius: var(--border-radius) !important;
  padding: 0.25rem !important;
  margin-bottom: 1rem !important;
  box-shadow: var(--shadow-md) !important;
  height: 40px !important;
  box-sizing: border-box !important;
}

.weshare-design .tab-button {
  background: transparent !important;
  border: none !important;
  padding: 0.25rem 0.75rem !important;
  border-radius: calc(var(--border-radius) - 2px) !important;
  cursor: pointer !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--muted-foreground) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-align: center !important;
  outline: none !important;
  transform: translateY(0) !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.weshare-design .tab-button:hover {
  background: rgba(0, 124, 186, 0.1) !important;
  color: var(--primary-color) !important;
  transform: translateY(0) !important;
}

.weshare-design .tab-button.active {
  background: white !important;
  color: var(--foreground-color) !important;
  box-shadow: var(--shadow-sm) !important;
  transform: translateY(0) !important;
}

/* Tab content */
.weshare-design .tab-content {
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(15px) scale(0.98) !important;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
  max-height: 0 !important;
  overflow: hidden !important;
}

.weshare-design .tab-content.active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  max-height: 2000px !important;
}

/* Tab content container */
.weshare-design .tab-contents-wrapper {
  position: relative !important;
  width: 100% !important;
}

/* Card component */
.weshare-design .card {
  background: var(--card-background) !important;
  backdrop-filter: var(--backdrop-blur) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: var(--border-radius-lg) !important;
  box-shadow: var(--shadow-lg) !important;
  overflow: hidden !important;
}

.weshare-design .card-header {
  padding: 1.5rem 1.5rem 0 !important;
}

.weshare-design .card-title {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  color: var(--foreground-color) !important;
  margin: 0 0 0.5rem 0 !important;
}

.weshare-design .card-description {
  color: var(--muted-foreground) !important;
  font-size: 0.875rem !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

.weshare-design .card-content {
  padding: 1.5rem !important;
}

/* Form styles */
.weshare-design form {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.6rem !important;
}

.weshare-design .form-row {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1rem !important;
}

@media (min-width: 768px) {
  .weshare-design .form-row.cols-2 {
    grid-template-columns: 1fr 1fr !important;
  }
}

.weshare-design .form-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  width: 100%;
}

.weshare-design label {
  font-size: 0.875rem !important; /* text-sm */
  font-weight: 500 !important; /* font-medium */
  line-height: 1 !important; /* leading-none */
  color: var(--foreground-color) !important;
  margin: 0 !important;
  cursor: pointer !important;
}

/* Disabled label states */
.weshare-design label:has(input:disabled),
.weshare-design label.disabled {
  cursor: not-allowed !important; /* peer-disabled:cursor-not-allowed */
  opacity: 0.7 !important; /* peer-disabled:opacity-70 */
}

.weshare-design input[type="text"],
.weshare-design input[type="email"],
.weshare-design input[type="password"],
.weshare-design input[type="number"],
.weshare-design input[type="url"],
.weshare-design select,
.weshare-design textarea {
  display: block !important; /* Proper block display for inputs */
  height: 2.25rem !important; /* h-10 (40px) */
  width: 100% !important; /* w-full */
  border-radius: 6px !important; /* rounded-md */
  border: 1px solid var(--border-color) !important; /* border border-input */
  background: var(--background-color) !important; /* bg-background */
  padding: 0.5rem 0.75rem !important; /* px-3 py-2 */
  font-size: 1rem !important; /* text-base */
  color: var(--foreground-color) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  margin: 0 !important; /* Remove any default margins */
}

.amp-current-files p strong, .amp-file-item{
    font-size: 1rem !important; /* text-base */
    font-weight: 500!important;
}

.weshare-design .amp-form-actions {
display: flex !important;
gap: 20px;
}


/* Responsive font size */
@media (min-width: 768px) {
  .weshare-design input[type="text"],
  .weshare-design input[type="email"],
  .weshare-design input[type="password"],
  .weshare-design input[type="number"],
  .weshare-design select,
  .weshare-design textarea {
    font-size: 0.875rem !important; /* md:text-sm */
  }
}

/* Placeholder styling */
.weshare-design input::placeholder,
.weshare-design textarea::placeholder {
  color: var(
    --muted-foreground
  ) !important; /* placeholder:text-muted-foreground */
}

/* Focus state */
.weshare-design input:focus-visible,
.weshare-design select:focus-visible,
.weshare-design textarea:focus-visible {
  outline: none !important; /* focus-visible:outline-none */
  box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px var(--primary-color) !important; /* focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 */
}

/* Disabled state */
.weshare-design input:disabled,
.weshare-design select:disabled,
.weshare-design textarea:disabled {
  cursor: not-allowed !important; /* disabled:cursor-not-allowed */
  opacity: 0.5 !important; /* disabled:opacity-50 */
}

/* Textarea specific styling */
.weshare-design textarea {
  height: auto !important; /* Override h-10 for textarea */
  min-height: 5rem !important;
  resize: vertical !important;
}

.weshare-design input::placeholder {
  color: var(--muted-foreground) !important;
}

.weshare-design textarea {
  min-height: 5rem !important;
  resize: vertical !important;
}

/* Select dropdown styling */
.weshare-design select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E") !important;
  background-position: right 0.5rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.5em 1.5em !important;
  padding-right: 2.5rem !important;
  appearance: none !important;
}

/* Radio button styling - Based on Tailwind design */
.weshare-design input[type="radio"] {
  width: 1rem !important; /* h-4 w-4 */
  height: 1rem !important;
  margin: 0 !important;
  flex-shrink: 0 !important; /* shrink-0 */
  border: 1px solid var(--primary-color) !important; /* border border-primary */
  border-radius: 50% !important; /* rounded-full for radio */
  background: var(--background-color) !important; /* bg-background */
  cursor: pointer !important;
  appearance: none !important;
  position: relative !important;
}

.weshare-design input[type="radio"]:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px var(--primary-color) !important;
}

.weshare-design input[type="radio"]:disabled {
  cursor: not-allowed !important;
  opacity: 0.5 !important;
}

.weshare-design input[type="radio"]:checked {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.weshare-design input[type="radio"]:checked::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 0.375rem !important;
  height: 0.375rem !important;
  background: white !important;
  border-radius: 50% !important;
}

/* Radio group styling */
.weshare-design .radio-group,
.weshare-design .amp-radio-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important; /* space-y-2 */
  margin: 0 !important;
}

.weshare-design .radio-group .radio-label,
.weshare-design .amp-radio-group label {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important; /* space-x-2 */
  font-size: 0.875rem !important; /* text-sm */
  font-weight: 500 !important; /* font-medium */
  line-height: 1 !important; /* leading-none */
  cursor: pointer !important;
  color: var(--foreground-color) !important;
  margin: 0 !important;
}

/* File input styling */
.weshare-design input[type="file"] {
  width: 100% !important;
  padding: 0.5rem 0.75rem !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 6px !important;
  background: var(--background-color) !important;
  font-size: 0.875rem !important;
  color: var(--foreground-color) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.weshare-design input[type="file"]:hover {
  border-color: var(--primary-color) !important;
}

.weshare-design input[type="file"]:focus {
  outline: none !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 2px rgba(7, 43, 85, 0.1) !important;
}

/* Bordered container for checkbox groups */
.weshare-design .border {
  border: 1px solid var(--border-color) !important;
  border-radius: 6px !important;
  padding: 0.5rem 1rem !important;
  background: var(--background-color) !important;
  max-height: 200px !important;
  overflow-y: auto !important;
  margin-top: 0.5rem !important;
}

/* Select dropdown styling - Enhanced */
.weshare-design select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E") !important;
  background-position: right 0.5rem center !important;
  background-repeat: no-repeat !important;
  background-size: 1.5em 1.5em !important;
  padding-right: 2.5rem !important;
  appearance: none !important;
  cursor: pointer !important;
}

/* Button styling - Reusable */
.weshare-design .amp-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  padding: 0.625rem 1rem !important;
  border-radius: 6px !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-align: center !important;
  border: 1px solid transparent !important;
  text-decoration: none !important;
}

.weshare-design .amp-button-primary {
  background: var(--primary-color) !important;
  color: white !important;
  border-color: var(--primary-color) !important;
}

.weshare-design .amp-button-primary:hover {
  background: var(--primary-hover) !important;
  border-color: var(--primary-hover) !important;
}

.weshare-design .amp-button-secondary {
  background: transparent !important;
  color: var(--primary-color) !important;
  border-color: var(--border-color) !important;
}

.weshare-design .amp-button-secondary:hover {
  background: rgba(0, 124, 186, 0.05) !important;
  border-color: var(--primary-color) !important;
}

/* Help text styling */
.weshare-design .amp-form-help {
  font-size: 0.75rem !important;
  color: var(--muted-foreground) !important;
  line-height: 1.4 !important;
  margin-top: 0.25rem !important;
  margin-bottom: 0 !important;
}

/* Document/Video rows styling */
.weshare-design .document-row,
.weshare-design .video-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr auto !important;
  gap: 0.5rem !important;
  align-items: center !important;
  margin-bottom: 0.5rem !important;
  background: none;
    padding: 0;
    border: none;
}

.weshare-design .document-row:last-child,
.weshare-design .video-row:last-child {
  margin-bottom: 0 !important;
}

.weshare-design .document-row .amp-button,
.weshare-design .video-row .amp-button {
  padding: 0.5rem 0.75rem !important;
  font-size: 0.75rem !important;
  white-space: nowrap !important;
}

/* Form section styling */
.weshare-design .form-section {
  background: var(--card-background) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 8px !important;
  padding: 1.5rem !important;
  margin-bottom: 1rem !important;
}

.weshare-design .form-section-title {
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  color: var(--foreground-color) !important;
  margin: 0 0 1rem 0 !important;
  border-bottom: 1px solid var(--border-color) !important;
  padding-bottom: 0.5rem !important;
}
.weshare-design .checkbox-group,
.weshare-design .radio-group {
  display: flex !important;
  align-items: center !important; /* items-center instead of flex-start */
  gap: 0.5rem !important; /* space-x-2 */
  margin: 0 !important; /* Remove extra margins */
}

/* Wrapper for checkbox sections with spacing */
.weshare-design .form-group:has(.checkbox-group) {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important; /* space-y-2 */
}

.weshare-design input[type="checkbox"],
.weshare-design input[type="radio"] {
  width: 1rem !important; /* h-4 w-4 */
  height: 1rem !important;
  margin: 0 !important;
  flex-shrink: 0 !important; /* shrink-0 */
  border: 1px solid var(--primary-color) !important; /* border border-primary */
  border-radius: 0.125rem !important; /* rounded-sm */
  background: var(--background-color) !important; /* bg-background */
  cursor: pointer !important;
  appearance: none !important;
  position: relative !important;
}

.weshare-design input[type="checkbox"]:focus-visible,
.weshare-design input[type="radio"]:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 2px var(--background-color), 0 0 0 4px var(--primary-color) !important;
}

.weshare-design input[type="checkbox"]:disabled,
.weshare-design input[type="radio"]:disabled {
  cursor: not-allowed !important;
  opacity: 0.5 !important;
}

.weshare-design input[type="checkbox"]:checked,
.weshare-design input[type="radio"]:checked {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.weshare-design input[type="radio"] {
  border-radius: 50%!important;
}

.weshare-design input[type="checkbox"]:checked::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 0.375rem !important;
  height: 0.25rem !important;
  border: 2px solid white !important;
  border-top: none !important;
  border-right: none !important;
  transform: translate(-50%, -60%) rotate(-45deg) !important;
}

.weshare-design .checkbox-label,
.weshare-design .amp-checkbox-label,
.weshare-design .radio-label {
  font-size: 0.875rem !important; /* text-sm */
  font-weight: 500 !important; /* font-medium */
  line-height: 1 !important; /* leading-none */
  cursor: pointer !important;
  color: var(--foreground-color) !important;
  margin: 10px 0px !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

/* Help text styling for checkbox sections */
.weshare-design .form-group:has(.checkbox-group) .help-text {
  font-size: 0.75rem !important; /* text-xs */
  color: var(--muted-foreground) !important; /* text-muted-foreground */
  margin: 0 !important;
}

/* Disabled checkbox/radio label states */
.weshare-design .checkbox-label:has(input:disabled),
.weshare-design .radio-label:has(input:disabled) {
  cursor: not-allowed !important; /* peer-disabled:cursor-not-allowed */
  opacity: 0.7 !important; /* peer-disabled:opacity-70 */
}

/* Button styles */
.weshare-design .button {
  width: 100% !important;
  padding: 0.625rem 1rem !important;
  border: none !important;
  border-radius: var(--border-radius) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
}

.weshare-design .button-primary {
  background: var(--primary-color) !important;
  color: white !important;
}

.weshare-design .button-primary:hover {
  background: var(--primary-hover) !important;
}

.weshare-design .button-secondary {
  background: var(--muted-foreground) !important;
  color: white !important;
}

.weshare-design .button-secondary:hover {
  background: #475569 !important;
}

/* Helper text */
.weshare-design .help-text {
  font-size: 0.75rem !important;
  color: var(--muted-foreground) !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

/* Messages */
.weshare-design .message {
  padding: 0.75rem 1rem !important;
  border-radius: var(--border-radius) !important;
  margin-bottom: 1rem !important;
  font-size: 0.875rem !important;
}

.weshare-design .message-success {
  background: #ecfdf5 !important;
  border: 1px solid #d1fae5 !important;
  color: #065f46 !important;
}

.weshare-design .message-error {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #991b1b !important;
}

.weshare-design .message-warning {
  background: #fffbeb !important;
  border: 1px solid #fed7aa !important;
  color: #92400e !important;
}

.weshare-design .message ul {
  margin: 0 !important;
  padding-left: 1.25rem !important;
}

.weshare-design .message li {
  margin: 0.25rem 0 !important;
}

/* Password strength indicator */
.weshare-design .password-strength {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  margin-top: 0.25rem !important;
}

.weshare-design .password-strength.strong {
  color: var(--success-color) !important;
}

.weshare-design .password-strength.medium {
  color: var(--warning-color) !important;
}

.weshare-design .password-strength.weak {
  color: var(--error-color) !important;
}

/* Links */
.weshare-design .link {
  color: var(--muted-foreground) !important; /* text-muted-foreground */
  text-decoration: none !important;
  font-size: 0.875rem !important; /* text-sm */
  font-weight: 400 !important; /* Normal weight for muted text */
  transition: color 0.2s ease !important;
}

.weshare-design .link:hover {
  color: var(--primary-color) !important; /* hover:text-primary */
  text-decoration: none !important; /* No underline on hover */
}

/* Footer links */
.weshare-design .footer-links {
  text-align: center !important;
  margin-top: 1rem !important;
}

.weshare-design .footer-card {
  background: rgba(255, 255, 255, 0.9) !important; /* bg-white/90 */
  backdrop-filter: blur(4px) !important; /* backdrop-blur-sm */
  border-radius: 8px !important; /* rounded-lg */
  padding: 0.5rem !important; /* p-2 */
  display: inline-block !important; /* inline-block */
}

/* Account status section */
.weshare-design .account-disabled {
  text-align: center !important;
  padding: 2rem 1rem !important;
}

.weshare-design .account-disabled h3 {
  font-size: 1.125rem !important;
  font-weight: 500 !important;
  color: var(--foreground-color) !important;
  margin: 0 0 0.5rem 0 !important;
}

.weshare-design .account-disabled p {
  color: var(--muted-foreground) !important;
  margin: 0 0 1rem 0 !important;
  line-height: 1.5 !important;
}

/* CAPTCHA section - Based on Tailwind design */
.weshare-design .captcha-section {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important; /* space-y-2 */
  background-color: transparent !important;
  padding: 0 !important;
  border: none !important;
  border-radius: 0 !important;
}

.weshare-design .captcha-section > label {
  font-size: 0.875rem !important; /* text-sm */
  font-weight: 500 !important; /* font-medium */
  line-height: 1 !important; /* leading-none */
  color: var(--foreground-color) !important;
  margin: 0 !important;
}

.weshare-design .captcha-section > .help-text {
  font-size: 0.75rem !important; /* text-xs */
  color: var(--muted-foreground) !important; /* text-muted-foreground */
  margin: 0 0 0.5rem 0 !important; /* mb-2 */
}

.weshare-design .captcha-section > div {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important; /* space-y-2 */
}

.weshare-design .captcha-question {
  font-size: 0.875rem !important; /* text-sm */
  font-weight: 500 !important; /* font-medium */
  line-height: 1 !important; /* leading-none */
  color: var(--foreground-color) !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  display: block !important;
}

.weshare-design .captcha-section .help-text:last-child {
  font-size: 0.75rem !important; /* text-xs */
  color: var(--muted-foreground) !important; /* text-muted-foreground */
  margin: 0 !important;
}

/* Responsive design */
@media (max-width: 768px) {
  .weshare-design {
    padding: 0.5rem !important;
  }

  .weshare-design .main-content {
    max-width: 100% !important;
  }

  .weshare-design .tabs-list {
    grid-template-columns: 1fr !important;
    gap: 0.25rem !important;
  }

  .weshare-design .card-header,
  .weshare-design .card-content {
    padding: 1rem !important;
  }
}

/* Print styles */
@media print {
  .weshare-design::before,
  .weshare-design::after {
    display: none !important;
  }

  .weshare-design {
    background: white !important;
    box-shadow: none !important;
  }

  .weshare-design .card {
    border: 1px solid #ccc !important;
    box-shadow: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .weshare-design {
    --border-color: #000 !important;
    --muted-foreground: #333 !important;
  }

  .weshare-design .card {
    border: 2px solid #000 !important;
  }
}

/* Custom Date Picker - Fixed Implementation */
.weshare-design .date-picker-wrapper {
  position: relative !important;
  width: 100% !important;
}

.weshare-design .date-picker-input {
  height: 2.25rem !important;
  width: 100% !important;
  border-radius: 6px !important;
  border: 1px solid var(--border-color) !important;
  background: var(--background-color) !important;
  padding: 0.5rem 2.5rem 0.5rem 0.75rem !important;
  font-size: 0.875rem !important;
  color: var(--foreground-color) !important;
  font-family: inherit !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
}

.weshare-design .date-picker-input:focus {
  outline: none !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 2px rgba(7, 43, 85, 0.1) !important;
}

.weshare-design .date-picker-icon {
  position: absolute !important;
  right: 0.75rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 16px !important;
  height: 16px !important;
  pointer-events: none !important;
  opacity: 0.5 !important;
  z-index: 2 !important;
}

.weshare-design .date-picker-dropdown {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 0 !important;
  right: 0 !important;
  background: white !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  z-index: 1000 !important;
  padding: 12px !important;
  display: none !important;
  min-width: 280px !important;
  width: 100%;
}

.weshare-design .date-picker-dropdown.show {
  display: block !important;
}

.weshare-design .date-picker-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 12px !important;
}

.weshare-design .date-picker-nav {
  background: none !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 4px !important;
  width: 28px !important;
  height: 28px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  line-height: 1 !important;
}

.weshare-design .date-picker-nav:hover {
  background: rgba(0, 124, 186, 0.1) !important;
}

.weshare-design .date-picker-month {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--foreground-color) !important;
}

.weshare-design .date-picker-calendar {
  width: 100% !important;
}

.weshare-design .date-picker-days {
  display: grid !important;
  grid-template-columns: repeat(7, 1fr) !important;
  gap: 2px !important;
  width: 100% !important;
}

.weshare-design .date-picker-day-header {
  text-align: center !important;
  font-size: 0.75rem !important;
  color: var(--muted-foreground) !important;
  padding: 8px 4px !important;
  font-weight: normal !important;
  grid-column: span 1 !important;
}

.weshare-design .date-picker-day {
  width: 100% !important;
  height: 32px !important;
  border: none !important;
  background: none !important;
  cursor: pointer !important;
  border-radius: 6px !important;
  font-size: 0.875rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--foreground-color) !important;
  grid-column: span 1 !important;
  min-width: 32px !important;
}

.weshare-design .date-picker-day:hover {
  background: rgba(0, 124, 186, 0.1) !important;
}

.weshare-design .date-picker-day.selected {
  background: #cb2d38 !important;
  color: white !important;
}

.weshare-design .date-picker-day.other-month {
  color: var(--muted-foreground) !important;
  opacity: 0.5 !important;
}

.weshare-design .date-picker-day.today {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #ef4444 !important;
  font-weight: 500 !important;
}

.weshare-design .date-picker-buttons {
  display: flex !important;
  justify-content: space-between !important;
  margin-top: 12px !important;
  padding-top: 12px !important;
  border-top: 1px solid var(--border-color) !important;
}

.weshare-design .date-picker-btn {
  background: none !important;
  border: none !important;
  color: var(--primary-color) !important;
  cursor: pointer !important;
  font-size: 0.875rem !important;
  padding: 4px 8px !important;
}

.weshare-design .date-picker-btn:hover {
  text-decoration: underline !important;
}

/* Hidden native input */
.weshare-design .date-picker-hidden {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
  left: -9999px !important;
}

.page-spacing{
  padding: 100px 0px;
  background-color: #fff;
}
.py-5{
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .weshare-design *,
  .weshare-design *::before,
  .weshare-design *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
