/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0ea5e9;
  --primary-dark: #0b7ec1;
  --secondary: #f3f4f6;
  --text: #1f2937;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #ffffff;
  color: var(--text);
  line-height: 1.6;
}

/* Common Elements */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
}

.btn-primary:visited,
.btn-primary span {
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: #f9fafb;
}

.btn-ghost {
  background-color: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background-color: var(--secondary);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #eef6ff;
  color: var(--primary-dark);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-switcher:hover {
  background: #e0f2fe;
  border-color: var(--primary);
}

.btn-large {
  padding: 14px 28px;
  font-size: 18px;
}

.btn-block {
  width: 100%;
}

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

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-light);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Status Messages */
.status-message {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  display: none;
}

.status-success {
  background-color: #d1fae5;
  color: #065f46;
  border-left: 4px solid var(--success);
}

.status-error {
  background-color: #fee2e2;
  color: #7f1d1d;
  border-left: 4px solid var(--error);
}

.status-info {
  background-color: #dbeafe;
  color: #0c4a6e;
  border-left: 4px solid var(--primary);
}

.status-warning {
  background-color: #fef3c7;
  color: #78350f;
  border-left: 4px solid var(--warning);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
}

.logo svg {
  width: 32px;
  height: 32px;
}

/* ===== LANDING PAGE ===== */
.landing-page {
  background: linear-gradient(135deg, #f0f9ff 0%, #f0fdf4 100%);
}

.landing-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.landing-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.landing-nav-right {
  display: flex;
  gap: 12px;
}

.landing-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
}

.landing-hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
  color: var(--text);
}

.landing-hero p {
  font-size: 20px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 600px;
}

.landing-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 80px;
}

.feature-card {
  background-color: white;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-light);
}

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

