
.account-select-wrap {
  --as-radius: var(--radius-lg);
  --as-transition: var(--transition);
}

.account-select-hero {
  text-align: center;
  margin: 48px auto 40px;
  max-width: 720px;
  padding: 0 24px;
}

.account-select-hero h1 {
  margin: 0 0 14px;
  font-size: 36px;
  font-weight: 900;
  color: var(--text-main);
}

.account-select-hero p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
}

.account-select-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto 64px;
  padding: 0 24px;
}

.account-select-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 26px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  text-align: center;
  cursor: pointer;
  transition: var(--as-transition);
  position: relative;
  overflow: hidden;
}

.account-select-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at top, rgba(47, 128, 237, 0.08), transparent 60%);
  opacity: 0;
  transition: var(--as-transition);
  pointer-events: none;
}

.account-select-card:hover {
  transform: translateY(-6px);
  border-color: rgba(47, 128, 237, 0.25);
  box-shadow: var(--shadow-soft);
}

.account-select-card:hover::before {
  opacity: 1;
}

.account-select-card .icon {
  font-size: 56px;
  margin-bottom: 20px;
  line-height: 1;
}

.account-select-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 900;
  color: var(--text-main);
}

.account-select-card p {
  margin: 0 0 24px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.account-select-card__desc {
  font-size: 15px;
  line-height: 1.7;
  color: #4a5568;
}

.account-select-card .btn {
  width: 100%;
  max-width: 200px;
}

.account-select-footer {
  text-align: center;
  padding-bottom: 48px;
}

.account-select-footer p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.account-select-footer a {
  color: var(--primary);
  font-weight: 700;
}

@media (max-width: 900px) {
  .account-select-hero { margin-top: 32px; }
  .account-select-hero h1 { font-size: 30px; }
}

@media (max-width: 480px) {
  .account-select-cards {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-inline: 14px;
  }
  .account-select-card {
    padding: 26px 18px;
  }
}

@media (max-width: 360px) {
  .account-select-hero {
    padding-inline: 12px;
  }
  .account-select-cards {
    padding-inline: 10px;
    gap: 14px;
  }
  .account-select-card {
    padding: 22px 14px;
  }
  .account-select-hero h1 {
    font-size: clamp(22px, 6vw, 28px);
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}


.messages-container {
  position: fixed;
  top: 100px;
  right: 20px;
  left: 20px;
  z-index: 10001;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message-alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  border: 1px solid;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: formErrorSlideIn 0.3s ease-out;
}

.message-alert .message-close {
  background: none;
  border: none;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.message-alert .message-close:hover {
  opacity: 1;
}

.message-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.message-body {
  flex: 1;
  min-width: 0;
}

.message-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.message-text {
  font-size: 14px;
  opacity: 0.95;
}

.message-success {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  color: #166534;
}

.message-error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #991b1b;
}

.message-warning {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.35);
  color: #854d0e;
}


.notice-warning {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #92400e;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 16px;
}

.notice-warning strong { color: #78350f; }

.message-info {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #1e40af;
  padding: 14px 18px;
  border-radius: var(--radius-md, 14px);
  font-size: 14px;
  line-height: 1.5;
}
.message-info p { margin: 0; }
.message-info p strong,
.message-info .message-info__highlight { font-weight: 600; color: inherit; }

.main-content--with-header {
  padding-top: 84px;
}


@media print {
  .header,
  .footer,
  .nav-toggle,
  .mobile-menu {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .glass-card {
    border: 1px solid #ddd;
    background: white;
  }
}


.talent-detail-page .talent-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.talent-detail-page .talent-detail-card:hover {
  border-color: rgba(47, 128, 237, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.talent-detail-header {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px !important;
  margin-bottom: 28px;
}
.talent-detail-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 900;
  color: #fff;
}
.talent-detail-name { margin: 0 0 6px; font-size: 26px; font-weight: 900; color: var(--text-main); }
.talent-detail-subtitle { color: var(--text-muted); font-size: 14px; }
.talent-detail-badge {
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}
.talent-detail-badge--verified {
  background: rgba(34, 197, 94, 0.2);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.talent-detail-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 28px;
  margin-bottom: 80px;
}
.talent-detail-heading { margin: 0 0 12px; font-size: 18px; font-weight: 800; color: var(--heading-indigo); }
.talent-detail-text { color: var(--text-main); line-height: 1.9; margin: 0; }
.talent-detail-text--muted { color: var(--text-muted); }
.talent-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.talent-detail-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(47, 128, 237, 0.12);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(47, 128, 237, 0.2);
}

.message-alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  border: 1px solid;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: formErrorSlideIn 0.3s ease-out;
}

.message-alert .message-close {
  background: none;
  border: none;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.message-alert .message-close:hover {
  opacity: 1;
}

.message-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.message-body {
  flex: 1;
  min-width: 0;
}

.message-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.message-text {
  font-size: 14px;
  opacity: 0.95;
}

.message-success {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.35);
  color: #166534;
}

.message-error {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #991b1b;
}

.message-warning {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.35);
  color: #854d0e;
}


.notice-warning {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #92400e;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 16px;
}

.notice-warning strong { color: #78350f; }

.message-info {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #1e40af;
  padding: 14px 18px;
  border-radius: var(--radius-md, 14px);
  font-size: 14px;
  line-height: 1.5;
}
.message-info p { margin: 0; }
.message-info p strong,
.message-info .message-info__highlight { font-weight: 600; color: inherit; }

.main-content--with-header {
  padding-top: 84px;
}


@media print {
  .header,
  .footer,
  .nav-toggle,
  .mobile-menu {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .glass-card {
    border: 1px solid #ddd;
    background: white;
  }
}


.talent-detail-page .talent-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.talent-detail-page .talent-detail-card:hover {
  border-color: rgba(47, 128, 237, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.talent-detail-header {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px !important;
  margin-bottom: 28px;
}
.talent-detail-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 900;
  color: #fff;
}
.talent-detail-name { margin: 0 0 6px; font-size: 26px; font-weight: 900; color: var(--text-main); }
.talent-detail-subtitle { color: var(--text-muted); font-size: 14px; }
.talent-detail-badge {
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
}
.talent-detail-badge--verified {
  background: rgba(34, 197, 94, 0.2);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.talent-detail-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 28px;
  margin-bottom: 80px;
}
.talent-detail-heading { margin: 0 0 12px; font-size: 18px; font-weight: 800; color: var(--heading-indigo); }
.talent-detail-text { color: var(--text-main); line-height: 1.9; margin: 0; }
.talent-detail-text--muted { color: var(--text-muted); }
.talent-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.talent-detail-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(47, 128, 237, 0.12);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(47, 128, 237, 0.2);
}
.talent-detail-meta { font-size: 14px; color: var(--text-muted); line-height: 1.9; }
@media (max-width: 900px) {
  .talent-detail-header { grid-template-columns: 1fr; }

  .talent-detail-layout { grid-template-columns: 1fr; }
}


.terms-content {
  line-height: 1.9;
  color: var(--text-main);
}
.terms-heading {
  font-weight: 900;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--primary);
}
.terms-text {
  margin-bottom: 30px;
  font-size: 16px;
}


.talent-project-card {
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-right: 4px solid #6b7280;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease;
}
.talent-project-card:hover { transform: translateY(-2px); }

.talent-innovation-card {
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-right: 4px solid var(--primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease;
}
.talent-innovation-card:hover { transform: translateY(-2px); }


.hero-section-page {
  padding-top: 120px;
  padding-bottom: 60px;
}
.hero-title-page {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 16px;
}
.hero-desc-page {
  max-width: 700px;
  margin-bottom: 40px;
}


#policy-modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 720px;
  width: 92vw;
  max-height: 85vh;
  border-radius: 20px;
  overflow: visible;
  box-shadow: none;
  margin: auto;
  position: fixed;
  inset: 0;
}
#policy-modal::backdrop {
  background: rgba(10, 15, 30, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.policy-modal-backdrop {
  display: none;
}
.policy-modal-box {
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 85vh;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}
.policy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(139,92,246,0.04));
  flex-shrink: 0;
}
.policy-modal-title {
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: #1e293b;
  font-family: 'Cairo', sans-serif;
}
.policy-modal-close {
  background: rgba(0,0,0,0.04);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.policy-modal-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
#policy-modal-body {
  padding: 28px 30px 32px;
  overflow-y: auto;
  height: 100%;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.12) transparent;
}
#policy-modal-body::-webkit-scrollbar { width: 6px; }
#policy-modal-body::-webkit-scrollbar-track { background: transparent; }
#policy-modal-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 3px; }
#policy-modal-body::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.2); }


