/* ===== MODERN DESIGN SYSTEM ===== */
:root {
  --primary: #5434E5;
  --primary-hover: #4326c4;
  --primary-light: rgba(84,52,229,0.08);
  --success: #22c55e;
  --success-light: rgba(34,197,94,0.1);
  --danger: #ef4444;
  --danger-light: rgba(239,68,68,0.1);
  --warning: #f59e0b;
  --info: #3b82f6;
  --info-light: rgba(59,130,246,0.1);
  --text: #1a1a2e;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --bg: #f1f5f9;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;
  --transition: all 0.2s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg) !important;
  color: var(--text);
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* ===== HEADER ===== */
header.dashboard-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
  backdrop-filter: blur(12px);
}
.header-brand {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: none;
  cursor: pointer;
}
.header-brand img { height: 28px; }
.header-nav { display: flex; gap: 8px; }
.header-nav .btn-header {
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-header-share {
  background: var(--primary);
  color: #fff;
}
.btn-header-share:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(84,52,229,0.3);
}
.btn-header-add {
  background: var(--success);
  color: #fff;
}
.btn-header-add:hover {
  background: #16a34a;
  transform: translateY(-1px);
}
.btn-header-more {
  background: var(--bg);
  color: var(--text);
}
.btn-header-more:hover {
  background: var(--border);
}

/* ===== MOBILE MENU ===== */
.btn-menu-mobile {
  width: auto;
  margin-top: 72px;
  border: none;
  height: 40px;
  cursor: pointer;
  display: none;
  text-align: center;
  background: var(--bg-white);
  line-height: 40px;
  border-radius: var(--radius);
  margin-left: 12px;
  padding: 0 16px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.btn-menu-mobile:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}
#closemenu {
  display: none;
  float: right;
  margin-right: 12px;
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}

/* ===== LAYOUT ===== */
.main {
  margin-top: 64px;
  width: 100%;
  display: flex;
  min-height: calc(100vh - 64px);
}
.sidebar {
  width: 220px;
  position: fixed;
  top: 64px;
  left: 0;
  bottom: 0;
  background: var(--bg-white);
  border-right: 1px solid var(--border);
  padding: 24px 12px;
  z-index: 50;
}
.part1 {
  width: calc(100% - 220px - 380px);
  margin-left: 220px;
  padding: 24px 32px !important;
}
.part2 {
  width: 380px;
  position: fixed;
  right: 0;
  top: 64px;
  bottom: 0;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: var(--bg);
  border-left: 1px solid var(--border);
}
.main-profil {
  margin-left: 220px;
  width: calc(100% - 220px);
  padding: 24px 32px;
}

/* ===== SIDEBAR LINKS ===== */
.links-sidebar {
  width: 100%;
  text-align: left;
  border: none;
  padding: 12px 16px;
  background: transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}
.links-sidebar:hover, .links-sidebar.active-link {
  background: var(--primary-light);
  color: var(--primary);
}
.links-sidebar i { width: 20px; text-align: center; }

/* ===== LIVE LINK BAR ===== */
.live-link {
  background: linear-gradient(135deg, var(--primary-light), rgba(59,130,246,0.06));
  border: 1px solid rgba(84,52,229,0.15);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.linklive {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 4px;
}
.linklive a {
  color: var(--primary);
  font-weight: 600;
}
.live-link p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.btn-copy {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-copy:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(84,52,229,0.3);
}

/* ===== BUTTONS ===== */
.add-link {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 24px;
}
.add-link:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(84,52,229,0.3);
}

