@import url(https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;600;700&family=DM+Sans:wght@400;500;600;700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;600;700&family=DM+Sans:wght@400;500;600;700&display=swap);
.circleplayer-audio-player {
  display: flex;
  justify-content: center;
  align-items: center;
}

.circleplayer-circle {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.circleplayer-progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-90deg);
}

.circleplayer-background-ring {
  transition: stroke-dashoffset 0.35s;
  transform-origin: 50% 50%;
}

.circleplayer-progress-ring__circle {
  transition: stroke-dashoffset 0.35s;
  transform-origin: 50% 50%;
}

.circleplayer-time {
  position: absolute;
  text-align: center;
  font-weight: bold;
  bottom: 25%;
}

.circleplayer-total-time {
  position: absolute;
  text-align: center;
  top: 25%;
}

.circleplayer-play-pause-icon {
  position: absolute;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.circleplayer-circle:hover .circleplayer-play-pause-icon {
  opacity: 1;
}
.waveform-audio-player {
  width: 100%;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
}

.waveform-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.waveform-play-button {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
  flex-shrink: 0;
}

.waveform-play-button:hover:not(:disabled) {
  border-color: #348FE2;
  box-shadow: 0 2px 8px rgba(52, 143, 226, 0.3);
  transform: scale(1.05);
}

.waveform-play-button:active:not(:disabled) {
  transform: scale(0.95);
}

.waveform-play-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.waveform-loading-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid #e0e0e0;
  border-top-color: #348FE2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.waveform-time-display {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #666;
  min-width: 100px;
  flex-shrink: 0;
}

.waveform-current-time {
  font-weight: 600;
  color: #333;
}

.waveform-time-separator {
  color: #999;
}

.waveform-duration {
  color: #666;
}

.waveform-volume-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.waveform-volume-button {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  font-size: 16px;
}

.waveform-volume-button:hover {
  opacity: 0.7;
}

.waveform-volume-slider {
  width: 80px;
  height: 4px;
  border-radius: 2px;
  background: #e0e0e0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}

.waveform-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #348FE2;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.waveform-volume-slider::-webkit-slider-thumb:hover {
  background: #1a5490;
  transform: scale(1.2);
}

.waveform-volume-slider::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #348FE2;
  cursor: pointer;
  border: none;
  -moz-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.waveform-volume-slider::-moz-range-thumb:hover {
  background: #1a5490;
  transform: scale(1.2);
}

.waveform-container {
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  background: white;
  transition: opacity 0.3s ease;
}

.waveform-loading-message {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-top: 10px;
  font-style: italic;
}

/* Responsive design */
@media (max-width: 600px) {
  .waveform-audio-player {
    padding: 12px;
  }

  .waveform-controls {
    gap: 10px;
  }

  .waveform-play-button {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .waveform-time-display {
    font-size: 12px;
  }

  .waveform-volume-control {
    width: 100%;
    margin-left: 0;
    margin-top: 5px;
  }

  .waveform-volume-slider {
    flex: 1 1;
  }
}

/* Add some visual feedback for the waveform on hover */
.waveform-container:hover {
  box-shadow: 0 0 0 2px rgba(52, 143, 226, 0.2);
}


/* AvatarImageEditor Styles */

.avatar-editor-modal .modal-content {
  border-radius: 16px;
  overflow: hidden;
  border: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.avatar-editor-modal .modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-bottom: none;
  padding: 20px 24px;
}

.avatar-editor-modal .modal-title {
  font-weight: 600;
  font-size: 1.25rem;
}

.avatar-editor-modal .btn-close {
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.avatar-editor-body {
  padding: 24px;
  min-height: 350px;
}

/* Upload Zone */
.avatar-editor-body .upload-zone {
  border: 3px dashed #cbd5e1;
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f8fafc;
}

.avatar-editor-body .upload-zone:hover {
  border-color: #3b82f6;
  background: #eff6ff;
}

.avatar-editor-body .upload-zone.dragging {
  border-color: #3b82f6;
  background: #dbeafe;
  transform: scale(1.02);
}

.upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.upload-icon {
  font-size: 64px;
  color: #94a3b8;
  margin-bottom: 16px;
}

.upload-content h4 {
  margin: 0;
  color: #334155;
  font-weight: 600;
}

.upload-content p {
  margin: 0;
  color: #64748b;
}

.upload-hint {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 8px;
}

/* Current Avatar Preview */
.current-avatar-preview {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.current-avatar-preview .current-label {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 12px;
}

.current-avatar-preview img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 3px solid #e2e8f0;
}

/* Crop Container */
.crop-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cropper-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  background: #1e293b;
  border-radius: 12px;
  overflow: hidden;
}

/* Override react-easy-crop styles for circular crop */
.cropper-wrapper .reactEasyCrop_Container {
  border-radius: 12px;
}

/* Make the crop area more visible with a nice border */
.cropper-wrapper .reactEasyCrop_CropArea {
  border: 3px solid #fff !important;
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.6) !important;
}

