body,
html {
  width: 100%;
  padding: 0;
  overflow-x: hidden;
  margin: 0;
}
#nav-menu,
body.menu-open {
  position: fixed;
  height: 100vh;
}
.close-menu-btn,
.records-date,
.result-card,
.text-center,
.time-card,
h1,
h2 {
  text-align: center;
}
.previous-table,
table {
  border-collapse: collapse;
}
.text-light,
footer {
  color: var(--text-light);
}
:root {
  --primary-green: #22c55e;
  --dark-green: #15803d;
  --light-bg: #f0fdf4;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  background-color: #f8fafc;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  touch-action: manipulation;
  overscroll-behavior-y: auto;
  -webkit-font-smoothing: antialiased;
  user-select: auto;
  -webkit-user-select: auto;
}
.header-container,
main {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}
.header-container,
header {
  display: flex;
  width: 100%;
  overflow: visible;
}
[contenteditable="true"],
input,
select,
textarea {
  user-select: text !important;
  -webkit-user-select: text !important;
  font-size: 16px !important;
}
main {
  flex: 1 0 auto;
  padding: 1.5rem;
  width: 100%;
  display: block;
  animation: 0.5s ease-in-out fadeIn;
}
body.menu-open {
  overflow: hidden !important;
  width: 100%;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
h1,
h2 {
  color: var(--dark-green);
}
header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 40px;
  align-items: center;
  padding: 8px 0;
}
.header-container {
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
}
.brand-section,
.header-actions {
  align-items: center;
  display: flex;
}
.brand-section {
  gap: 12px;
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}
.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.menu-toggle,
.top-action-btn {
  width: 40px;
  height: 40px;
  background: #f0fdf4;
  cursor: pointer;
}
.logo-text {
  font-weight: 800;
  color: #166534;
  font-size: 0.8rem;
  text-transform: uppercase;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}
#nav-menu a,
.top-action-btn {
  font-size: 1.1rem;
  font-weight: 600;
  color: #166534;
  text-decoration: none;
}
.header-actions {
  justify-content: flex-end;
  gap: 15px;
  flex-shrink: 0;
  padding-right: 15px;
}
.top-action-btn {
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  border: none;
  padding: 0;
}
.top-action-btn:active {
  background: #dcfce7;
  transform: scale(0.95);
}
.top-action-btn--back {
  font-size: 1.4rem;
}
.spinning {
  animation: 0.6s ease-in-out rotate;
}
@keyframes rotate {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
.menu-toggle {
  display: flex !important;
  flex-direction: column;
  gap: 4px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  padding: 0;
}
#nav-menu,
.menu-internal-header {
  background: #fff;
  display: flex;
  box-sizing: border-box;
}
.menu-toggle span {
  width: 22px;
  height: 2.5px;
  background: #166534;
  border-radius: 2px;
}
#nav-menu {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  flex-direction: column;
  justify-content: flex-start;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 9999;
  padding: 0;
  margin: 0;
  overflow-y: auto;
}
#nav-menu.active {
  transform: translateX(0);
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 100vh !important;
  width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
}
#nav-menu .menu-internal-header {
  position: sticky;
  top: 0;
  z-index: 10000;
}
body.menu-open header {
  z-index: 0 !important;
}
.menu-internal-header {
  position: sticky;
  top: 0;
  z-index: 10;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid #eee;
  min-height: 65px;
  width: 100%;
}
.nav-links-container {
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
  width: 100%;
  box-sizing: border-box;
}
#nav-menu a {
  padding: 18px 0;
  border-bottom: 1px solid #f1f1f1;
}
.close-menu-btn {
  margin-top: 30px;
  color: #595959 !important;
  font-size: 0.9rem !important;
  padding: 20px !important;
  border: none !important;
  font-weight: 500 !important;
  cursor: pointer;
  display: block;
  width: 100%;
}
.close-x {
  font-size: 2.2rem;
  color: #166534;
  cursor: pointer;
  line-height: 1;
}
body.menu-open .page-previous,
body.menu-open .previous-pagination,
body.menu-open main {
  visibility: hidden;
}
body.menu-open #nav-menu {
  visibility: visible;
}
.info-section--shooting {
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  background-color: #fff;
  margin-bottom: 20px;
}
.info-title--shooting {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.time-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.time-card {
  padding: 10px 4px;
  font-size: 0.7rem;
  border: 1px solid #22c55e;
  border-radius: 10px;
  background: #f0fdf4;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.time-card__label {
  color: #15803d;
  font-size: 0.75rem;
}
.time-card__time {
  color: #333;
  font-weight: 700;
}
.home-title {
  margin-bottom: 5px;
}
#display-date {
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #666;
}
.results-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 10px;
  margin-bottom: 25px;
}
.result-card {
  flex: 1;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e0e0e0;
  padding: 12px 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}
