.closeCreative {
    float:right; cursor:pointer; font-size:26px;
}
.download-btn {
    margin-top:15px;
    display:inline-block;
    background:#0073aa;
    color:#fff;
    padding:10px 20px;
    border-radius:5px;
}

/* Container for the button */
#hyawardee_register_form .form-group.full-row {
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center;     /* center vertically if needed */
    margin-top: 10px;
}

/* If you want it on the right instead */
#hyawardee_register_form .form-group.full-row.right-align {
    justify-content: flex-end; /* move button to right */
}

/* Style for the button itself */
#hyawardee_register_form button[type="submit"] {
    padding: 8px 20px;
    font-size: 16px;
    background-color: #c00;  /* your red color */
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#hyawardee_register_form button[type="submit"]:hover {
    background-color: #a00;
}

/* Responsive: keep button centered on mobile */
@media (max-width: 768px) {
    #hyawardee_register_form .form-group.full-row {
        justify-content: center;
    }
}

.btn-logout{ font-size: 16px;
    padding: 6px;
    border-radius: 2px;
    font-family: serif;
    background-color: #fff; }
.aw-booking-btn-wrapper {
    text-align: center;
    margin: 0;
}
@media (max-width: 768px){
	.aw-booking-btn {
		margin-bottom:20px;}
}
.aw-booking-btn {
	position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #95045b, #c50322, #ffb500, #ed072b);
    background-size: 400% 400%;
    color: white;
    font-size: 17px;
    font-weight: bold;
    padding: 16px 50px;
	margin: 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    animation: rubberBand 1.2s ease, shimmer 6s linear infinite;
}

/* Moving gradient background continuously */
@keyframes shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Elastic rubber-band on page load */
@keyframes rubberBand {
    0% { transform: scale3d(1, 1, 1); }
    30% { transform: scale3d(1.25, 0.75, 1); }
    40% { transform: scale3d(0.75, 1.25, 1); }
    50% { transform: scale3d(1.15, 0.85, 1); }
    65% { transform: scale3d(.95, 1.05, 1); }
    75% { transform: scale3d(1.05, .95, 1); }
    100% { transform: scale3d(1, 1, 1); }
}

/* Continuous sparkles */
.sparkle {
    position: absolute;
    font-size: 18px;
    color: gold;
    opacity: 0.8;
    animation: sparkle-move 2s linear infinite;
}

/* Position around button edges */
.sparkle-1 { top: 5%; left: 10%; animation-delay: 0s; }
.sparkle-2 { top: 10%; right: 15%; animation-delay: 0.3s; }
.sparkle-3 { bottom: 10%; left: 20%; animation-delay: 0.6s; }
.sparkle-4 { bottom: 5%; right: 10%; animation-delay: 0.9s; }
.sparkle-5 { top: 50%; left: 0%; animation-delay: 1.2s; }
.sparkle-6 { bottom: 50%; right: 0%; animation-delay: 1.5s; }

/* Sparkle moving animation (slide + fade in/out) */
@keyframes sparkle-move {
    0% { transform: translate(0,0) scale(0.5) rotate(0deg); opacity: 0; }
    30% { opacity: 1; }
    70% { opacity: 1; }
    100% { transform: translate(calc(100px - 200px*random()), calc(50px - 100px*random())) scale(1) rotate(360deg); opacity: 0; }
}

/* Hover effect */
.aw-booking-btn:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* =========================
   HY hyawardee Register Form
   ========================= */
#hyawardee_register_form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

#hyawardee_register_form .form-group {
  display: flex;
  flex-direction: column;
}

#hyawardee_register_form label {
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 600;
  color: #444;
}

#hyawardee_register_form input {
  padding: 5px 5px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fafafa;
  font-size: 12px;
  transition: all 0.2s ease-in-out;
}

#hyawardee_register_form input:focus {
  border-color: #c2185b;
  background: #fff;
  box-shadow: 0 0 6px rgba(194, 24, 91, 0.2);
  outline: none;
}

#hyawardee_register_form .full-row {
  grid-column: span 3;
}