/* Circular crop area styling */
.cropper-wrapper .reactEasyCrop_CropAreaRound {
  border-radius: 50% !important;
}

/* Zoom Controls */
.zoom-controls {
  display: flex;
  justify-content: center;
  padding: 16px;
  background: #f1f5f9;
  border-radius: 10px;
}

.zoom-controls label {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 300px;
  margin: 0;
}

.zoom-controls i {
  color: #64748b;
  font-size: 1rem;
}

.zoom-slider {
  flex: 1 1;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  height: 6px;
  background: #cbd5e1;
  border-radius: 3px;
  outline: none;
}

.zoom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #3b82f6;
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: transform 0.2s ease, box-shadow 0.2s ease;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zoom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.zoom-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #3b82f6;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

/* Saving Indicator */
.saving-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 250px;
  text-align: center;
}

.saving-indicator h4 {
  margin: 0;
  color: #334155;
}

.saving-indicator .progress {
  width: 100%;
  max-width: 300px;
  height: 8px;
  border-radius: 4px;
}

/* Modal Footer */
.avatar-editor-modal .modal-footer {
  border-top: 1px solid #e2e8f0;
  padding: 16px 24px;
  gap: 12px;
}

.avatar-editor-modal .modal-footer .btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.avatar-editor-modal .modal-footer .btn i {
  font-size: 0.9rem;
}

.avatar-editor-modal .modal-footer .btn-success {
  background: #10b981;
  border-color: #10b981;
}

.avatar-editor-modal .modal-footer .btn-success:hover {
  background: #059669;
  border-color: #059669;
}

/* Responsive */
@media (max-width: 576px) {
  .avatar-editor-body {
    padding: 16px;
  }

  .cropper-wrapper {
    height: 250px;
  }

  .avatar-editor-body .upload-zone {
    padding: 30px 16px;
  }

  .upload-icon {
    font-size: 48px;
  }
}


/* CoverImageEditor Styles */

.cover-editor-modal .modal-content {
  border-radius: 16px;
  overflow: hidden;
}

.cover-editor-modal .modal-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  border-bottom: none;
  padding: 20px 24px;
}

.cover-editor-modal .modal-title {
  font-family: 'Crimson Pro', Georgia, serif;
  font-weight: 600;
}

.cover-editor-modal .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.cover-editor-body {
  padding: 0;
  min-height: 400px;
}

/* Upload Zone */
.upload-zone {
  padding: 40px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.upload-zone.drag-active {
  background: #e0f2fe;
  border: 3px dashed #0ea5e9;
}

.upload-content {
  text-align: center;
}

.upload-icon {
  font-size: 4rem;
  color: #94a3b8;
  margin-bottom: 20px;
}

.upload-zone.drag-active .upload-icon {
  color: #0ea5e9;
  transform: scale(1.1);
}

.upload-content h4 {
  font-family: 'Crimson Pro', Georgia, serif;
  color: #1a1a2e;
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.upload-content p {
  color: #64748b;
  margin: 0 0 16px;
}

.upload-content .btn {
  padding: 12px 24px;
  font-weight: 500;
  border-radius: 8px;
}

.upload-content .btn i {
  margin-right: 8px;
}

.upload-hint {
  margin-top: 24px !important;
  font-size: 0.85rem;
  color: #94a3b8 !important;
  line-height: 1.6;
}

/* Current Cover Preview */
.current-cover-preview {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  width: 100%;
  max-width: 400px;
}

.current-cover-preview .current-label {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 10px;
  font-weight: 500;
}

.current-cover-preview img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Crop Container */
.crop-container {
  display: flex;
  flex-direction: column;
  height: 450px;
}

.cropper-wrapper {
  position: relative;
  flex: 1 1;
  background: #1a1a2e;
}

/* Override react-easy-crop styles */
.reactEasyCrop_Container {
  background: #1a1a2e !important;
}

.reactEasyCrop_CropArea {
  border: 2px solid #e94560 !important;
  box-shadow: 0 0 0 9999em rgba(0, 0, 0, 0.6) !important;
}

/* Zoom Control */
.zoom-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.zoom-control i {
  color: #64748b;
  font-size: 1rem;
}

.zoom-slider {
  width: 200px;
  height: 6px;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  background: #e2e8f0;
  border-radius: 3px;
  outline: none;
}

.zoom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e94560;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(233, 69, 96, 0.3);
  -webkit-transition: transform 0.1s ease;
  transition: transform 0.1s ease;
}

.zoom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.zoom-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e94560;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 6px rgba(233, 69, 96, 0.3);
}

.crop-hint {
  text-align: center;
  padding: 12px;
  background: #f8fafc;
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}

.crop-hint i {
  color: #e94560;
  margin-right: 4px;
}

/* Saving State */
.saving-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 40px;
  gap: 20px;
}