.header-div {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.add-header, .view-archive {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  background: var(--bg-white);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  float: none;
}
.add-header:hover, .view-archive:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ===== LINK CARDS ===== */
.card-main {
  display: flex;
  align-items: stretch;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  transition: var(--transition);
  overflow: hidden;
}
.card-main:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.drag {
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: grab;
  flex-shrink: 0;
}
.drag:hover { color: var(--primary); }
.link-item {
  flex: 1;
  padding: 16px 16px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: transparent;
  border: none;
  min-height: auto;
  height: auto;
}
.link-info { word-wrap: break-word; }
.link-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  display: block;
}
.link-url {
  color: var(--text-muted);
  font-size: 0.8rem;
  word-break: break-all;
  display: block;
}
.link-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.click-count {
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--bg);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}
.edit-btn img { transition: transform 0.2s ease; }
.edit-btn:hover img { transform: scale(1.2); }
.status {
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status.active {
  background: var(--success-light);
  color: var(--success);
}
.status.inactive {
  background: var(--danger-light);
  color: var(--danger);
}

.active { color: var(--success); text-decoration: none !important; }
.inactive { color: var(--danger); text-decoration: none; }

/* ===== CARDS ===== */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg) !important;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.card-bio { margin-top: 16px; }
.card-delete {
  display: flex !important;
  gap: 12px;
  width: 100%;
}