.policy-unified-content {
  line-height: 1.9;
  color: #334155;
  font-family: 'Cairo', sans-serif;
  font-size: 15px;
}
.policy-section {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.policy-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.policy-section-title {
  font-weight: 900;
  margin-bottom: 24px;
  font-size: 22px;
  color: var(--primary);
  border-bottom: 2px solid rgba(59,130,246,0.3);
  padding-bottom: 10px;
  display: inline-block;
}
.terms-heading {
  font-weight: 800;
  font-size: 17px;
  color: #1e293b;
  margin: 20px 0 8px;
}
.terms-text {
  color: #475569;
  font-size: 14.5px;
  line-height: 1.85;
  margin: 0 0 16px;
}
.policy-footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}
.policy-footer p {
  color: #94a3b8;
  font-size: 13px;
  margin: 0;
}
.policy-link {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(59,130,246,0.3);
  text-underline-offset: 3px;
  transition: all 0.2s;
}
.policy-link:hover {
  text-decoration-color: var(--primary);
}


@media (max-width: 640px) {
  #policy-modal {
    width: 96vw;
    max-height: 90vh;
  }
  .policy-modal-header {
    padding: 18px 20px 16px;
  }
  #policy-modal-body {
    padding: 20px;
  }
  .policy-section-title {
    font-size: 19px;
  }
  .terms-heading {
    font-size: 15px;
  }
}


