/* Social Connections Page Styles */
.social-connections-page {
  max-width: 1200px;
}

.social-connections-page .page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.social-connections-page .page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffd700;
  margin: 0 0 8px 0;
}

.social-connections-page .page-description {
  color: #cbd5e1;
  font-size: 1rem;
  margin: 0;
}

.social-connections-page .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  transition: all 0.2s ease;
}

.social-connections-page .btn-primary:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
  transform: translateY(-2px);
  text-decoration: none;
}

/* Connected Accounts Grid */
.connections-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 48px;
}

.connection-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.connection-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.connection-header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.connection-card .platform-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.connection-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.connection-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1a2e;
}

.connection-meta {
  font-size: 0.875rem;
  color: #64748b;
}

.connection-status {
  margin-right: 24px;
}

.status-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: capitalize;
}

.status-badge.status-connected {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: white;
}

.connection-actions .btn-link {
  color: #ef4444;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: inline-block;
}

.connection-actions .btn-link:hover {
  background: rgba(239, 68, 68, 0.1);
  text-decoration: none;
}

/* Available Platforms Section */
.available-platforms {
  margin-top: 48px;
}

.available-platforms h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffd700;
  margin: 0 0 24px 0;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.platform-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.platform-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.platform-card .platform-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.platform-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.platform-description {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.5;
}

.platform-card .btn-secondary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  transition: all 0.2s ease;
  font-size: 0.875rem;
  width: 100%;
}

.platform-card .btn-secondary:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Empty state for connections */
.connections-grid:empty::before {
  content: 'No connected accounts yet';
  display: block;
  text-align: center;
  padding: 48px;
  color: #94a3b8;
  font-size: 1.125rem;
  background: white;
  border: 2px dashed #e2e8f0;
  border-radius: 12px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .social-connections-page .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .social-connections-page .page-header h1 {
    font-size: 1.75rem;
  }

  .connection-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
  }

  .connection-header {
    width: 100%;
  }

  .connection-status {
    margin-right: 0;
    width: 100%;
  }

  .connection-actions {
    width: 100%;
  }

  .connection-card .platform-icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }

  .connection-name {
    font-size: 1rem;
  }

  .available-platforms h2 {
    font-size: 1.5rem;
  }

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

@media (min-width: 769px) and (max-width: 1024px) {
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

