/* Renew Button Khmer - Smaller professional size */
.reminder-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 24px;   /* តូចជាងមុន */
  background: #ffffff; /* ផ្ទៃស clean */
  color: #003366;      /* អក្សរ ខៀវងងឹត contrast */
  border: 2px solid #0288d1; /* Outline ខៀវ modern */
  border-radius: 40px; /* Round ស្អាត */
  text-decoration: none;
  font-size: 12px;     /* អក្សរ តូចជាងមុន */
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}

/* Highlight smooth gradient sky blend */
.reminder-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(179,229,252,0.7), /* Sky light */
    rgba(255,255,255,0.8), /* White */
    rgba(129,212,250,0.7)  /* Blue */
  );
  animation: skyFlow 10s ease-in-out infinite alternate;
  z-index: 0;
  opacity: 0.5; 
  filter: blur(6px); 
}

/* អក្សរនៅលើ highlight */
.reminder-btn span {
  position: relative;
  z-index: 1;
}

/* Animation back-and-forth smooth */
@keyframes skyFlow {
  0% { transform: translateX(0); }
  100% { transform: translateX(40%); }
}

/* Hover effect */
.reminder-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 15px rgba(0,115,170,0.35);
}


/* អក្សរលោតតិចៗបំផុត */
@keyframes textBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* Center search box + button */
.search-container {
  text-align: center;
  margin: 30px auto;
  font-family: "Segoe UI", Arial, sans-serif;
}

#searchBox {
  padding: 12px;
  width: 320px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: 0.3s;
}

#searchBox:focus {
  border-color: #0073aa;
  box-shadow: 0 0 8px rgba(0,115,170,0.5);
  outline: none;
}

#searchBtn {
  padding: 10px 24px;
  margin-top: 15px;
  background: linear-gradient(135deg,#e3f2fd,#90caf9); /* ពណ៌ស្រាល */
  color: #0d47a1;
  border: none;
  border-radius: 50px; /* pill shape */
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  transition: all 0.4s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
  animation: textBounce 4s infinite; /* អក្សរលោតតិចៗបំផុត */
}

#searchBtn:hover {
  background: linear-gradient(135deg,#bbdefb,#64b5f6);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 0 15px rgba(100,181,246,0.8), 0 0 25px rgba(187,222,251,0.6);
}

#searchBtn:active {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* អក្សរលោតតិចៗបំផុត */
@keyframes textBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
/* Ripple effect */
.search-container {
  position: relative;
}

#searchBtn {
  position: relative;
  overflow: hidden; /* important for ripple */
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: rippleAnim 0.6s linear;
  background-color: rgba(100,181,246,0.5);
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Table professional look */
.center-table {
  margin: 30px auto;
  width: 90%;
  border-collapse: collapse;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.center-table thead {
  background: linear-gradient(135deg,#0073aa,#005f8d);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 2;
}

.center-table th, .center-table td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.center-table tbody tr:nth-child(even) { background: #f9f9f9; }
.center-table tbody tr:nth-child(odd) { background: #fff; }
.center-table tbody tr:hover { background: #e6f7ff; transition: 0.3s; }

/* General Badge Style */
.status-badge {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  min-width: 120px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

/* Active Badge */
.status-active {
  background: linear-gradient(135deg,#d4edda,#c3e6cb);
  color: #28a745;
}

/* Near Expiry Badge */
.status-near-expiry {
  background: linear-gradient(135deg,#fff3cd,#ffeeba);
  color: #ff9800;
  animation: glowYellow 0.5s infinite; /* យឺតៗ smooth */
}

/* Expired Badge */
.status-expired {
  background: linear-gradient(135deg,#f8d7da,#f5c6cb);
  color: #e53935;
  animation: glowRed 0.5s infinite; /* យឺតៗ smooth */
}


/* Blink animation (slower) */
@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Bounce animation (very slow motion) */
@keyframes bounceSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Glow animations (slower) */
@keyframes glowYellow {
  0% { box-shadow: 0 0 6px #ffc107; }
  50% { box-shadow: 0 0 20px #ffecb5; }
  100% { box-shadow: 0 0 6px #ffc107; }
}

@keyframes glowRed {
  0% { box-shadow: 0 0 6px #dc3545; }
  50% { box-shadow: 0 0 20px #f5c6cb; }
  100% { box-shadow: 0 0 6px #dc3545; }
}

/*Admin Dashborad*/





}



