/* =========================
   BUTTONS
========================= */

.btn-primary{
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: var(--shadow-soft);
  transition: 0.3s ease;
}

.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-secondary{
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white;
  backdrop-filter: blur(14px);
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-secondary:hover{
  background: rgba(255,255,255,0.15);
}


/* =========================
   GLASS CARDS
========================= */

.glass-card{
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}


/* =========================
   INPUTS
========================= */

.input-modern,
textarea,
select{
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #dce7ef;
  background: rgba(255,255,255,0.9);
  font-size: 1rem;
  transition: 0.3s ease;
}

.input-modern:focus,
textarea:focus,
select:focus{
  outline: none;
  border-color: var(--teal-primary);
  box-shadow:
    0 0 0 4px rgba(0,184,196,0.12);
}


/* =========================
   SECTION TITLES
========================= */

.section-title{
  font-size: 2.5rem;
  color: var(--navy-dark);
  margin-bottom: 18px;
  position: relative;
}

.section-title::after{
  content:'';
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  display: block;
  border-radius: 20px;
  margin-top: 12px;
}


/* =========================
   PANELS
========================= */

.panel{
  background: white;
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-soft);
}


/* =========================
   BADGES
========================= */

.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,184,196,0.12);
  color: var(--teal-primary);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}


/* =========================
   TABS
========================= */

.tabs{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.tab{
  padding:12px 20px;
  border-radius:14px;
  background:white;
  border:1px solid #dce7ef;
  cursor:pointer;
  transition:0.3s ease;
  font-weight:600;
}

.tab.active{
  background:var(--gradient-primary);
  color:white;
  border:none;
}


/* =========================
   TABLES
========================= */

table{
  width:100%;
  border-collapse:collapse;
  overflow:hidden;
  border-radius:18px;
}

th{
  background:var(--navy-dark);
  color:white;
  padding:16px;
}

td{
  padding:16px;
  border-bottom:1px solid #eef3f7;
  background:white;
}


/* =========================
   LOADERS
========================= */

.loader-spinner{
  width:40px;
  height:40px;
  border-radius:50%;
  border:4px solid rgba(255,255,255,0.2);
  border-top-color: var(--teal-primary);
  animation:spin 1s linear infinite;
}

@keyframes spin{
  to{
    transform:rotate(360deg);
  }
}
.loader-spinner{

  width:16px;

  height:16px;

  border:2px solid rgba(255,255,255,0.3);

  border-top-color:white;

  border-radius:50%;

  display:inline-block;

  animation:spin 0.7s linear infinite;

  margin-right:8px;

  vertical-align:middle;
}


@keyframes spin{

  to{

    transform:rotate(360deg);
  }
}