.error-page-card {
  padding: 32px;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}
.error-page-title {
  font-size: 22px;
}
.error-page-text {
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.7;
}


.empty-state-mt { margin-top: 20px; }


.profile-page-wrap { max-width: 800px; margin: 0 auto; }
.profile-header-grid { display: grid; grid-template-columns: 120px 1fr; }
.profile-avatar-circle {
  width: 120px; height: 120px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid var(--glass-border);
}
.profile-avatar-placeholder {
  width: 120px; height: 120px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 48px; color: #fff;
  border-radius: 50%;
}
.mb-32 { margin-bottom: 32px !important; }
.pt-24 { padding-top: 24px !important; }
.grid-cols-2 { grid-template-columns: 1fr 1fr !important; }
.text-5xl  { font-size: 48px !important; }
.text-4xl  { font-size: 40px !important; }
.text-3xl  { font-size: 36px !important; }


.badge--talent   { background: rgba(59,130,246,0.10); border-color: rgba(59,130,246,0.35); color: #dbeafe; }
.badge--industrial { background: rgba(16,185,129,0.10); border-color: rgba(16,185,129,0.35); color: #d1fae5; }
.badge--academic { background: rgba(139,92,246,0.10); border-color: rgba(139,92,246,0.35); color: #e9d5ff; }
.badge--verified { background: rgba(16,185,129,0.10); border-color: rgba(16,185,129,0.35); color: #d1fae5; }
.badge--pending  { background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.35); color: #fef3c7; }

