/* =====================================================
   EXAMNITI GLOBAL UI
   Common Buttons / Navbar / Avatar / Utilities
===================================================== */


/* ===============================
   GLOBAL FONT
================================ */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}


/* ===============================
   PRIMARY BUTTON (GLOBAL USE)
================================ */
.exn-btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
}

.exn-btn.primary {
  background: linear-gradient(135deg,#2563eb,#1d4ed8);
  color: #ffffff;
}

.exn-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37,99,235,0.35);
}

.exn-btn.secondary {
  background: #f3f4f6;
  color: #111827;
}

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


/* ===============================
   NAVBAR LOGIN BUTTON
================================ */
.exn-login-btn {
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(135deg,#2563eb,#1d4ed8);
  color: #ffffff !important;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none !important;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(37,99,235,0.3);
  position: relative;
  overflow: hidden;
}

.exn-login-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37,99,235,0.4);
}


/* ===============================
   NAV PROFILE AVATAR
================================ */
.exn-nav-profile {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.exn-nav-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50% !important;
  object-fit: cover;
  display: block;
  border: 3px solid #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: 0.3s ease;
}

.exn-nav-avatar:hover {
  transform: scale(1.08);
}


/* VERIFIED BADGE */
.exn-verified-badge {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
}


/* ===============================
   NAV DROPDOWN
================================ */
.exn-nav-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 60px;
  background: #ffffff;
  min-width: 170px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  padding: 8px 0;
  z-index: 999;
}

.exn-nav-dropdown a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.exn-nav-dropdown a:hover {
  background: #f3f4f6;
}


/* ===============================
   GLOBAL CARDS
================================ */
.exn-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.exn-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}


/* ===============================
   GLOBAL UTILITIES
================================ */
.exn-text-center {
  text-align: center;
}

.exn-mt-20 {
  margin-top: 20px;
}

.exn-mb-20 {
  margin-bottom: 20px;
}

.exn-flex {
  display: flex;
}

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


/* ===============================
   SMOOTH TRANSITIONS
================================ */
a, button {
  transition: all 0.2s ease;
}


/* ===============================
   MOBILE TWEAKS
================================ */
@media (max-width: 600px) {

  .exn-nav-avatar {
    width: 40px;
    height: 40px;
  }

  .exn-login-btn {
    padding: 8px 16px;
    font-size: 14px;
  }

}