@media (max-width: 768px) {
  .landing-hero h1 {
    font-size: 36px;
  }

  .landing-hero p {
    font-size: 18px;
  }

  .landing-cta {
    flex-direction: column;
  }

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

/* ===== AUTH PAGES ===== */
.auth-page {
  background: linear-gradient(135deg, #f0f9ff 0%, #f0fdf4 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  width: 100%;
}

.auth-card {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.auth-header .logo {
  margin-bottom: 24px;
}

.auth-header h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.auth-subtitle {
  color: var(--text-light);
  margin-bottom: 32px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
}

.auth-footer a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.auth-footer a:hover {
  text-decoration: underline;
}

.auth-illustration {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 12px;
  padding: 40px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.illustration-content h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  text-align: left;
  display: inline-block;
}

.feature-list li {
  margin-bottom: 12px;
  font-size: 16px;
}

@media (max-width: 768px) {
  .auth-container {
    grid-template-columns: 1fr;
  }

  .auth-illustration {
    display: none;
  }

  .auth-card {
    padding: 30px;
  }
}

/* ===== DASHBOARD ===== */
.dashboard-page {
  background-color: #f9fafb;
}

.dashboard-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.sidebar {
  background-color: white;
  border-right: 1px solid var(--border);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}

.sidebar-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid #e0e7ff;
}

.sidebar-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
  box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
}

.sidebar-profile-info {
  flex: 1;
  min-width: 0;
}

.sidebar-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.sidebar-username {
  font-size: 12px;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  background-color: transparent;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.nav-item:hover {
  background-color: var(--secondary);
  color: var(--text);
}

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

.nav-item-admin {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  border: 1.5px solid #fca5a5;
  color: #dc2626 !important;
  font-weight: 600;
}

.nav-item-admin:hover {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border-color: #f87171;
}

.nav-item-admin svg {
  stroke: #dc2626;
}

.sidebar-footer {
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.logout-btn {
  color: var(--error);
}

.logout-btn:hover {
  background-color: #fee2e2;
}

/* Mobile Dashboard Layout */
@media (max-width: 768px) {
  .dashboard-container {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    min-height: 100vh;
    padding-bottom: 70px;
  }

  /* Mobile Top Navigation Bar with Logo */
  .dashboard-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: white;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }

  /* Mobile Top Bar Header */
  .sidebar-header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    align-items: center;
    justify-content: center;
    background: white;
    border-bottom: 1px solid var(--border);
    z-index: 101;
    margin: 0;
    border: none;
    padding: 0 20px;
  }

  .sidebar-header .logo {
    font-size: 20px;
    gap: 10px;
  }

  .sidebar-header .logo svg {
    width: 32px;
    height: 32px;
  }

  .sidebar {
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: 70px;
    border: none;
    border-top: 1px solid var(--border);
    padding: 0;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    z-index: 100;
    background: white;
  }

  .sidebar-profile,
  .sidebar-footer,
  .nav-item-admin,
  .logout-btn {
    display: none;
  }

  .sidebar-nav {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    gap: 0;
    margin: 0;
    flex: 1;
  }

  .nav-item {
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 0;
    font-size: 12px;
    background: transparent;
    border: none;
    color: var(--text-light);
    height: 100%;
    justify-content: center;
    transition: color 0.3s ease;
  }

  .nav-item svg {
    width: 24px;
    height: 24px;
  }

  .nav-item span {
    display: block;
    font-size: 11px;
    white-space: nowrap;
  }

  .nav-item:hover {
    background: none;
    color: var(--primary);
  }

  .nav-item.active {
    background: none;
    color: var(--primary);
    border-top: 3px solid var(--primary);
  }

  .dashboard-main {
    padding: 20px;
    margin-top: 0;
    padding-top: 80px;
  }

  /* Links Container Mobile */
  .links-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    grid-template-columns: none;
  }

  .links-manager {
    width: 100%;
  }

  .links-list {
    width: 100%;
  }

  /* Link Item Mobile */
  .link-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .link-info {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .link-details {
    width: 100%;
  }

  .link-title {
    word-break: break-word;
    margin-bottom: 4px;
  }

  .link-url {
    word-break: break-all;
    width: 100%;
  }

  .link-actions {
    width: 100%;
    align-self: flex-end;
  }
}

@media (max-width: 480px) {
  .nav-item span {
    font-size: 10px;
  }

  .dashboard-main {
    padding: 16px;
    padding-top: 80px;
  }

  .section-header h2 {
    font-size: 22px;
  }

  .links-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .link-item {
    padding: 12px;
    gap: 10px;
  }

  .link-title {
    font-size: 15px;
  }

  .link-url {
    font-size: 12px;
  }

  .btn-icon {
    width: 32px;
    height: 32px;
  }

  .phone-preview {
    display: none;
  }
}

.dashboard-main {
  padding: 40px;
  overflow-y: auto;
}

.section-header {
  margin-bottom: 32px;
}

#settings-section .section-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

#settings-section .section-header h2,
#settings-section .section-header .section-subtitle {
  margin: 0;
}

#settings-section .section-header .section-subtitle {
  flex: 1;
}