/* ===== FORM ELEMENTS ===== */
.h-1 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text);
}
.lab1 {
  display: block;
  text-align: left;
  padding-left: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.input-title {
  width: 100%;
  height: 48px;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 0 16px;
  margin-bottom: 16px;
  transition: var(--transition);
  text-align: left;
  background: var(--bg-white);
}
.input-title:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(84,52,229,0.1);
}
.format_url {
  display: block;
  margin-top: -12px;
  margin-bottom: 16px;
  padding-left: 4px;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.container-staus {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding-left: 35px;
  margin-bottom: 16px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  user-select: none;
}
.container-staus .status { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark {
  position: absolute;
  top: 0; left: 0;
  height: 22px; width: 22px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 6px;
  transition: var(--transition);
}
.container-staus:hover .status ~ .checkmark { background: var(--border); }
.container-staus .status:checked ~ .checkmark { background: var(--primary); border-color: var(--primary); }
.checkmark:after { content: ""; position: absolute; display: none; }
.container-staus input:checked ~ .checkmark:after { display: block; }
.container-staus .checkmark:after {
  left: 7px; top: 3px;
  width: 5px; height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.div-btn { width: 100%; text-align: center; }
.btn-add {
  background: var(--primary);
  color: #fff;
  border: none;
  width: 100%;
  height: 48px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}
.btn-add:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(84,52,229,0.3);
}

/* ===== ACTION BUTTONS ===== */
.btn-delete {
  flex: 1;
  height: 44px;
  color: #fff;
  background: var(--danger);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  float: none;
  width: auto;
}
.btn-delete:hover { background: #dc2626; transform: translateY(-1px); }
.btn-archive {
  flex: 1;
  height: 44px;
  color: #fff;
  background: var(--info);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: auto;
}
.btn-archive:hover { background: #2563eb; transform: translateY(-1px); }
.btn-restore {
  flex: 1;
  height: 44px;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  width: auto;
}
.btn-restore:hover { background: var(--primary-hover); transform: translateY(-1px); }

form { display: inline !important; }

/* ===== TOGGLE SWITCH ===== */
.product-status { display: flex; align-items: center; gap: 12px; }
.switch { position: relative; display: inline-block; width: 52px; height: 28px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute; cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--border);
  transition: 0.3s;
  border-radius: 28px;
}
.slider:before {
  position: absolute; content: "";
  height: 22px; width: 22px;
  left: 3px; bottom: 3px;
  background: white;
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
input:checked + .slider { background: var(--success); }
input:focus + .slider { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
input:checked + .slider:before { transform: translateX(24px); }
#statusText { margin-left: 10px; font-weight: 700; color: var(--success); }
#notification, #notificationRadio { color: var(--success); font-weight: 600; font-size: 0.85rem; }

/* ===== MODALS ===== */
.modall {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  text-align: center;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modall-content {
  width: 500px;
  max-width: 90%;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
  display: inline-block !important;
  box-shadow: var(--shadow-lg);
}
.modal1-content {
  width: 100%;
  background: var(--bg-white);
  border: none;
  padding: 20px;
  border-radius: var(--radius-lg);
  display: inline-block !important;
  box-shadow: var(--shadow-lg);
}
.btn-closee {
  float: right;
  border: none;
  background: var(--danger) !important;
  border-radius: var(--radius-full) !important;
  color: white !important;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
}
.btn-closee:hover { background: #dc2626 !important; transform: scale(1.1); }

.btn-cencel {
  background: var(--danger);
  color: #fff;
  font-weight: 700;
  border: none;
  width: 45%;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.btn-cencel:hover { background: #dc2626; }
.btn-ok {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border: none;
  width: 45%;
  height: 44px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.btn-ok:hover { background: var(--primary-hover); }
.modall button { margin: 5px; }

/* ===== MORE MODAL ===== */
.modal-more-content, .modal-feedback-content, .modal-share-content, .modal-add-icon-content {
  width: 450px;
  max-width: 90%;
  display: inline-block;
}
.more-main, .share-main, .add-icon-main, .add-icon-ff-main {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: left;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.add-icon-ff-main { text-align: center; }
.more-main { text-align: center !important; }
.container-feedback {
  background: var(--bg-white);
  padding: 32px 24px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.btn-feedback {
  border: none;
  border-radius: var(--radius-full);
  color: white;
  padding: 12px 24px;
  cursor: pointer;
  background: var(--primary);
  font-weight: 600;
  width: 100%;
  transition: var(--transition);
}
.btn-feedback:hover { background: var(--primary-hover); transform: translateY(-1px); }

.more-image-profile {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
}
.more-image-profile img { border-radius: 50%; object-fit: cover; }
.lab-name-more {
  font-weight: 700;
  display: block;
  color: var(--text);
}
.lab-url-more {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 2px;
  margin-left: 0;
}
.btn-link-more {
  width: 90% !important;
  border: none;
  border-radius: var(--radius-full);
  background: var(--bg);
  padding: 14px 0;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}
.btn-link-more:hover { background: var(--primary-light); color: var(--primary); }

.account-form {
  text-align: left;
  padding: 16px 20px;
  width: 100%;
}
.lab-account {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 16px;
}
.a-account {
  background: transparent;
  width: 100%;
  height: 44px;
  color: var(--text);
  border: none;
  border-radius: var(--radius);
  text-align: left;
  padding-left: 16px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: block;
}
.a-account:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.div-share { width: 100%; }
.add-link-to-media {
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-social {
  text-align: left;
  width: 100%;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  padding: 12px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-social:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.btn-social img { border-radius: 8px; }

/* ===== PROFILE PAGE ===== */
.card-prifile {
  margin: 0 auto;
  max-width: 700px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.account-title, .account-password {
  font-size: 1.2rem;
  font-weight: 800;
  margin-top: 32px;
  margin-bottom: 12px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text);
}
.input-name, .input-email {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border) !important;
  font-size: 0.9rem;
  transition: var(--transition);
  background: var(--bg-white);
}
.input-name:focus, .input-email:focus {
  outline: none;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(84,52,229,0.1) !important;
}
.lab-name, .lab-email, .lab-password {
  display: block;
  width: 100%;
  padding-left: 4px;
  text-align: left;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  margin-top: 12px;
}
.btn-save {
  border: none;
  border-radius: var(--radius);
  height: 44px;
  background: var(--primary);
  color: #fff;
  width: 100%;
  max-width: 200px;
  margin-top: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.btn-save:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-delete-account {
  width: 100%;
  height: 44px;
  color: var(--danger);
  border: 1.5px solid var(--danger);
  background: transparent;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.btn-delete-account:hover {
  color: #fff;
  background: var(--danger);
}
.delete-p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* ===== SETTINGS PAGE ===== */
.btn-add-icon-social {
  border: none;
  height: 44px;
  padding: 0 24px;
  background: var(--primary);
  font-weight: 700;
  border-radius: var(--radius-full);
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
}
.btn-add-icon-social:hover { background: var(--primary-hover); transform: translateY(-1px); }
.input-social {
  height: 48px;
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  margin-top: 16px;
  padding: 0 16px;
  transition: var(--transition);
}
.input-social:focus {
  outline: none;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(84,52,229,0.1) !important;
}
.lab-example { color: var(--text-muted); font-size: 0.8rem; }
.validationMessage { padding-left: 4px; color: var(--danger); text-align: left; font-size: 0.85rem; }
.errorUrl { border-color: var(--danger) !important; }
.btn-add-icon {
  border: none;
  height: 44px;
  width: 100%;
  background: var(--primary);
  font-weight: 700;
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
}
.btn-add-icon:hover { background: var(--primary-hover); }
.btn-delete-icon {
  border: 1.5px solid var(--danger);
  color: var(--danger);
  height: 44px;
  width: 100%;
  background: transparent;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}
.btn-delete-icon:hover { color: #fff; background: var(--danger); }
.btn-icon-update {
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  height: 48px;
  border-radius: var(--radius);
  padding: 0 16px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.btn-icon-update:hover { background: var(--primary-light); color: var(--primary); }
.already-addeed { float: right; font-size: 0.75rem; color: var(--success); font-weight: 600; }
.radio-container { display: flex; gap: 24px; align-items: center; }
.custom-radio { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
.custom-radio input[type='radio'] {
  appearance: none;
  width: 20px; height: 20px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  outline: none;
  transition: var(--transition);
  cursor: pointer;
}
.custom-radio input[type='radio']:before {
  content: ''; display: block;
  width: 10px; height: 10px;
  margin: 3px auto;
  border-radius: 50%;
}
.custom-radio input[type='radio']:checked:before { background: var(--primary); }

/* ===== APPEARANCE PAGE ===== */
.btn-upload {
  margin-top: 10px;
  border: none;
  border-radius: var(--radius);
  background: var(--primary);
  padding: 12px;
  color: white;
  width: 100%;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.btn-upload:hover { background: var(--primary-hover); }
.input-file { display: none; }
.lab-image {
  width: 100%;
  height: 48px;
  border-radius: var(--radius);
  padding: 12px 16px;
  text-align: center;
  background: var(--bg);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lab-image:hover { background: var(--border); }
.image-container { position: relative; display: inline-block; }
.delete-icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s;
}
.image-container:hover .delete-icon { opacity: 1; }
.delte-image {
  border-radius: 50%;
  border: none;
  background: var(--danger);
  color: white;
  width: 32px; height: 32px;
  cursor: pointer;
}
.logo {
  margin-top: 20px;
  margin-bottom: 5px;
  border-radius: 50%;
  object-fit: cover;
}
.input-l-name, .input-bio {
  background: var(--bg) !important;
  border-radius: var(--radius) !important;
  height: auto !important;
  min-height: 48px;
  border: 1.5px solid var(--border);
  transition: var(--transition);
}
.input-l-name:focus, .input-bio:focus {
  outline: none;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(84,52,229,0.1) !important;
}
.btn-uddate {
  border: none;
  border-radius: var(--radius);
  padding: 10px 24px;
  background: var(--primary);
  color: white;
  font-weight: 700;
  margin-top: 16px;
  cursor: pointer;
  transition: var(--transition);
}
.btn-uddate:hover { background: var(--primary-hover); }
.btn-select {
  border-radius: var(--radius-full);
  border: none;
  color: white;
  background: var(--primary);
  margin-top: 10px;
  padding: 10px 40px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}
.btn-select:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn-selected {
  border-radius: var(--radius-full);
  border: none;
  color: white;
  background: var(--info);
  margin-top: 10px;
  padding: 10px 40px;
  font-weight: 700;
}
#charCount { color: var(--text-muted); margin-top: 4px; font-size: 0.8rem; }

/* ===== TEMPLATE STYLES ===== */
.link-a {
  margin-bottom: 12px !important;
  border: 2px solid rgba(255,255,255,0.3);
  color: white !important;
  text-decoration: none !important;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  min-height: 50px !important;
  width: 90% !important;
  border-radius: var(--radius) !important;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  padding: 12px;
  transition: var(--transition);
}
.link-a:hover {
  background: rgba(255,255,255,0.95);
  color: var(--primary) !important;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.username { margin-bottom: 8px; color: white !important; font-weight: 700; }
.bio { color: rgba(255,255,255,0.85); font-size: 0.85rem; }
.watermark { margin-top: 40px; }
.markname {
  margin-top: 24px;
  color: white;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  padding: 12px 28px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: var(--transition);
}
.markname:hover { background: rgba(255,255,255,0.25); }
.icon-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 400px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
}
.icon {
  font-size: 1.5em;
  color: white;
  transition: var(--transition);
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}
.icon:hover { background: rgba(255,255,255,0.3); color: white; transform: scale(1.1); }

/* ===== SENSITIVE CONTENT ===== */
.container-senc {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  overflow: hidden;
  z-index: 100;
}
.content-senc {
  width: 100%; height: 100%;
  padding: 0;
  background: transparent;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.button-container { text-align: center; width: 100%; max-width: 400px; margin-top: 24px; }
.btn-senc {
  border: 2px solid rgba(255,255,255,0.3);
  width: 100%;
  height: 48px;
  padding: 0 20px;
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.back { margin-top: 10px; }
.btn-senc:hover { background: var(--primary); border-color: var(--primary); }
.p-desc-senc { font-size: 1.2rem; font-weight: 600; color: white; padding: 0 20px; }
.p-eye { font-size: 2rem; color: white; margin-bottom: 8px; }
.p-title-senc { font-size: 1.5rem; font-weight: 800; color: white; }

/* ===== BUTTONS - MISC ===== */
.btn-s { margin-left: 12px; }
.btn-link { margin-top: 12px; float: right !important; text-align: right !important; width: 100% !important; }
.btn-back {
  float: left;
  border: 1px solid var(--border);
  background: var(--bg) !important;
  border-radius: var(--radius) !important;
  color: var(--text) !important;
}

.preview-btn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 28px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  z-index: 50;
}
.close-btn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 28px;
  background: var(--danger);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 700;
  display: none;
}

.card-icon img { width: 50px; height: 50px; border-radius: 8px; }
.row-card { }
.header-div { width: 100%; padding: 0; }

/* ===== RESPONSIVE ===== */
@media screen and (min-width: 1000px) {
  #form-mobile { display: none !important; }
  #closemenu, #openmenu-desktop { display: none !important; }
}
@media screen and (max-width: 1000px) {
  .part2 { display: none; }
  #open { display: block !important; }
  .part1 {
    width: 100% !important;
    margin-left: 0;
    padding: 16px !important;
  }
  .main-profil {
    width: 100%;
    margin-left: 0;
    padding: 16px;
  }
  .main { display: block; margin-top: 64px; }
  .sidebar {
    display: none;
    background: var(--bg-white);
    width: 250px;
    height: calc(100% - 64px);
    top: 64px;
    box-shadow: var(--shadow-lg);
    z-index: 200;
  }
  .card-prifile { margin: 0; }
  .modal-more-content, .modal-share-content, .modal-add-icon-content, .modal-feedback-content { width: 90%; }
  .btn-menu-mobile { display: block; }
  header.dashboard-header { padding: 0 12px; }
}
@media screen and (max-width: 600px) {
  .part1 { padding: 12px 8px !important; }
  .header-nav .btn-header { padding: 6px 12px; font-size: 0.8rem; }
}