#hyawardee_register_form button {
 background-image: linear-gradient(140deg, #880101 0%, #F33203 100%);
	width:fit-content;
  color: #fff;
  border: none;
  padding: 5px 20px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#hyawardee_register_form button:hover {
 background-image: linear-gradient(140deg,#F33203  0%, #880101 100%);
}

/* Responsive */
@media (max-width: 768px) {
  #hyawardee_register_form {
    grid-template-columns: 1fr;
  }
  #hyawardee_register_form .full-row {
    grid-column: span 1;
  }
}


/* HY hyawardee Profile Styling */
.hyawardee-details {
  max-width: 700px;
  margin: 20px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  font-family: 'Segoe UI', Roboto, sans-serif;
}

.hyawardee-details h3 {
  background: linear-gradient(135deg, #BA0E29, #39383B);
  color: #fff;
  margin: 0;
  padding: 14px 20px;
  font-size: 1.3rem;
  text-align: center;
  letter-spacing: 0.5px;
}

.hyawardee-details table {
  width: 100%;
  border-collapse: collapse;
}

.hyawardee-details th,
.hyawardee-details td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
}

.hyawardee-details th {
  width: 35%;
  font-weight: 600;
  color: #444;
  background: #fafafa;
}

.hyawardee-details td {
  color: #333;
}

/* Zebra rows */
.hyawardee-details tr:nth-child(even) td {
  background: #f9f9f9;
}

/* Mobile responsive */
@media (max-width: 600px) {
  .hyawardee-details table,
  .hyawardee-details tbody,
  .hyawardee-details tr,
  .hyawardee-details th,
  .hyawardee-details td {
    display: block;
    width: 100%;
  }

  .hyawardee-details tr {
    margin-bottom: 12px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }

  .hyawardee-details th {
    background: #f3f3f3;
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .hyawardee-details td {
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .hyawardee-details tr:nth-child(even) td {
    background: #fff;
  }
}

/* ===== Scrollbar Styling ===== */
.aw-table-responsive::-webkit-scrollbar {
  height: 14px;
}
.aw-table-responsive::-webkit-scrollbar-thumb {
  background-color: #ff4081;
  border-radius: 10px;
  border: 3px solid #f1f1f1;
}
.aw-table-responsive::-webkit-scrollbar-track {
  background-color: #f1f1f1;
  border-radius: 10px;
}

/* ===== Table Wrapper ===== */
.aw-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  margin-bottom: 20px;
}

/* ===== Table Base ===== */
.aw-table {
  width: max-content; /* ✅ allows table to expand to max content width */
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  line-height: 1.6;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08)!important;
  table-layout: auto; /* ✅ columns size by content */
  margin: 6px auto;
}

/* ===== Table Head ===== */
.aw-table thead th {
  background: #939393!important;
  color: #fff;
  font-weight: 600;
  text-align: center;
  padding: 10px 12px;
  font-size: 15px;
  border-bottom: 2px solid #ff4081;
  white-space: nowrap; /* keep headers single-line */
}

/* ===== Table Body ===== */
.aw-table tbody td {
  padding: 10px 12px;
  font-size: 15px;
  border-bottom: 1px solid #f2f2f2;
  vertical-align: middle;
  text-align: center;

  /* ✅ allow natural width & visible full text */
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: unset !important;
  max-width: none !important;
}

/* ===== Rounded Corners ===== */
.aw-table thead th:first-child { border-top-left-radius: 12px; }
.aw-table thead th:last-child { border-top-right-radius: 12px; }
.aw-table tbody tr:last-child td:first-child { border-bottom-left-radius: 12px; }
.aw-table tbody tr:last-child td:last-child { border-bottom-right-radius: 12px; }

/* ===== Buttons ===== */
.aw-table button,
.aw-table .btn {
  font-size: 15px;
  padding: 8px 15px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(90deg, #ff4081, #c2185b);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}
.aw-table button:hover,
.aw-table .btn:hover {
  background: linear-gradient(90deg, #ff4081, #353b7a);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(255,64,129,0.25);
}

/* ===== Links ===== */
.aw-table a {
  color: #c2185b;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
}
.aw-table a:hover {
  color: #ff4081;
  text-decoration: underline;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
  .aw-table {
    font-size: 12px;
    width: max-content !important;
    line-height: 1.4;
  }
  .aw-table tbody td {
    white-space: normal !important;
    word-break: break-word;
  }
  .aw-table-responsive {
    margin-bottom: 25px;
  }
}