.result-card__title {
  font-size: 0.8rem;
  font-weight: 600;
  color: #166534;
  margin-bottom: 10px;
}
.install-btn,
.result-number {
  background: #22c55e;
  color: #fff;
}
.result-number {
  border-radius: 10px;
  padding: 20px 0;
  font-size: 2.8rem;
  font-weight: 800;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.15);
  line-height: 1;
}
.install-btn,
.install-guide-btn {
  padding: 12px 5px;
  font-weight: 700;
  cursor: pointer;
}
.install-container {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 25px 0;
}
.install-actions {
  display: flex;
  gap: 8px;
  width: 95%;
  max-width: 400px;
}
.install-btn {
  flex: 1.5;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 12px;
  font-size: 0.8rem;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.2);
}
.install-guide-btn {
  flex: 1;
  border: 1px solid #22c55e;
  background: #fff;
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 12px;
  font-size: 0.75rem;
}
.whatsapp-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 15px 0;
}
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  background-color: #25d366;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  border: none;
  width: auto;
  max-width: 90%;
}
.whatsapp-btn:active {
  transform: scale(0.96);
}
.whatsapp-icon {
  width: 20px;
  height: 20px;
}
.guide-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}
.guide-modal__card {
  background: #fff;
  width: 100%;
  max-width: 350px;
  border-radius: 20px;
  padding: 25px;
  position: relative;
  text-align: center;
}
.guide-modal__title {
  color: #166534;
  margin-top: 0;
}
.guide-modal__steps {
  text-align: left;
  font-size: 0.9rem;
  color: #444;
  background: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
  margin: 15px 0;
}
.guide-modal__youtube {
  display: block;
  background: red;
  color: #fff;
  text-decoration: none;
  padding: 12px;
  border-radius: 10px;
  font-weight: 700;
  margin-bottom: 15px;
}
.guide-modal__close {
  background: #eee;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  color: #666;
  font-weight: 700;
}
.sunday-closed {
  color: #d92727;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.schedule-img {
  max-width: 100%;
  border-radius: 10px;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px;
}
.social-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.search-container {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
  border-top: 4px solid #16a34a;
}
.search-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #1a5c2e;
}
.search-inputs {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.search-inputs input[type="date"] {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
}
.btn-green {
  background-color: #16a34a;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  font-size: 0.95rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.btn-green:hover {
  background-color: #15803d;
  transform: translateY(-1px);
}
.btn-green1:active,
.btn-green:active {
  transform: translateY(0);
}
.btn-clear {
  text-decoration: none;
  color: #64748b;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px 12px;
  border-radius: 8px;
  transition: 0.2s;
}
.btn-clear:hover {
  background-color: #f1f5f9;
  color: #ef4444;
}
.previous-title {
  margin-top: 15px;
}
.admin-field,
.previous-subtitle {
  margin-bottom: 15px;
}
.table-container {
  width: 100%;
  padding: 0;
  overflow-x: auto;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.previous-table {
  width: 100%;
  font-size: 0.85rem;
}
.previous-table__head-row {
  background-color: #22c55e;
  color: #fff;
}
.previous-table__th {
  padding: 10px 2px;
}
.previous-table__th--date {
  padding: 10px 5px;
  width: 35%;
}
.previous-table__th--actions {
  padding: 10px 5px;
}
.previous-table__body-row {
  border-bottom: 1px solid #eee;
}
.previous-table__td {
  padding: 8px 2px;
}
.previous-table__td--date {
  padding: 8px 5px;
  font-weight: 700;
}
.previous-table__td--actions {
  padding: 8px 5px;
}
.previous-badge {
  display: inline-block;
  min-width: 25px;
  padding: 4px;
  font-size: 0.8rem;
}
.previous-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-direction: column;
}
.previous-edit-link {
  color: #2196f3;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.75rem;
}
.previous-delete-form {
  margin: 0;
}
.previous-delete-btn {
  color: #f44336;
  border: none;
  background: 0 0;
  cursor: pointer;
  font-weight: 700;
  padding: 0;
  font-size: 0.75rem;
}
.previous-empty {
  padding: 20px;
}
.previous-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 40px;
  font-family: Poppins, sans-serif;
}
.previous-page-link {
  display: inline-block;
  padding: 10px 24px;
  background-color: #2ecc71;
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.3s;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2);
}
.admin-cancel-edit,
.admin-db-download,
.admin-logout-btn,
.nav-item,
.records-page-btn {
  text-decoration: none;
}
.previous-page-link:hover:not(.previous-page-link--disabled) {
  background-color: #27ae60;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
}
.previous-page-link--disabled {
  background-color: #e0e0e0 !important;
  color: #a0a0a0 !important;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
@media (max-width: 480px) {
  .menu-internal-header .logo-img {
    width: 44px;
    height: 44px;
  }
  .menu-internal-header .logo-text {
    font-size: 0.8rem;
    line-height: 1.05;
  }
  .previous-pagination {
    gap: 10px;
  }
  .previous-page-link {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}
table {
  width: 100%;
  white-space: nowrap;
}
td,
th {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}
th {
  background-color: var(--primary-green);
  color: var(--white);
}
.number-badge {
  background-color: #dcfce7;
  color: var(--dark-green);
  padding: 5px 15px;
  border-radius: 10px;
  font-weight: 700;
  display: inline-block;
}
.login-lock-icon {
  font-size: 3rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}
.login-default-cred {
  margin-top: 1rem;
  font-size: 0.8rem;
}
.btn-block,
.btn-green1 {
  font-size: 1rem;
  cursor: pointer;
}
.form-container {
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  max-width: 500px;
  margin: 2rem auto;
  text-align: center;
}
.about-section h2,
.form-group {
  text-align: left;
}
.btn-green1 {
  background: linear-gradient(135deg, #22c55e 0, #16a34a 100%);
  color: #fff;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  transition: 0.3s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.btn-block,
.form-control {
  padding: 0.75rem;
  width: 100%;
}
.btn-green1:hover {
  background: linear-gradient(135deg, #16a34a 0, #15803d 100%);
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--dark-green);
  font-weight: 600;
}
.form-control {
  border: 1px solid #d1d5db;
  border-radius: 5px;
  box-sizing: border-box;
}
.btn-block {
  border: none;
}
.alert {
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}
.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
}
.alert-success {
  background-color: #dcfce7;
  color: var(--dark-green);
}
.admin-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 10px;
}
.admin-panel-title {
  font-size: 1.5rem;
}
.admin-logout-btn {
  background-color: #dc2626;
  padding: 8px 15px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #fff;
}
.admin-success-alert {
  margin: 10px;
  padding: 10px;
  background: #dcfce7;
  color: #166534;
  border-radius: 8px;
  text-align: center;
}
.admin-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  padding: 10px;
}
.admin-card {
  margin: 0;
  max-width: 100%;
}
.admin-card-update {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}
.admin-card-title {
  margin-top: 0;
  color: #166534;
}
.admin-label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}
.admin-date-input {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
}
.admin-rounds-row {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}
.admin-round {
  flex: 1;
}
.admin-round-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
}
.admin-round-input {
  width: 100%;
  padding: 12px 5px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid #ddd;
}
.admin-update-btn,
.admin-upload-btn {
  padding: 12px;
  width: 100%;
  font-weight: 700;
  cursor: pointer;
}
.admin-update-btn {
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}
.admin-cancel-edit,
footer {
  font-size: 0.9rem;
  text-align: center;
}
.admin-cancel-edit {
  display: block;
  margin-top: 15px;
  color: #666;
}
.admin-card-upload {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-top: 5px solid #166534;
}
.admin-muted-text {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 15px;
}
.admin-file-field {
  margin-bottom: 20px;
}
.admin-file-input {
  width: 100%;
}
.admin-upload-btn {
  background: #166534;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
}
.admin-card-db {
  background: #f0f9ff;
  border-radius: 15px;
  border: 1px solid #bae6fd;
  border-top: 5px solid #0284c7;
}
.admin-db-title {
  margin-top: 0;
  color: #0369a1;
}
.admin-db-subtext {
  font-size: 0.8rem;
  color: #0369a1;
  margin-bottom: 15px;
}
.admin-db-box {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  border: 1px dashed #0284c7;
  text-align: center;
}
.admin-db-current-file {
  font-size: 0.85rem;
  margin-bottom: 15px;
  color: #444;
}
.admin-db-download {
  display: block;
  width: 100%;
  padding: 12px;
  background: #0284c7;
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}
.admin-db-note {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 10px;
  text-align: center;
}
.admin-card {
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.admin-card-danger {
  border: 1px solid #fcc;
}
.danger-title {
  color: #d9534f;
}
.danger-box {
  background-color: #fff5f5;
  padding: 15px;
  border-radius: 5px;
  text-align: center;
}
.admin-db-delete-btn {
  background-color: #d9534f;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
  width: 100%;
  transition: background 0.3s;
}
.admin-db-delete-btn:hover {
  background-color: #c9302c;
}
.about-section {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}
.step-list {
  list-style: none;
  padding: 0;
}
.step-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}
.step-number {
  background-color: #dcfce7;
  color: var(--dark-green);
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-right: 1rem;
  font-weight: 700;
}
.info-section {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  margin: 1.5rem 0;
  box-shadow: var(--shadow);
  text-align: center;
  color: #1f2937;
}
.info-section p {
  line-height: 1.6;
  margin: 10px 0;
}
.records-page-wrap {
  width: 100%;
  overflow-x: hidden;
}
.records-title {
  margin-top: 20px;
  color: #166534;
}
.records-results-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;
  width: 100%;
}
.records-actions,
.records-card {
  display: flex;
  flex-direction: column;
}
.records-card {
  width: 90%;
  max-width: 330px;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
}
@media (min-width: 992px) {
  .records-page-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .records-results-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(320px, 1fr));
    gap: 24px;
    justify-items: center;
    align-items: start;
    width: 100%;
  }
  .records-card {
    width: 100%;
    max-width: 380px;
    margin: 0;
  }
}
.records-preview {
  height: 250px;
  overflow: hidden;
  background: #f8f9fa;
  margin-bottom: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #eee;
}
.records-preview-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.records-preview-pdf {
  text-align: center;
  color: #666;
}
.records-download-btn,
.records-view-btn {
  padding: 12px;
  color: #fff;
  font-weight: 700;
}
.records-pdf-icon {
  font-size: 3rem;
}
.records-pdf-text {
  font-weight: 700;
}
.records-actions {
  margin-top: auto;
  gap: 10px;
}
.records-view-btn {
  width: 100%;
  border-radius: 8px;
  background-color: #3b82f6;
  border: none;
  border-bottom: 3px solid #2563eb;
  cursor: pointer;
}
.records-download-btn {
  display: block;
  text-decoration: none;
  text-align: center;
  border-radius: 8px;
  background-color: #22c55e;
  border-bottom: 3px solid #16a34a;
}
.records-delete-btn {
  width: 100%;
  background-color: #fff;
  border: 1px solid #dc2626;
  color: #dc2626;
  padding: 8px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
}
.records-empty {
  width: 100%;
  text-align: center;
  padding: 60px 20px;
}
.records-empty-text {
  font-size: 1.2rem;
  color: #666;
  margin: 0 auto;
}
.records-pagination {
  margin-top: 20px;
  padding-bottom: 40px;
  width: 100%;
  text-align: center;
}
.records-page-btn {
  padding: 8px 15px;
  border-radius: 5px;
}
.records-page-count {
  margin: 0 15px;
  font-weight: 700;
  color: #2d5a27;
}
.records-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.records-modal-back {
  position: absolute;
  top: 20px;
  left: 20px;
  background: #22c55e;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.records-modal-image {
  max-width: 95%;
  max-height: 80%;
  border-radius: 8px;
  object-fit: contain;
}
footer {
  padding: 1rem;
  margin-top: auto;
}
@media (max-width: 768px) {
  header,
  main {
    padding: 1rem;
  }
  header {
    flex-direction: column;
  }
  nav {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  nav a {
    margin: 0;
  }
  .results-container {
    flex-direction: column;
    align-items: center;
  }
  .result-card {
    width: 90%;
  }
}
.bottom-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  width: 90%;
  max-width: 400px;
  height: 70px;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  background-color: #fff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  border: 1px solid rgba(0, 0, 0, 0.05);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333;
  font-weight: 500;
  font-size: 11px;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s;
}
.nav-item img {
  width: 26px;
  height: 26px;
  margin-bottom: 4px;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.2s;
}
.nav-item:active img {
  transform: scale(0.9);
}
.nav-item.active {
  color: #166534;
}
.main-footer {
  padding: 20px 0 100px;
  text-align: center;
  font-size: 14px;
  color: #666;
}
@media (min-width: 768px) {
  .bottom-nav {
    display: none;
  }
  .main-footer {
    padding-bottom: 20px;
  }
}













/* Responsive Video Container */
.video-container {
    margin-top: 20px;
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.video-container h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
    color: #1a1a1a;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background-color: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}