.saving-state h4 {
  font-family: 'Crimson Pro', Georgia, serif;
  color: #1a1a2e;
  margin: 0;
}

.saving-state .progress {
  width: 100%;
  max-width: 300px;
  height: 8px;
  border-radius: 4px;
}

.saving-state .progress-bar {
  background: linear-gradient(135deg, #e94560, #ff6b6b);
}

/* Modal Footer */
.cover-editor-modal .modal-footer {
  border-top: 1px solid #e2e8f0;
  padding: 16px 24px;
  background: #f8fafc;
}

.cover-editor-modal .modal-footer .btn {
  padding: 10px 20px;
  font-weight: 500;
  border-radius: 8px;
}

.cover-editor-modal .modal-footer .btn i {
  margin-right: 6px;
}

.cover-editor-modal .modal-footer .btn-success {
  background: linear-gradient(135deg, #10b981, #34d399);
  border: none;
}

.cover-editor-modal .modal-footer .btn-success:hover {
  background: linear-gradient(135deg, #059669, #10b981);
}

/* Responsive */
@media (max-width: 768px) {
  .upload-zone {
    padding: 24px;
  }

  .upload-icon {
    font-size: 3rem;
  }

  .upload-content h4 {
    font-size: 1.2rem;
  }

  .crop-container {
    height: 350px;
  }

  .zoom-slider {
    width: 150px;
  }
}


/* CompanyProfilePage Styles - Modern Social Media Aesthetic */

/* Import a distinctive font */

.company-profile-page {
  --primary-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  --accent-color: #e94560;
  --accent-hover: #ff6b6b;
  --card-bg: #ffffff;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --card-hover-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --text-primary: #1a1a2e;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --warning-color: #f59e0b;

  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  min-height: 100vh;
  padding-bottom: 60px;
}

/* Hero Section */
.company-hero {
  background: var(--primary-gradient);
  background-size: cover;
  background-position: center;
  min-height: 320px;
  position: relative;
  border-radius: 0 0 30px 30px;
  overflow: hidden;
}

.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 46, 0.4) 0%,
    rgba(26, 26, 46, 0.85) 70%,
    rgba(26, 26, 46, 0.95) 100%
  );
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px 20px;
}

.hero-content {
  text-align: center;
  color: #fff;
  max-width: 600px;
}

.company-avatar {
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
  isolation: isolate;
}

.company-avatar-editable {
  position: relative;
  cursor: pointer;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.company-avatar-editable:hover {
  transform: scale(1.05);
}

.company-avatar-editable:hover .avatar-edit-overlay {
  opacity: 1;
  visibility: visible;
}

.company-avatar > div {
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background: #fff;
}

.company-avatar > div img {
  display: block;
}

.avatar-edit-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82) !important;
  width: 100%;
  height: 100%;
  border: 4px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  color: white;
  font-size: 32px;
  z-index: 10;
  pointer-events: none;
}

.avatar-edit-overlay i {
  color: #fff;
  font-size: 32px;
}

