/* =============================================
   admission.css
   Admission Open Widget – CDOE Periyar University
   ============================================= */

/* Navbar overrides */
.navbar a {
  color: #FFFFFF !important;
}
.dropdown-menu a {
  background: #000066;
}

/* ── Admission Widget ── */
.adm-box {
  width: 160px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #c0392b;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  background: #fff;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.adm-head {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
  padding: 5px 8px 4px;
  text-align: center;
}

.adm-badge {
  display: inline-block;
  background: #f1c40f;
  color: #7d3c00;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 1px 6px;
  border-radius: 20px;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.adm-title {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

/* Blinking green dot */
.adm-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #2ecc71;
  border-radius: 50%;
  margin-right: 3px;
  vertical-align: middle;
  animation: admBlink 1.2s ease-in-out infinite;
}

@keyframes admBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.1; }
}

/* Body */
.adm-body {
  padding: 5px 8px;
  background: #fff;
}

.adm-year {
  background: #fef9e7;
  border-left: 3px solid #f1c40f;
  padding: 2px 5px;
  border-radius: 3px;
  margin-bottom: 4px;
}

.adm-year span {
  display: block;
  font-size: 7px;
  color: #999;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.adm-year strong {
  font-size: 12px;
  color: #c0392b;
  font-weight: 800;
}

.adm-info {
  font-size: 8px;
  color: #555;
  margin-bottom: 2px;
  padding-left: 2px;
  line-height: 1.3;
}

.adm-info::before {
  content: "✔ ";
  color: #27ae60;
  font-weight: bold;
}

/* Footer */
.adm-foot {
  padding: 5px 8px 7px;
  border-top: 1px solid #f0f0f0;
}

.adm-btn {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #27ae60, #1e8449);
  color: #fff !important;
  font-weight: 700;
  font-size: 11px;
  padding: 6px 0;
  border-radius: 6px;
  text-decoration: none !important;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 6px rgba(39,174,96,0.3);
  transition: background 0.2s, transform 0.15s;
}

.adm-btn:hover {
  background: linear-gradient(135deg, #1e8449, #196f3d);
  transform: translateY(-1px);
}

.adm-url {
  font-size: 6.5px;
  color: #bbb;
  text-align: center;
  margin-top: 4px;
  margin-bottom: 0;
  word-break: break-all;
  line-height: 1.3;
}