.section-header h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.section-subtitle {
  color: var(--text-light);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.dashboard-form {
  background-color: white;
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  max-width: 600px;
}

.dashboard-form .form-group {
  margin-bottom: 24px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.checkbox-label input {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* Avatar Upload */
.avatar-upload {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.avatar-preview {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--border);
}

.avatar-controls {
  flex: 1;
}

/* Links Container - Split Layout */
.links-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  margin-top: 32px;
}

.links-manager {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.link-item {
  background-color: white;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.link-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.link-details {
  flex: 1;
}

.link-title {
  font-weight: 600;
  color: var(--text);
}

.link-url {
  font-size: 14px;
  color: var(--text-light);
  word-break: break-all;
}

.link-actions {
  display: flex;
  gap: 8px;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  background-color: white;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-icon:hover {
  background-color: var(--secondary);
  border-color: var(--primary);
}

/* Social Platforms */
.social-platforms-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.social-platform-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.social-platform-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.social-platform-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.social-platform-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}

.social-platform-input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-platform-prefix {
  color: var(--text-light);
  font-size: 14px;
  white-space: nowrap;
}

.social-platform-input {
  flex: 1;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  min-width: 0;
}

.social-platform-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.social-platform-toggle {
  flex-shrink: 0;
}

.loading-message {
  text-align: center;
  padding: 20px;
  color: var(--text-light);
}

/* Shorten */
.shorten-grid {
  display: grid;
  grid-template-columns: minmax(320px, 420px) 1fr;
  gap: 24px;
  align-items: flex-start;
  margin-top: 24px;
}

.shorten-card,
.shorten-list-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.shorten-limit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 16px;
}

.limit-label {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.limit-usage {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
}

.limit-badge {
  background: rgba(14, 165, 233, 0.12);
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.shorten-alert {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  font-size: 14px;
  margin-bottom: 12px;
}

.shorten-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shorten-form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
}

.shorten-form button {
  align-self: flex-start;
  min-width: 180px;
  margin-top: 4px;
}

@media (max-width: 640px) {
  .shorten-form button {
    width: 100%;
  }
}

.shorten-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.short-links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.short-link-item {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.short-link-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.short-code-pill {
  background: var(--primary);
  color: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.short-link-actions {
  display: flex;
  gap: 8px;
}

.short-action-btn {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.short-action-btn:hover {
  background: var(--secondary);
}

.short-url {
  color: var(--text);
  word-break: break-all;
}

.short-meta {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.empty-state {
  text-align: center;
  padding: 40px;
  color: var(--text-light);
}

/* Phone Preview */
.phone-preview {
  position: sticky;
  top: 40px;
  height: fit-content;
}

.phone-frame {
  width: 100%;
  background: #fafafa;
  border-radius: 48px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  aspect-ratio: 9/16;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid #e8e8e8;
  position: relative;
}

.phone-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 35%;
  height: 20px;
  background-color: #1a1a1a;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px;
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 500;
  margin-bottom: 4px;
}

.phone-time {
  flex: 1;
}

.phone-icons {
  display: flex;
  gap: 2px;
  font-size: 10px;
}

.phone-content {
  flex: 1;
  overflow-y: auto;
  background: white;
  border-radius: 40px;
}

.phone-profile-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  color: #1a1a1a;
  padding: 32px 20px;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.phone-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f0f0f0;
  margin: 0 auto 16px;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.phone-profile-section h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.phone-profile-section p {
  font-size: 14px;
  color: #666;
  font-weight: 400;
}

.phone-bio {
  font-size: 13px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e8e8e8;
  color: #525252;
  line-height: 1.5;
}

.phone-links {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone-link-item {
  padding: 14px 16px;
  background-color: #fafafa;
  border: 1.5px solid #e8e8e8;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.phone-link-item:hover {
  background-color: #1a1a1a;
  border-color: #1a1a1a;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.phone-empty-state {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-light);
  font-size: 13px;
}

.phone-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 16px;
  background: #fafafa;
  font-size: 10px;
  color: #999;
  border-top: 1px solid #f0f0f0;
  font-weight: 500;
}

.phone-footer svg {
  width: 16px;
  height: 16px;
}

/* Responsive */
@media (max-width: 1400px) {
  .links-container {
    grid-template-columns: 1fr;
  }

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

  .phone-preview {
    display: none;
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal.open {
  display: flex;
}

.modal-content {
  background-color: white;
  padding: 32px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
}

.modal-content h3 {
  margin-bottom: 24px;
  font-size: 24px;
}

.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 32px;
}

/* ===== ONBOARDING ===== */
.onboarding-page {
  background: linear-gradient(135deg, #f0f9ff 0%, #f0fdf4 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.onboarding-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  width: 100%;
}

.onboarding-card {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.progress-bar {
  height: 4px;
  background-color: var(--border);
  border-radius: 2px;
  margin-bottom: 40px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--primary);
  width: 33%;
  transition: width 0.3s ease;
}

.onboarding-header h1 {
  font-size: 28px;
  margin-bottom: 8px;
}

.onboarding-subtitle {
  color: var(--text-light);
  margin-bottom: 16px;
}

.step-counter {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

.onboarding-steps-container {
  position: relative;
  min-height: 300px;
  margin: 32px 0;
}

.onboarding-step {
  display: none;
  animation: slideIn 0.3s ease;
}

.onboarding-step.active {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-content h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.step-hint {
  color: var(--text-light);
  margin-bottom: 20px;
}

.onboarding-input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  margin-bottom: 24px;
}

.onboarding-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

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

.step-actions .btn {
  flex: 1;
}

.onboarding-divider {
  text-align: center;
  margin: 24px 0;
  color: var(--text-light);
  font-size: 14px;
}

.skip-all-btn {
  width: 100%;
  margin-top: 12px;
}

.onboarding-preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.preview-title {
  font-size: 14px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  font-weight: 600;
}

.preview-card {
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  width: 100%;
  max-width: 300px;
}

.preview-avatar {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  margin: 0 auto 16px;
  object-fit: cover;
  border: 2px solid var(--border);
}

.preview-name {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 4px;
}

.preview-username {
  color: var(--text-light);
  font-size: 14px;
}

@media (max-width: 768px) {
  .onboarding-container {
    grid-template-columns: 1fr;
  }

  .onboarding-preview {
    display: none;
  }

  .onboarding-card {
    padding: 30px;
  }
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ===== PUBLIC PROFILE PAGE ===== */
.profile-page {
  background: linear-gradient(135deg, #f0f9ff 0%, #f0fdf4 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.profile-container {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
}

.profile-wrapper {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

/* Profile Card */
.profile-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 40px 28px 32px;
  text-align: center;
  color: white;
  border-radius: 16px;
}

.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.3);
  margin: 0 auto 16px;
  display: block;
  background-color: white;
}

.profile-name {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
  color: white;
}

.profile-username {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.profile-bio {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.report-btn {
  margin-top: 16px;
  padding: 10px 20px;
  background: rgba(239, 68, 68, 0.1);
  border: 1.5px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.report-btn:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.5);
  transform: translateY(-1px);
}

/* Profile Links */
.profile-links {
  padding: 4px 4px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.profile-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: #f9fafb;
  border: 2px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.profile-link-item:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.profile-link-item:active {
  transform: translateY(0);
}

.profile-link-title {
  font-size: 16px;
}

.profile-link-arrow {
  transition: transform 0.3s ease;
}

.profile-link-item:hover .profile-link-arrow {
  transform: translateX(4px);
}

.profile-link-item:hover .profile-link-arrow path {
  stroke: white;
}

/* Empty Links */
.profile-links-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-light);
}

.profile-links-empty svg {
  margin-bottom: 16px;
  opacity: 0.3;
}

/* Signup CTA */
.profile-signup-cta {
  padding: 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  background-color: #f9fafb;
}

.profile-signup-cta p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 15px;
}

/* Footer */
.profile-footer {
  padding: 20px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  background-color: white;
  border-radius: 12px;
}

.profile-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.profile-footer-link:hover {
  color: var(--primary);
}

.profile-footer-link svg {
  width: 20px;
  height: 20px;
}

/* Loading & Error States */
.profile-loading,
.profile-error {
  text-align: center;
  padding: 60px 20px;
  max-width: 400px;
  margin: 0 auto;
}

.profile-loading {
  color: var(--text-light);
}

.profile-error {
  background-color: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.error-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.profile-error h2 {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--text);
}

.profile-error p {
  color: var(--text-light);
  margin-bottom: 24px;
}

/* ===== ADMIN PANEL ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.stat-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-info {
  flex: 1;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
}

.admin-filters {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  min-width: 300px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
}

.filter-select {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  background: white;
  cursor: pointer;
}

.admin-table-container {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table thead {
  background: var(--secondary);
  border-bottom: 2px solid var(--border);
}

.admin-table th {
  padding: 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.admin-table tbody tr:hover {
  background: #fafafa;
}

.user-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.user-name {
  font-weight: 600;
  color: var(--text);
}

.user-username {
  font-size: 12px;
  color: var(--text-light);
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-active {
  background: #dcfce7;
  color: #16a34a;
}

.status-banned {
  background: #fee2e2;
  color: #dc2626;
}

.status-admin {
  background: #fef3c7;
  color: #d97706;
  margin-left: 4px;
}

.visitor-stats {
  font-size: 13px;
  color: var(--text-light);
}

.visitor-stats strong {
  color: var(--text);
}

.action-buttons {
  display: flex;
  gap: 8px;
}

.btn-icon {
  padding: 8px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-icon:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-danger {
  border-color: #fca5a5;
  color: #dc2626;
}

.btn-danger:hover {
  background: #fee2e2;
}

.btn-success {
  border-color: #86efac;
  color: #16a34a;
}

.btn-success:hover {
  background: #dcfce7;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: #fff;
}

.reports-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.report-card {
  background: white;
  border-radius: 12px;
  border: 2px solid var(--border);
  padding: 24px;
  transition: all 0.3s ease;
}

.report-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.report-card.status-pending {
  border-left: 4px solid #f59e0b;
}

.report-card.status-reviewed {
  border-left: 4px solid #3b82f6;
}

.report-card.status-resolved {
  border-left: 4px solid #22c55e;
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.report-participants {
  display: flex;
  align-items: center;
  gap: 16px;
}

.report-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.report-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.report-label {
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.report-name {
  font-weight: 600;
  font-size: 14px;
}

.report-status {
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
}

.report-status.status-pending {
  background: #fef3c7;
  color: #d97706;
}

.report-status.status-reviewed {
  background: #dbeafe;
  color: #2563eb;
}

.report-status.status-resolved {
  background: #dcfce7;
  color: #16a34a;
}

.report-body {
  margin-bottom: 16px;
}

.report-reason {
  font-size: 15px;
  margin-bottom: 12px;
  color: var(--text);
}

.report-description {
  font-size: 14px;
  color: var(--text-light);
  padding: 12px;
  background: var(--secondary);
  border-radius: 8px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.report-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: var(--text-light);
}

/* Platforms Admin */
.platforms-admin-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.platform-admin-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.platform-admin-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.platform-admin-item.inactive {
  opacity: 0.6;
  background: #f9fafb;
}

.platform-order-badge {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary);
  border-radius: 6px;
  font-weight: 700;
  color: var(--primary);
  font-size: 13px;
  flex-shrink: 0;
}

.platform-admin-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.platform-admin-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

.platform-admin-url {
  font-size: 13px;
  color: var(--text-light);
  font-family: monospace;
}

.platform-admin-actions {
  display: flex;
  gap: 8px;
}

.platform-status-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.platform-status-badge.active {
  background: #dcfce7;
  color: #16a34a;
}

.platform-status-badge.inactive {
  background: #fee2e2;
  color: #dc2626;
}

.report-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-small {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-small:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--text);
}

.btn-secondary:hover {
  background: #e5e7eb;
}

.btn-small.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-small.btn-success {
  background: #22c55e;
  color: white;
  border-color: #22c55e;
}

.btn-small.btn-danger {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
}

.report-detail {
  padding: 16px 0;
}

.detail-row {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.detail-row:last-child {
  border-bottom: none;
}

.badge {
  display: inline-block;
  background: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  margin-left: 4px;
  min-width: 18px;
  text-align: center;
}

/* Responsive */
@media (max-width: 480px) {
  .profile-page {
    padding: 0;
  }

  .profile-wrapper {
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }

  .profile-card {
    padding: 32px 20px 24px;
  }

  .profile-avatar {
    width: 80px;
    height: 80px;
  }

  .profile-name {
    font-size: 22px;
  }

  .profile-links {
    padding: 16px;
  }

  .profile-link-item {
    padding: 14px 16px;
  }
}

/* Desktop tweaks for public profile */
@media (min-width: 1024px) {
  .profile-container {
    max-width: 880px;
  }

  .profile-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-link-item {
    padding: 16px 18px;
    text-align: center;
  }
}

/* Mobile Profile Responsive */
@media (max-width: 768px) {
  .profile-page {
    padding: 0;
  }

  .profile-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .profile-wrapper {
    border-radius: 0;
    gap: 16px;
    padding: 16px;
    box-shadow: none;
    background: #f9fafb;
  }

  .profile-card {
    padding: 24px 16px 20px;
    border-radius: 12px;
    margin: 0;
  }

  .profile-avatar {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    margin: 0 auto 12px;
  }

  .profile-name {
    font-size: 20px;
    margin-bottom: 2px;
  }

  .profile-username {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .profile-bio {
    font-size: 14px;
    margin-top: 12px;
    padding-top: 12px;
  }

  .report-btn {
    margin-top: 12px;
    padding: 8px 16px;
    font-size: 12px;
    width: 100%;
  }

  .profile-socials {
    width: 100%;
    max-width: 100%;
  }

  .profile-links {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .profile-link-item {
    padding: 14px 16px;
    border-radius: 10px;
  }

  .profile-signup-cta {
    padding: 16px;
    border-radius: 12px;
    margin: 12px 0;
  }

  .profile-signup-cta p {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .profile-footer {
    padding: 16px;
    font-size: 12px;
  }

  .modal-content {
    max-width: 90vw;
    width: 100%;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .profile-page {
    padding: 0;
  }

  .profile-wrapper {
    gap: 12px;
    padding: 12px;
  }

  .profile-card {
    padding: 20px 12px 16px;
  }

  .profile-avatar {
    width: 70px;
    height: 70px;
  }

  .profile-name {
    font-size: 18px;
  }

  .profile-links {
    gap: 10px;
  }

  .profile-link-item {
    padding: 12px 14px;
  }
}


/* Social links on public profile */
.profile-socials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  padding: 0 8px 8px;
}

.profile-social-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
}

.profile-social-item:hover {
  background: white;
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.12);
  transform: translateY(-1px);
}

.profile-social-avatar {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  border: 1px solid #e5e7eb;
}

.profile-social-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.profile-social-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.profile-social-handle {
  font-size: 13px;
  color: var(--text-light);
  word-break: break-all;
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 16px;
}

.mt-4 {
  margin-top: 32px;
}


#add-link-btn{
  color : white;
}

/* Profile Settings two-card layout */
.profile-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 24px;
}

@media (max-width: 1024px) {
  .profile-settings-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== PROFILE EDIT MOBILE OPTIMIZATION ===== */
/* Mobil-First Tasarım - Tamamen Responsive */

@media (max-width: 768px) {
  /* Main Profile Section */
  #profile-section {
    width: 100%;
    overflow-x: hidden;
  }

  .section-header {
    padding: 0 0 20px 0;
    margin-bottom: 20px;
  }

  .section-header h2 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .section-header .section-subtitle {
    font-size: 14px;
    color: var(--text-light);
  }

  /* Profile Settings Grid - Single Column */
  .profile-settings-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  /* Dashboard Form Wrapper */
  .dashboard-form {
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
  }

  /* Section Container - Clear Separation */
  .dashboard-form:nth-child(1) {
    margin-bottom: 24px;
  }

  .dashboard-form:nth-child(2) {
    margin-top: 24px;
  }

  /* Form Group */
  .dashboard-form .form-group {
    margin-bottom: 18px;
    width: 100%;
  }

  /* Form Labels */
  .dashboard-form .form-group label,
  .dashboard-form h3 {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
  }

  .dashboard-form h3 {
    font-size: 18px;
    margin-bottom: 16px;
    padding: 16px;
    background: white;
    border-radius: 12px;
  }

  /* Form Inputs & Textarea */
  .dashboard-form input[type="text"],
  .dashboard-form input[type="email"],
  .dashboard-form input[type="password"],
  .dashboard-form input[type="number"],
  .dashboard-form input[type="url"],
  .dashboard-form textarea,
  .dashboard-form select {
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: white;
    transition: border-color 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
  }

  .dashboard-form input:focus,
  .dashboard-form textarea:focus,
  .dashboard-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
  }

  .dashboard-form textarea {
    resize: vertical;
    font-family: inherit;
    min-height: 100px;
  }

  /* Form Hints */
  .dashboard-form .form-hint {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 6px;
  }

  /* Avatar Upload Section */
  .avatar-upload {
    background: white;
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    width: 100%;
  }

  .avatar-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    margin: 0 auto 16px;
    display: block;
  }

  .avatar-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .avatar-controls button {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border-radius: 8px;
  }

  /* Checkbox Label */
  .checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .checkbox-label:hover {
    background: #f9fafb;
    border-color: var(--primary);
  }

  .checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
  }

  .checkbox-label span {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
  }

  /* Public Link Section */
  #public-link-section {
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    margin-top: 16px;
  }

  #public-link-section label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 14px;
  }

  .public-link-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .public-link-input {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    cursor: not-allowed;
  }

  .public-link-input:focus {
    outline: none;
  }

  #copy-link-btn {
    width: 100%;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  /* Buttons */
  .dashboard-form .btn,
  .dashboard-form button[type="submit"],
  .dashboard-form button[type="button"] {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    border-radius: 10px;
    margin-top: 8px;
    font-weight: 600;
  }

  .dashboard-form .btn-primary {
    width: 100%;
    padding: 14px;
    margin-top: 12px;
  }

  .dashboard-form .btn-secondary,
  .dashboard-form .btn-ghost {
    padding: 12px;
    font-size: 14px;
  }

  /* Social Platforms Section */
  .dashboard-form:nth-child(2) {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
  }

  .social-platforms-list {
    width: 100%;
    padding: 0;
  }

  .social-platform-item {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 12px;
    width: 100%;
    align-items: flex-start;
  }

  .social-platform-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .social-platform-content {
    flex: 1;
    min-width: 0;
    gap: 6px;
  }

  .social-platform-label {
    font-size: 13px;
  }

  .social-platform-input-wrapper {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    width: 100%;
  }

  .social-platform-prefix {
    font-size: 12px;
    width: 100%;
    word-break: break-all;
  }

  .social-platform-input {
    width: 100%;
    padding: 8px;
    font-size: 13px;
  }

  .social-platform-toggle {
    width: 100%;
  }

  .social-platform-item input {
    flex: 1;
    width: 100%;
  }

  .social-platform-item button {
    padding: 8px 12px;
  }

  .loading-message {
    text-align: center;
    padding: 20px;
    color: var(--text-light);
    font-size: 14px;
  }

  .social-section-title {
    margin-bottom: 16px;
  }

  .social-section-description {
    color: #6b7280;
    margin-bottom: 16px;
    font-size: 14px;
  }

  /* Description Text */
  .dashboard-form > p {
    font-size: 14px;
    color: var(--text-light);
    background: transparent;
    padding: 0;
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 20px;
  }

  .dashboard-form h3 {
    font-size: 16px;
    padding: 12px;
  }

  .dashboard-form .form-group {
    margin-bottom: 14px;
  }

  .dashboard-form input,
  .dashboard-form textarea,
  .dashboard-form select {
    font-size: 16px;
    padding: 10px 12px;
  }

  .avatar-preview {
    width: 70px;
    height: 70px;
  }

  .avatar-upload {
    padding: 16px;
  }

  .checkbox-label {
    padding: 12px 14px;
    font-size: 13px;
  }

  .dashboard-form .btn,
  .dashboard-form button[type="submit"],
  .dashboard-form button[type="button"] {
    padding: 12px;
    font-size: 14px;
  }

  #public-link-section div.public-link-wrapper {
    flex-direction: column !important;
  }

  /* Social Platforms 480px */
  .social-platform-item {
    padding: 10px;
    gap: 10px;
    margin-bottom: 10px;
  }

  .social-platform-icon {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .social-platform-label {
    font-size: 12px;
  }

  .social-platform-prefix {
    font-size: 11px;
  }

  .social-platform-input {
    font-size: 12px;
    padding: 6px 8px;
  }
}