.company-name {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 12px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.company-tagline {
  font-size: 1.1rem;
  opacity: 0.9;
  margin: 0 0 20px;
  font-weight: 400;
  line-height: 1.6;
}

.company-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.company-stats .stat {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.company-stats .stat i {
  color: var(--accent-color);
}

/* About Section */
.about-section {
  background: var(--card-bg);
  margin: -20px 20px 24px;
  padding: 28px 32px;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  position: relative;
  z-index: 10;
}

.about-section h3 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-section h3 i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

.about-section p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
}

.company-formed {
  margin-top: 12px !important;
  font-size: 0.85rem !important;
  color: var(--text-muted) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.company-formed i {
  color: var(--accent-color);
  font-size: 0.9rem;
}

/* Members Section */
.members-section {
  margin: 0 20px;
}

.members-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.members-header h3 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.members-header h3 i {
  color: var(--accent-color);
}

/* Search Box */
.search-box {
  position: relative;
  width: 280px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 12px 40px 12px 44px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--card-bg);
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.search-input::-moz-placeholder {
  color: var(--text-muted);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.clear-search {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--border-color);
  border: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 0.7rem;
  transition: all 0.2s ease;
}

.clear-search:hover {
  background: var(--accent-color);
  color: white;
}

/* Privacy Info */
.privacy-info {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: #0369a1;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}

.privacy-info i {
  color: #0ea5e9;
  font-size: 1rem;
  flex-shrink: 0;
}

.privacy-info a {
  color: #0284c7;
  text-decoration: underline;
  font-weight: 500;
}

.privacy-info a:hover {
  color: #0369a1;
}

/* Members Grid */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-gap: 20px;
  gap: 20px;
}

/* Member Card */
.member-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
  border-color: var(--accent-color);
}

.member-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.member-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.member-avatar > div:first-child {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Role Badges */
.role-badge {
  display: block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 10px;
  text-align: center;
}

.role-producer {
  background: linear-gradient(135deg, #e94560, #ff6b6b);
  color: white;
}

.role-stage-manager {
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  color: white;
}

.role-tech-crew {
  background: linear-gradient(135deg, #0891b2, #22d3ee);
  color: white;
}

.role-performer {
  background: linear-gradient(135deg, #059669, #34d399);
  color: white;
}

/* Member Info */
.member-info {
  text-align: center;
}

.member-name {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.member-joined {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin: 0 0 8px;
  font-style: italic;
}

.member-location {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.member-location i {
  color: var(--accent-color);
}

.member-bio {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Member Contact */
.member-contact {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.contact-link:hover {
  background: var(--accent-color);
  color: white;
}

.contact-link i {
  width: 16px;
  text-align: center;
}

.contact-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Pagination */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination-btn {
  min-width: 40px;
  height: 40px;
  border: none;
  background: var(--card-bg);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
}

.pagination-btn.active {
  background: var(--accent-color);
  color: white;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-info {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-left: 16px;
}

/* Loading State */
.loading-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.loading-spinner {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 16px;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-state p {
  font-size: 1.1rem;
  margin: 0;
}

/* Error Message */
.error-message {
  background: #fef2f2;
  color: #dc2626;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

/* Access Denied */
.access-denied {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-secondary);
}

.access-denied i {
  font-size: 4rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  opacity: 0.5;
}

.access-denied h2 {
  font-family: 'Crimson Pro', Georgia, serif;
  color: var(--text-primary);
  margin: 0 0 12px;
  font-size: 1.8rem;
}

.access-denied p {
  font-size: 1.1rem;
  margin: 0;
}

/* Cover Edit Button */
.company-profile-page .cover-edit-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
}

.company-profile-page .cover-edit-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.company-profile-page .cover-edit-btn i {
  font-size: 0.9rem;
}

/* Admin Badge */
.admin-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.admin-badge i {
  color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .company-hero {
    min-height: 280px;
    border-radius: 0 0 20px 20px;
  }

  .hero-overlay {
    min-height: 280px;
    padding: 30px 16px;
  }

  .company-name {
    font-size: 1.8rem;
  }

  .company-tagline {
    font-size: 1rem;
  }

  .about-section {
    margin: -15px 12px 20px;
    padding: 20px 24px;
  }

  .members-section {
    margin: 0 12px;
  }

  .members-header {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    width: 100%;
  }

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

  .member-card {
    padding: 20px;
  }

  .pagination-info {
    width: 100%;
    text-align: center;
    margin: 12px 0 0;
  }

  .admin-badge {
    bottom: 12px;
    right: 12px;
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}

/* Dark mode support (optional, can be enabled by adding class) */
.company-profile-page.dark-mode {
  --card-bg: #1e293b;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-color: #334155;
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
}

/* Animation for card entrance */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.member-card {
  animation: fadeInUp 0.4s ease forwards;
}

.member-card:nth-child(1) { animation-delay: 0.05s; }
.member-card:nth-child(2) { animation-delay: 0.1s; }
.member-card:nth-child(3) { animation-delay: 0.15s; }
.member-card:nth-child(4) { animation-delay: 0.2s; }
.member-card:nth-child(5) { animation-delay: 0.25s; }
.member-card:nth-child(6) { animation-delay: 0.3s; }
.member-card:nth-child(7) { animation-delay: 0.35s; }
.member-card:nth-child(8) { animation-delay: 0.4s; }
.member-card:nth-child(9) { animation-delay: 0.45s; }
.member-card:nth-child(10) { animation-delay: 0.5s; }
.member-card:nth-child(11) { animation-delay: 0.55s; }
.member-card:nth-child(12) { animation-delay: 0.6s; }


.dark-pagination .page-link {
  background-color: black;
  color: white;
}

.dark-pagination .page-link:hover {
  background-color: #333;
  color: white;
}

.dark-pagination .page-item.active .page-link {
  background-color: #49b6d6;
  border-color: #49b6d6;
}


.dashboard-avatar-wrapper {
  position: relative;
  isolation: isolate;
  display: inline-block;
  cursor: pointer;
}

.dashboard-avatar-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.82);
  border: 3px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  color: #fff;
  font-size: 28px;
  z-index: 10;
  pointer-events: none;
}

.dashboard-avatar-wrapper:hover .dashboard-avatar-overlay {
  opacity: 1;
  visibility: visible;
}


.color-picker {
  display: flex;
  justify-content: center;
  align-items: center;  
}

.color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid transparent;
  margin: 0 4px;
  cursor: pointer;
}

.color-swatch.selected {
  border: 2px solid black;
  border-radius: 0; /* Square border for selected item */
}

.color-swatch.white-border {
  border: 2px solid black; /* Border around white entry */
}

/* Ensure the list item has a consistent width */
.submitted-act-item {
  max-width: 100%; /* Ensure it doesn't overflow the container */
  word-wrap: break-word; /* Break long words if necessary */
}

/* Style the tagbox to wrap tags */
.tagbox {
  display: flex;
  flex-wrap: wrap; /* Allow tags to wrap to the next line */
  gap: 0.5rem; /* Add spacing between tags */
  max-width: 100%; /* Prevent overflow */
  overflow: hidden; /* Hide any overflowing content */
}

/* Base input tweaks shared for phone inputs */
input.PhoneInputInput { 
    border: 0 !important;
    color: rgb(32, 37, 42);
    font-family: "Open Sans", sans-serif;
}

/* Align react-phone-input-2 flag + input heights, especially when disabled */
.react-tel-input .form-control {
    height: 48px;
    padding-left: 56px; /* leaves space for flag dropdown */
    border-radius: 10px;
    border: 2px solid #d9d9d9;
    border: 2px solid var(--settings-border, #d9d9d9);
    font-size: 1rem;
}

.react-tel-input .flag-dropdown,
.react-tel-input .selected-flag {
    height: 48px;
}

.react-tel-input .selected-flag .flag {
    transform: scale(0.9); /* keep flag closer to input height */
}

.react-tel-input .flag-dropdown.disabled,
.react-tel-input .form-control[disabled] {
    background-color: #f5f5f5;
    cursor: default;
}

/* Remove inner shadow from disabled input */
.react-tel-input .form-control[disabled] {
    box-shadow: none;
    color: #555;
}

/* SettingsPage Styles - Modern social-media inspired design */

:root {
  --settings-primary: #3b82f6;
  --settings-primary-dark: #2563eb;
  --settings-success: #10b981;
  --settings-danger: #ef4444;
  --settings-warning: #f59e0b;
  --settings-bg: #f8fafc;
  --settings-card-bg: #ffffff;
  --settings-text: #1e293b;
  --settings-text-muted: #64748b;
  --settings-border: #e2e8f0;
  --settings-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.settings-page {
  min-height: 100vh;
  background: #f8fafc;
  background: var(--settings-bg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Hero Section with Cover Image */
.settings-hero {
  position: relative;
  min-height: 280px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.settings-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
  display: flex;
  align-items: flex-end;
  padding: 30px 40px;
  min-height: 280px;
}

.settings-user-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.settings-avatar {
  position: relative;
  isolation: isolate;
  cursor: pointer;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.settings-avatar:hover {
  transform: scale(1.05);
}

.settings-avatar:hover .avatar-edit-overlay {
  opacity: 1;
  visibility: visible;
}

.settings-avatar > div {
  border: 4px solid white !important;
  border-radius: 50%;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background: #fff;
}

.settings-avatar > div img {
  display: block;
}

.avatar-edit-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82) !important;
  width: 100%;
  height: 100%;
  border: 4px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  color: white;
  font-size: 32px;
  z-index: 10;
  pointer-events: none;
}

.avatar-edit-overlay i {
  color: #fff;
  font-size: 32px;
}

.settings-user-text h1 {
  margin: 0;
  color: white;
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.settings-username {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Cover Edit Button */
.settings-page .cover-edit-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  width: auto;
}

.settings-page .cover-edit-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Main Content Layout */
.settings-content {
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-gap: 32px;
  gap: 32px;
  position: relative;
}

/* Sidebar Navigation */
.settings-nav {
  background: #ffffff;
  background: var(--settings-card-bg);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  box-shadow: var(--settings-shadow);
  height: -moz-fit-content;
  height: fit-content;
  position: sticky;
  top: 24px;
}

.settings-nav .nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  background: transparent;
  color: #64748b;
  color: var(--settings-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.settings-nav .nav-item:hover {
  background: #f8fafc;
  background: var(--settings-bg);
  color: #1e293b;
  color: var(--settings-text);
}

.settings-nav .nav-item.active {
  background: #3b82f6;
  background: var(--settings-primary);
  color: white;
}

.settings-nav .nav-item i {
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

/* Form Container */
.settings-form-container {
  background: #ffffff;
  background: var(--settings-card-bg);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  box-shadow: var(--settings-shadow);
}

/* Alerts */
.settings-form-container .alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.alert i {
  margin-top: 3px;
}

.alert ul {
  margin: 0;
  padding-left: 18px;
}

/* Section Styles */
.settings-section h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  color: #1e293b;
  color: var(--settings-text);
  font-size: 1.5rem;
  font-weight: 700;
  padding-bottom: 16px;
  border-bottom: 2px solid #e2e8f0;
  border-bottom: 2px solid var(--settings-border);
}

.settings-section h2 i {
  color: #3b82f6;
  color: var(--settings-primary);
}

.section-description {
  color: #64748b;
  color: var(--settings-text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.subsection-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  color: var(--settings-text);
  margin: 0 0 16px;
  padding-top: 0;
  border-top: none;
}

.subsection-title.danger {
  color: #ef4444;
  color: var(--settings-danger);
}

/* Form Elements */
.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #1e293b;
  color: var(--settings-text);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border: 2px solid var(--settings-border);
  border-radius: 10px;
  font-size: 1rem;
  color: #1e293b;
  color: var(--settings-text);
  background: #ffffff;
  background: var(--settings-card-bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  border-color: var(--settings-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: #64748b;
  color: var(--settings-text-muted);
}

.form-hint.verified {
  color: #10b981;
  color: var(--settings-success);
}

.form-hint.verified i {
  margin-right: 4px;
}

.form-select {
  padding: 10px 14px;
  border: 2px solid #e2e8f0;
  border: 2px solid var(--settings-border);
  border-radius: 8px;
  font-size: 0.95rem;
  background: #ffffff;
  background: var(--settings-card-bg);
  cursor: pointer;
}

/* Phone Input Group */
.phone-input-group {
  display: flex;
  gap: 12px;
}

.phone-input-group .phone-input {
  flex: 1 1;
}

.phone-input-group .PhoneInput {
  flex: 1 1;
}

.phone-input-group .PhoneInputInput {
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border: 2px solid var(--settings-border);
  border-radius: 10px;
  font-size: 1rem;
  width: 100%;
}

.phone-input-group .PhoneInputInput:focus {
  outline: none;
  border-color: #3b82f6;
  border-color: var(--settings-primary);
}

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
}

.consent-checkbox label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex: 1 1;
  font-size: 0.95rem;
  color: #1e293b;
  color: var(--settings-text);
}

.consent-checkbox label input {
  margin-top: 3px;
}

.consent-confirm-btn {
  white-space: nowrap;
  align-self: center;
}

.verification-input-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  padding: 12px;
  background: #fffbe6;
  border: 1px solid #fcd34d;
  border-radius: 10px;
}

.verification-title {
  font-weight: 700;
  font-size: 1rem;
  color: #92400e;
}

.verification-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #92400e;
  font-weight: 600;
  font-size: 0.95rem;
}

.verification-actions {
  display: flex;
  gap: 12px;
}

.verification-actions .form-input {
  flex: 1 1;
}

.phone-confirmed-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #0f9c5a;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.phone-confirmed-badge i {
  color: #0f9c5a;
}

.consent-checkbox {
  margin-top: 16px;
  padding: 16px;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
}

.consent-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #1e293b;
  color: var(--settings-text);
}

.consent-checkbox input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}

/* Toggle Switches */
.toggle-group {
  margin-bottom: 20px;
}

.toggle-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: #f8fafc;
  background: var(--settings-bg);
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.toggle-label:hover {
  background: #f1f5f9;
}

.toggle-info {
  flex: 1 1;
}

.toggle-info strong {
  display: block;
  color: #1e293b;
  color: var(--settings-text);
  margin-bottom: 4px;
}

.toggle-info span {
  font-size: 0.875rem;
  color: #64748b;
  color: var(--settings-text-muted);
}

.toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #cbd5e1;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background: #3b82f6;
  background: var(--settings-primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

/* Sleep Hours Selector */
.sleep-hours {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  background: #f8fafc;
  background: var(--settings-bg);
  border-radius: 10px;
}

.sleep-hours span {
  color: #64748b;
  color: var(--settings-text-muted);
}

/* Buttons - scoped to settings page to avoid affecting global styles */
.settings-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.settings-page .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.settings-page .btn-primary {
  background: #3b82f6;
  background: var(--settings-primary);
  color: white;
}

.settings-page .btn-primary:hover:not(:disabled) {
  background: #2563eb;
  background: var(--settings-primary-dark);
  transform: translateY(-1px);
}

.settings-page .btn-success {
  background: #10b981;
  background: var(--settings-success);
  color: white;
}

.settings-page .btn-success:hover:not(:disabled) {
  background: #059669;
}

.settings-page .btn-danger {
  background: #ef4444;
  background: var(--settings-danger);
  color: white;
}

.settings-page .btn-danger:hover:not(:disabled) {
  background: #dc2626;
}

.settings-page .btn-save {
  margin-top: 32px;
  width: 100%;
  padding: 14px 24px;
}

/* Two-Factor Authentication */
.twofa-info {
  padding: 20px;
  background: #f8fafc;
  background: var(--settings-bg);
  border-radius: 12px;
}

.twofa-info p {
  margin: 0 0 16px;
  line-height: 1.6;
  color: #1e293b;
  color: var(--settings-text);
}

.twofa-info.enabled p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #10b981;
  color: var(--settings-success);
  font-weight: 500;
}

.twofa-apps {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #64748b;
  color: var(--settings-text-muted);
}

.twofa-apps a {
  color: #3b82f6;
  color: var(--settings-primary);
  text-decoration: none;
  margin-left: 4px;
}

.twofa-apps a:hover {
  text-decoration: underline;
}

.twofa-deactivate {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.twofa-deactivate .form-input {
  flex: 1 1;
}

/* Danger Zone */
.danger-zone {
  margin-top: 24px;
  padding: 24px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
}

.danger-zone p {
  margin: 0 0 12px;
  line-height: 1.6;
}

.danger-link {
  color: #ef4444;
  color: var(--settings-danger);
  font-weight: 600;
}

.warning-text {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #991b1b;
  font-size: 0.9rem;
}

.warning-text i {
  margin-top: 3px;
  color: #f59e0b;
  color: var(--settings-warning);
}

/* Timezone Select Styling */
.timezone-select {
  font-size: 1rem;
}

.timezone-select .css-13cymwt-control,
.timezone-select .css-t3ipsp-control {
  border: 2px solid #e2e8f0;
  border: 2px solid var(--settings-border);
  border-radius: 10px;
  min-height: 48px;
}

.timezone-select .css-t3ipsp-control {
  border-color: #3b82f6;
  border-color: var(--settings-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Responsive Design */
@media (max-width: 900px) {
  .settings-content {
    grid-template-columns: 1fr;
    margin-top: -40px;
  }

  .settings-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    padding: 8px;
    gap: 4px;
  }

  .settings-nav .nav-item {
    flex-shrink: 0;
    padding: 10px 16px;
  }

  .settings-nav .nav-item span {
    display: none;
  }

  .settings-nav .nav-item i {
    margin: 0;
  }

  .settings-hero {
    min-height: 220px;
  }

  .settings-hero .hero-overlay {
    padding: 20px;
    min-height: 220px;
  }

  .settings-user-text h1 {
    font-size: 1.5rem;
  }

  .settings-form-container {
    padding: 20px;
  }
}

@media (max-width: 600px) {
  .settings-content {
    padding: 0 16px 40px;
  }

  .settings-user-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .settings-avatar > div {
    width: 80px !important;
    height: 80px !important;
  }

  .phone-input-group {
    flex-direction: column;
  }

  .twofa-deactivate {
    flex-direction: column;
  }

  .sleep-hours {
    flex-wrap: wrap;
  }
}

/* Cancel Account Modal */
.cancel-account-modal .modal-header {
  border-bottom: 2px solid #ef4444;
  border-bottom: 2px solid var(--settings-danger);
}

.cancel-account-modal .modal-title {
  color: #ef4444;
  color: var(--settings-danger);
  font-weight: 600;
}

.cancel-account-modal .modal-body ul {
  margin: 16px 0;
  padding-left: 24px;
}

.cancel-account-modal .modal-body li {
  margin-bottom: 8px;
  color: #1e293b;
  color: var(--settings-text);
}

.cancel-account-modal .modal-body code {
  background: #f8fafc;
  background: var(--settings-bg);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
  color: #ef4444;
  color: var(--settings-danger);
}

.cancel-account-modal .form-input {
  width: 100%;
  padding: 12px;
  border: 2px solid #e2e8f0;
  border: 2px solid var(--settings-border);
  border-radius: 8px;
  font-size: 1rem;
  margin-top: 8px;
}

.cancel-account-modal .form-input:focus {
  border-color: #ef4444;
  border-color: var(--settings-danger);
  outline: none;
}

.cancel-account-modal .modal-footer {
  border-top: 1px solid #e2e8f0;
  border-top: 1px solid var(--settings-border);
}

.cancel-account-modal .btn-danger {
  background: #ef4444;
  background: var(--settings-danger);
}

.cancel-account-modal .btn-danger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


/* UserProfilePage Styles - Modern Social Media Aesthetic */
/* Matching CompanyProfilePage styling */

.user-profile-page {
  --primary-gradient: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  --accent-color: #e94560;
  --accent-hover: #ff6b6b;
  --card-bg: #ffffff;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --card-hover-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --text-primary: #1a1a2e;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border-color: #e2e8f0;
  --success-color: #10b981;
  --warning-color: #f59e0b;

  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  min-height: 100vh;
  padding-bottom: 60px;
}

/* Hero Section */
.user-hero {
  background: var(--primary-gradient);
  background-size: cover;
  background-position: center;
  min-height: 380px;
  position: relative;
  border-radius: 0 0 30px 30px;
  overflow: hidden;
}

.user-hero .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(26, 26, 46, 0.3) 0%,
    rgba(26, 26, 46, 0.75) 60%,
    rgba(26, 26, 46, 0.95) 100%
  );
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
}

.user-hero .hero-content {
  text-align: center;
  color: #fff;
  max-width: 600px;
}

.user-avatar {
  margin-bottom: 20px;
  display: inline-block;
}

.user-avatar > div {
  border: 4px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  background: #fff;
}

.user-name {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 8px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.user-username {
  font-size: 1.1rem;
  opacity: 0.8;
  margin: 0 0 12px;
  font-weight: 400;
}

.user-location {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.user-location i {
  color: var(--accent-color);
}

.user-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.user-stats .stat {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-stats .stat i {
  color: var(--accent-color);
}

/* Cover Edit Button */
.user-profile-page .cover-edit-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
}

.user-profile-page .cover-edit-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

/* Bio Section */
.bio-section {
  background: var(--card-bg);
  margin: -20px 20px 24px;
  padding: 28px 32px;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  position: relative;
  z-index: 10;
}

.bio-section h3 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bio-section h3 i {
  color: var(--accent-color);
  font-size: 1rem;
}

.bio-section p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
  font-size: 1.05rem;
}

/* Profile Content */
.profile-content {
  margin: 0 20px;
  display: grid;
  grid-gap: 24px;
  gap: 24px;
}

/* Profile Section */
.profile-section {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--card-shadow);
}

.profile-section h3 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
}

.profile-section h3 i {
  color: var(--accent-color);
}

/* Cards List */
.cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Company Card */
.company-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.company-card:hover {
  background: #fff;
  border-color: var(--accent-color);
  transform: translateX(4px);
  box-shadow: var(--card-shadow);
}

.company-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.company-card-icon.has-avatar {
  background: transparent;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
}

.company-card-icon i {
  color: white;
  font-size: 1.2rem;
}

.company-card-info {
  flex: 1 1;
  min-width: 0;
}

.company-card-info h4 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.company-card-info .join-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.company-card-arrow {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.company-card:hover .company-card-arrow {
  color: var(--accent-color);
  transform: translateX(4px);
}

/* Act Card */
.act-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
}

.act-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.act-card-icon i {
  color: white;
  font-size: 1.2rem;
}

.act-card-info {
  flex: 1 1;
}

.act-card-info h4 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.act-card-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 4px 0 0;
}

/* Show Card */
.show-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 12px;
}

.show-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #7c3aed, #a78bfa);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.show-card-icon i {
  color: white;
  font-size: 1.2rem;
}

.show-card-info {
  flex: 1 1;
}

.show-card-info h4 {
  font-family: 'Crimson Pro', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
}

.show-card-info .show-company {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0 0 8px;
  font-weight: 500;
}

.show-card-info .show-venue,
.show-card-info .show-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0 0 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.show-card-info .show-venue i,
.show-card-info .show-date i {
  color: var(--accent-color);
  width: 14px;
}

/* See More Button */
.see-more-button {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 12px auto 0;
  padding: 8px 14px;
  font-family: 'Crimson Pro', Georgia, serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-color);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  transition: all 0.2s ease;
}

.see-more-button:hover {
  background: #f8fafc;
  border-color: var(--accent-color);
  text-decoration: none;
  color: var(--accent-hover);
}

.see-more-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(93, 135, 255, 0.2);
}

/* Empty Profile State */
.empty-profile {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
}

.empty-profile i {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.4;
}

.empty-profile p {
  font-size: 1.1rem;
  margin: 0;
}

/* Loading State */
.loading-state {
  text-align: center;
  padding: 100px 20px;
  color: var(--text-secondary);
}

.loading-spinner {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 16px;
}

/* Error State */
.error-state {
  text-align: center;
  padding: 100px 20px;
  color: var(--text-secondary);
}

.error-state i {
  font-size: 4rem;
  color: var(--accent-color);
  margin-bottom: 24px;
}

.error-state h2 {
  font-family: 'Crimson Pro', Georgia, serif;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.error-state p {
  font-size: 1.1rem;
  margin: 0;
}

/* Edit Profile Badge */
.edit-profile-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 100;
  text-decoration: none;
  transition: all 0.2s ease;
}

.edit-profile-badge:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

.edit-profile-badge i {
  font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .user-hero {
    min-height: 340px;
    border-radius: 0 0 20px 20px;
  }

  .user-hero .hero-overlay {
    min-height: 340px;
    padding: 30px 16px;
  }

  .user-name {
    font-size: 2rem;
  }

  .user-stats {
    gap: 10px;
  }

  .user-stats .stat {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .bio-section {
    margin: -15px 12px 20px;
    padding: 20px 24px;
  }

  .profile-content {
    margin: 0 12px;
  }

  .profile-section {
    padding: 20px;
  }

  .user-profile-page .cover-edit-btn {
    top: 12px;
    right: 12px;
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .edit-profile-badge {
    bottom: 12px;
    right: 12px;
    padding: 10px 18px;
    font-size: 0.85rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-section {
  animation: fadeInUp 0.4s ease forwards;
}

.profile-section:nth-child(1) { animation-delay: 0.1s; }
.profile-section:nth-child(2) { animation-delay: 0.2s; }
.profile-section:nth-child(3) { animation-delay: 0.3s; }

.company-card,
.act-card,
.show-card {
  animation: fadeInUp 0.3s ease forwards;
}


