/* ==========================================================
   REGISTRATION (registration.css)
   Styles for Registration.html — fee tables, note boxes, hotel cards.
   Requires: global.css loaded first.
   ========================================================== */

/* --- Table Overflow (mobile scrolling) --- */
.Table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* --- Registration Table Section --- */
.Table {
  font-family: 'Arial', sans-serif;
  padding: 20px;
  background-color: transparent;
  margin: 20px auto;
  border-radius: 15px;
  max-width: 90%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border: 4px solid transparent;
  border-image: linear-gradient(to right, #ff7e5f, #e57cff, blue);
  border-image-slice: 1;
  overflow: hidden;
}

.Table h2 { text-align: center; font-size: 2em; color: #333; margin-bottom: 20px; }
.Table h3 { font-size: 1.5em; color: #333; margin-bottom: 15px; text-decoration: underline; }
.Table table { width: 100%; border-collapse: collapse; margin-top: 15px; background-color: transparent; border-radius: 10px; overflow: hidden; }
.Table th { background-color: transparent; color: #333; font-size: 1.1em; padding: 12px 15px; text-align: center; border: 1px solid #ddd; }
.Table td { padding: 12px 15px; text-align: center; border: 1px solid #ddd; }
.Table tr:nth-child(even) { background-color: #f9f9f9; }
.Table tr:hover { background-color: #f1f1f1; }
.Table p { font-size: 1.1em; color: #555; line-height: 1.6; margin-top: 20px; text-align: center; }
.Table a { color: #333; font-weight: bold; text-decoration: none; }
.Table a:hover { text-decoration: underline; }

/* --- Note Box --- */
.note-box { background-color: #fff8e1; border: 2px solid #f7931e; border-radius: 10px; padding: 20px 25px; margin: 25px 0; text-align: left; }
.note-box h4 { color: #f7931e; font-size: 1.4em; margin-bottom: 12px; font-weight: bold; text-align: left; }
.note-box p { font-size: 1em; color: #444; margin-top: 8px; text-align: left; line-height: 1.6; }
.note-box ul { font-size: 1em; color: #444; line-height: 1.8; }
.note-box a { color: #f7931e; font-weight: bold; text-decoration: none; word-break: break-all; }
.note-box a:hover { text-decoration: underline; }

/* --- Payment Link --- */
.Table h3 a { word-break: break-all; }

/* --- Hotels Section --- */
.hotels-section { text-align: center; padding: 40px; background-color: #f5f5f5; display: flex; flex-wrap: wrap; justify-content: space-around; }
.hotels-section h1 { font-size: 3em; font-family: 'Arial', sans-serif; color: #333; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 2px; width: 100%; }
.hotels-section p { font-size: 1.2em; color: #666; margin-bottom: 40px; width: 100%; }

/* --- Hotel Cards --- */
.hotel-card { display: flex; flex-direction: column; width: 300px; margin: 20px; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); background: linear-gradient(145deg, #ffffff, #f1f1f1); transition: transform 0.3s ease, box-shadow 0.3s ease; height: 500px; }
.hotel-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); }
.hotel-image img { width: 100%; height: 200px; object-fit: cover; border-bottom: 2px solid #ddd; border-top-left-radius: 10px; border-top-right-radius: 10px; }
.hotel-info { padding: 20px; background-color: #fff; color: #444; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.hotel-info h2 { font-size: 1.6em; margin-bottom: 15px; font-family: 'Segoe UI', sans-serif; color: #333; }
.hotel-info h2 a { text-decoration: none; color: #333; font-weight: bold; transition: color 0.3s; }
.hotel-info h2 a:hover { color: transparent; background-image: linear-gradient(45deg, #d89b51, #82325d, #455db2); -webkit-background-clip: text; background-clip: text; }
.hotel-info p { font-size: 1em; line-height: 1.5; color: #555; }
.hotel-info p:first-of-type { font-weight: 600; color: #333; }
.hotel-card .hotel-info p { margin-bottom: 10px; }

/* --- Responsive --- */
@media (max-width: 1200px) { .hotel-card { width: 250px; } }
@media (max-width: 1024px) {
  .nav-links button { font-size: 0.9em; }
  .Table h2 { font-size: 1.8em; }
  .Table h3 { font-size: 1.3em; }
  .Table th, .Table td { padding: 10px 12px; }
}
@media (max-width: 992px) { .hotel-card { width: 45%; } }
@media screen and (max-width: 768px) {
  .hotel-card { width: 45%; }
  .Table h2 { font-size: 1.6em; }
  .Table h3 { font-size: 1.2em; }
  .Table th, .Table td { padding: 8px 10px; }
  .Table table { font-size: 0.9em; }
  .note-box { padding: 15px 18px; margin: 20px 0; }
  .note-box h4 { font-size: 1.2em; }
  .note-box p, .note-box ul { font-size: 0.95em; }
}
@media (max-width: 578px) {
  .Table h2 { font-size: 1.4em; }
  .Table h3 { font-size: 1.1em; }
  .Table th, .Table td { padding: 6px 8px; font-size: 0.9em; }
  .Table p { font-size: 1em; }
  .Table table { font-size: 0.7em; }
  .note-box { padding: 12px 14px; margin: 15px 0; }
  .note-box h4 { font-size: 1.1em; }
  .note-box p, .note-box ul { font-size: 0.9em; }
  .note-box ul { padding-left: 18px; }
}
@media (max-width: 480px) { .hotel-card { width: 100%; } }
@media (max-width: 417px) {
  .Table { padding: 10px; }
  .Table h2 { font-size: 0.8em; }
  .Table th, .Table td { padding: 3px 4px; font-size: 1em; }
  .Table p { font-size: 1em; }
  .note-box { padding: 10px 12px; }
  .note-box h4 { font-size: 1em; margin-bottom: 8px; }
  .note-box p, .note-box ul { font-size: 0.85em; }
  .note-box ul { padding-left: 15px; }
}
@media (max-width: 390px) {
  .Table { padding: 10px; }
  .Table h2 { font-size: 0.6em; }
  .Table th, .Table td { padding: 3px 4px; font-size: 0.8em; }
  .Table p { font-size: 0.8em; }
  .note-box { padding: 8px 10px; }
  .note-box h4 { font-size: 0.9em; }
  .note-box p, .note-box ul { font-size: 0.8em; }
}
