body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  -webkit-font-smoothing: antialiased;
  background-color: #f5f5f7;
  color: #1d1d1f;
  line-height: 1.5;
}

.glass-effect, .admin-logs-container .table-card, .admin-logs-container .chart-card, .admin-logs-container .logs-header, .admin-actions-section, .profile-container, .match-header-immersive .competition-badge, .match-card .status-badge, .match-list-item .status-badge {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-premium, .admin-actions-section .btn-admin, .match-actions-card .btn-action-lg, .auth-card .btn-auth, .match-card .btn-match, .match-list-item .btn-match {
  border-radius: 12px;
  padding: 10px 24px;
  font-weight: 600;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn-premium:active, .admin-actions-section .btn-admin:active, .match-actions-card .btn-action-lg:active, .auth-card .btn-auth:active, .match-card .btn-match:active, .match-list-item .btn-match:active {
  transform: scale(0.96);
}

.premium-card, .metric-card, .match-actions-card, .auth-card, .match-card, .match-list-item {
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bg-success-soft {
  background-color: rgba(227, 6, 19, 0.05) !important;
}

.bg-danger-soft {
  background-color: rgba(227, 6, 19, 0.1) !important;
}

.eagle-indicator {
  display: flex;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #75757a;
}
.eagle-indicator svg {
  margin-right: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.eagle-indicator.valid {
  color: #e30613;
  font-weight: 700;
}
.eagle-indicator.valid svg {
  transform: scale(1.1);
}

.fw-700 {
  font-weight: 700 !important;
}

.fw-800 {
  font-weight: 800 !important;
}

* {
  -webkit-tap-highlight-color: transparent;
}

.home-greeting {
  padding: 2rem 0;
}
.home-greeting h2 {
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -1.5px;
  margin-bottom: 0.25rem;
  color: #1d1d1f;
}
.home-greeting p {
  font-size: 1.1rem;
  font-weight: 500;
}

.section-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}
.section-title i {
  margin-right: 10px;
  color: #e30613;
}

.match-card, .match-list-item {
  padding: 2rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
}
.match-card:hover, .match-list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}
.match-card .club-logo, .match-list-item .club-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
  z-index: 2;
}
.match-card h5, .match-list-item h5 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #59595e;
  font-weight: 700;
  margin-bottom: 0.5rem;
  z-index: 2;
}
.match-card h6, .match-list-item h6 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1d1d1f;
  margin-bottom: 1.5rem;
  z-index: 2;
}
.match-card .match-date-badge, .match-list-item .match-date-badge {
  background: #f5f5f7;
  padding: 0.75rem 1rem;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.match-card .match-date-badge .day, .match-list-item .match-date-badge .day {
  font-size: 1.5rem;
  font-weight: 800;
  color: #e30613;
  line-height: 1;
}
.match-card .match-date-badge .month-time, .match-list-item .match-date-badge .month-time {
  text-align: left;
}
.match-card .match-date-badge .month-time .month, .match-list-item .match-date-badge .month-time .month {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem;
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}
.match-card .match-date-badge .month-time .time, .match-list-item .match-date-badge .month-time .time {
  font-size: 0.85rem;
  color: #59595e;
  font-weight: 600;
}
.match-card .btn-match, .match-list-item .btn-match {
  width: 100%;
  margin-top: auto;
  z-index: 2;
}
.match-card .btn-match.btn-danger, .match-list-item .btn-match.btn-danger {
  background-color: #e30613;
  border: none;
  box-shadow: 0 4px 15px rgba(227, 6, 19, 0.2);
}
.match-card .status-badge, .match-list-item .status-badge {
  padding: 0.5rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  width: 100%;
  margin-bottom: 10px;
  z-index: 2;
}
.match-card .status-badge.status-success, .match-list-item .status-badge.status-success {
  color: #99040d;
  background: #fdf2f3;
  border-color: #fbd6d8;
}
.match-card .status-badge.status-info, .match-list-item .status-badge.status-info {
  color: #1d1d1f;
  background: #f2f2f2;
  border-color: #e6e6e6;
}
.match-card::before, .match-list-item::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(227, 6, 19, 0.03) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.welcome-hero {
  padding: 4rem 1rem;
  background: white;
  border-radius: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  margin-top: 2rem;
}
.welcome-hero h2 {
  font-weight: 800;
  font-size: 3rem;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}
.welcome-hero .lead {
  font-weight: 500;
  color: #59595e;
  margin-bottom: 2.5rem;
}

.app-layout {
  min-height: 100vh;
  padding-bottom: env(safe-area-inset-bottom);
}

.layout-grid {
  display: flex;
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
  align-items: flex-start;
}

.main-content {
  flex-grow: 1;
  padding: 2.5rem;
  transition: padding 0.3s ease;
  min-width: 0;
}

.mobile-tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1030;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px 20px 0 0;
}
.mobile-tab-bar .tab-item {
  text-align: center;
  flex: 1;
}
.mobile-tab-bar .tab-item a {
  text-decoration: none;
  color: #59595e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 0.7rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-tab-bar .tab-item a i {
  font-size: 1.4rem;
  margin-bottom: 2px;
}
.mobile-tab-bar .tab-item.active a {
  color: #e30613;
}

@media (max-width: 991.98px) {
  .layout-grid {
    flex-direction: column;
  }
  .main-content {
    padding: 1.5rem 1rem 100px 1rem;
  }
}
.auth-container {
  padding-top: 5vh;
  padding-bottom: 5vh;
}

.auth-card {
  padding: 3rem;
  max-width: 500px;
  margin: 0 auto;
  background: white;
}
.auth-card h1 {
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 2rem;
  text-align: center;
}
.auth-card .form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
  width: 100%;
}
.auth-card .form-control {
  background-color: #f5f5f7;
  border: 1.5px solid transparent;
  border-radius: 14px;
  padding: 12px 16px;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.auth-card .form-control:focus {
  background-color: white;
  border-color: rgba(227, 6, 19, 0.3);
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.05);
  outline: none;
}
.auth-card .btn-auth {
  background-color: #e30613;
  border: none;
  color: white;
  width: 100%;
  margin-top: 1rem;
  font-size: 1.05rem;
  padding: 14px;
}
.auth-card .btn-auth:hover {
  filter: brightness(1.1);
  color: white;
}
.auth-card .auth-footer {
  margin-top: 2rem;
  text-align: center;
}
.auth-card .auth-footer a {
  color: #e30613;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}
.auth-card .auth-footer a:hover {
  text-decoration: underline;
}

.processing-overlay {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
}
.processing-overlay .spinner-wrapper {
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}
.processing-overlay .spinner-wrapper .spinner-border {
  width: 4rem;
  height: 4rem;
  border-width: 0.25em;
  color: #e30613;
}
.processing-overlay .spinner-wrapper::after {
  content: "\f473";
  font-family: "bootstrap-icons", sans-serif;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: #e30613;
}
.processing-overlay h3 {
  font-weight: 700;
  margin-bottom: 1rem;
}
.processing-overlay p {
  color: #59595e;
  font-size: 0.95rem;
}

.file-input-wrapper {
  position: relative;
}
.file-input-wrapper .form-control[type=file] {
  padding: 10px;
}
.file-input-wrapper .form-control[type=file]::file-selector-button {
  background-color: #e30613;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 4px 12px;
  margin-right: 12px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.file-input-wrapper .form-control[type=file]::file-selector-button:hover {
  filter: brightness(1.1);
}

.games-list-container {
  padding-top: 1rem;
  padding-bottom: 5rem;
}

.match-list-item {
  flex-direction: row;
  text-align: left;
  padding: 1.25rem 2rem;
  margin-bottom: 1.5rem;
  align-items: center;
}
.match-list-item .match-date-badge {
  margin-bottom: 0;
  margin-right: 2rem;
  padding: 0.5rem 1rem;
  min-width: 100px;
}
.match-list-item .club-logo {
  margin-bottom: 0;
  margin-right: 1.5rem;
  width: 50px;
  height: 50px;
}
.match-list-item .match-info {
  flex-grow: 1;
}
.match-list-item .match-info h5 {
  font-size: 0.8rem;
  margin-bottom: 0;
  text-align: left;
}
.match-list-item .match-info h6 {
  font-size: 1.2rem;
  margin-bottom: 0;
  text-align: left;
}
.match-list-item .match-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  min-width: 150px;
}
.match-list-item .match-actions .btn-match {
  margin-top: 0;
  padding: 8px 16px;
  font-size: 0.9rem;
}

@media (max-width: 767.98px) {
  .match-list-item {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .match-list-item .match-date-badge {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .match-list-item .club-logo {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  .match-list-item .match-info {
    margin-bottom: 1.5rem;
  }
  .match-list-item .match-info h5,
  .match-list-item .match-info h6 {
    text-align: center;
  }
  .match-list-item .match-actions {
    align-items: center;
    width: 100%;
  }
}
.empty-state {
  padding: 5rem 1rem;
  text-align: center;
}
.empty-state .empty-icon {
  font-size: 5rem;
  color: #59595e;
  opacity: 0.5;
  margin-bottom: 1.5rem;
  display: block;
}
.empty-state h3 {
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 0.5rem;
}
.empty-state p {
  color: #59595e;
  font-size: 1.1rem;
}

.match-detail-container {
  padding-bottom: 5rem;
}

.match-header-immersive {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: #e30613;
  color: white;
  padding: 4rem 2rem;
  margin-bottom: -40px;
  z-index: 1;
  text-align: center;
  box-shadow: 0 15px 40px rgba(227, 6, 19, 0.2);
}
.match-header-immersive .competition-badge {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.match-header-immersive h1 {
  font-weight: 800;
  font-size: 2.8rem;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
}
.match-header-immersive h1 span {
  opacity: 1;
  font-weight: 400;
}
.match-header-immersive .match-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  opacity: 0.9;
}
.match-header-immersive .match-meta i {
  margin-right: 8px;
}
.match-header-immersive::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.match-actions-card {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.match-actions-card .club-emblem-large {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 2rem;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}
.match-actions-card .action-text {
  font-size: 1.2rem;
  color: #59595e;
  margin-bottom: 2.5rem;
  font-weight: 500;
}
.match-actions-card .btn-action-lg {
  font-size: 1.2rem;
  padding: 18px 40px;
  min-width: 280px;
}
.match-actions-card .btn-action-lg.btn-primary {
  background-color: #e30613;
  border: none;
  box-shadow: 0 10px 25px rgba(227, 6, 19, 0.25);
}
.match-actions-card .btn-action-lg.btn-success {
  background-color: white;
  color: #e30613;
  border: 1px solid rgba(227, 6, 19, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.success-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.success-overlay.show {
  display: flex;
  opacity: 1;
}
.success-overlay .checkmark-container {
  width: 100px;
  height: 100px;
  background: #e30613;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  margin: 0 auto 2rem auto;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.success-overlay h2 {
  font-weight: 800;
  letter-spacing: -1px;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.profile-container {
  border-radius: 30px;
  padding: 2.5rem;
  margin-top: 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.profile-nav .nav-pills {
  gap: 8px;
}
.profile-nav .nav-pills .nav-link {
  color: #1d1d1f;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.8rem 1.2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  border: 1px solid transparent;
}
.profile-nav .nav-pills .nav-link i {
  margin-right: 12px;
  font-size: 1.2rem;
  opacity: 1;
}
.profile-nav .nav-pills .nav-link:hover {
  background: rgba(0, 0, 0, 0.03);
}
.profile-nav .nav-pills .nav-link.active {
  background: white;
  color: #e30613;
  border-color: rgba(227, 6, 19, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.profile-nav .nav-pills .nav-link.active i {
  color: #e30613;
  opacity: 1;
}

.stat-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
  height: 100%;
}
.stat-card h6 {
  font-weight: 700;
  color: #59595e;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.stat-card .stat-value {
  font-weight: 800;
  font-size: 1.2rem;
  color: #1d1d1f;
}

.ticket-pass {
  background: white;
  border-radius: 20px;
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}
.ticket-pass::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: #e30613;
}
.ticket-pass .ticket-info h6 {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.ticket-pass .ticket-info small {
  font-weight: 600;
  color: #59595e;
}

.notification-row {
  background: white;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.notification-row:hover {
  background: #f5f5f7;
}
.notification-row .unread-dot {
  width: 10px;
  height: 10px;
  background: #e30613;
  border-radius: 50%;
  flex-shrink: 0;
}
.notification-row .notif-icon {
  width: 40px;
  height: 40px;
  background: #ebebeb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #99040d;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.notification-row .notif-content {
  flex-grow: 1;
}
.notification-row .notif-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
}
.notification-row .notif-content small {
  color: #59595e;
  font-weight: 500;
}

.admin-container {
  padding-bottom: 5rem;
}

.metric-card {
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.metric-card .metric-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #e30613;
  opacity: 0.8;
}
.metric-card h6 {
  font-weight: 700;
  color: #59595e;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.metric-card .metric-value {
  font-weight: 800;
  font-size: 2.5rem;
  color: #1d1d1f;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.metric-card .metric-sub {
  font-weight: 600;
  color: #59595e;
  font-size: 0.85rem;
}

.admin-actions-section {
  border-radius: 24px;
  padding: 3rem;
  margin-top: 3rem;
}
.admin-actions-section h4 {
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 2rem;
}
.admin-actions-section .action-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.admin-actions-section .btn-admin {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: #1d1d1f;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
}
.admin-actions-section .btn-admin i {
  font-size: 1.25rem;
  color: #e30613;
}
.admin-actions-section .btn-admin:hover {
  background: #f5f5f7;
  border-color: rgba(227, 6, 19, 0.2);
}

/* 
 * Apple/Google Level Admin Logs Dashboard 
 */
.admin-logs-container {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.admin-logs-container .logs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  margin-bottom: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
.admin-logs-container .logs-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0;
}
.admin-logs-container .logs-header .filters-group {
  display: flex;
  gap: 1rem;
}
.admin-logs-container .logs-header .filters-group input, .admin-logs-container .logs-header .filters-group select {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: white;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.admin-logs-container .logs-header .filters-group input:focus, .admin-logs-container .logs-header .filters-group select:focus {
  outline: none;
  border-color: #e30613;
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}
.admin-logs-container .logs-dashboard-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .admin-logs-container .logs-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .admin-logs-container .logs-dashboard-grid .logs-analytics {
    order: -1;
  }
}
.admin-logs-container .chart-card {
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
.admin-logs-container .chart-card h3 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #59595e;
}
.admin-logs-container .chart-card .chart-container {
  position: relative;
  height: 250px;
  width: 100%;
}
.admin-logs-container .table-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
.admin-logs-container .table-card .table-responsive {
  width: 100%;
}
.admin-logs-container .table-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}
@media (max-width: 768px) {
  .admin-logs-container .table-card table {
    display: block;
  }
  .admin-logs-container .table-card table thead {
    display: none;
  }
  .admin-logs-container .table-card table tbody, .admin-logs-container .table-card table tr, .admin-logs-container .table-card table td {
    display: block;
    width: 100%;
  }
  .admin-logs-container .table-card table tr {
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: white;
    padding: 1rem;
    position: relative;
  }
  .admin-logs-container .table-card table tr.level-ERROR {
    border-left: 4px solid #e30613;
  }
  .admin-logs-container .table-card table tr.level-WARN {
    border-left: 4px solid #f59e0b;
  }
  .admin-logs-container .table-card table tr.level-INFO {
    border-left: 4px solid #3b82f6;
  }
  .admin-logs-container .table-card table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: right;
  }
  .admin-logs-container .table-card table td:last-child {
    border-bottom: none;
  }
  .admin-logs-container .table-card table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #59595e;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-right: 1rem;
    text-align: left;
    flex-shrink: 0;
  }
  .admin-logs-container .table-card table td:first-child {
    display: block;
    text-align: left;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 0.5rem;
  }
  .admin-logs-container .table-card table td:first-child::before {
    display: none;
  }
}
@media (min-width: 769px) {
  .admin-logs-container .table-card table th, .admin-logs-container .table-card table td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  .admin-logs-container .table-card table th {
    background: rgba(250, 250, 250, 0.9);
    font-weight: 600;
    color: #59595e;
    white-space: nowrap;
  }
  .admin-logs-container .table-card table tbody tr {
    transition: background-color 0.2s ease;
    cursor: pointer;
  }
  .admin-logs-container .table-card table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
  }
  .admin-logs-container .table-card table tbody tr td.context-col {
    word-break: break-word;
    max-width: 150px;
  }
  .admin-logs-container .table-card table tbody tr.level-ERROR {
    border-left: 4px solid #e30613;
  }
  .admin-logs-container .table-card table tbody tr.level-ERROR td:first-child {
    color: #e30613;
    font-weight: 600;
  }
  .admin-logs-container .table-card table tbody tr.level-WARN {
    border-left: 4px solid #f59e0b;
  }
  .admin-logs-container .table-card table tbody tr.level-WARN td:first-child {
    color: #d97706;
    font-weight: 600;
  }
  .admin-logs-container .table-card table tbody tr.level-INFO {
    border-left: 4px solid #3b82f6;
  }
  .admin-logs-container .table-card table tbody tr.level-INFO td:first-child {
    color: #2563eb;
    font-weight: 600;
  }
}
.admin-logs-container .table-card table .truncate {
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 1200px) {
  .admin-logs-container .table-card table .truncate {
    max-width: 400px;
  }
}
.admin-logs-container .table-card table .machine-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
}
.admin-logs-container .pagination-controls {
  display: flex;
  justify-content: center;
  padding: 1.5rem;
  gap: 1rem;
}
.admin-logs-container .pagination-controls button {
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  border: none;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}
.admin-logs-container .pagination-controls button:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.admin-logs-container .pagination-controls button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 
 * Skeleton Loaders (Apple Style)
 */
.skeleton-row {
  animation: pulse 1.5s infinite ease-in-out;
}
.skeleton-row td div {
  height: 20px;
  background-color: #e2e8f0;
  border-radius: 4px;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.6;
  }
}
/* 
 * Offcanvas Drawer for Stack Traces
 */
.log-drawer {
  position: fixed;
  top: 0;
  right: -600px;
  width: 600px;
  height: 100%;
  background: white;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .log-drawer {
    width: 100%;
    right: -100%;
  }
}
.log-drawer.open {
  right: 0;
}
.log-drawer .drawer-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  z-index: 10;
}
.log-drawer .drawer-header h2 {
  margin: 0;
  font-size: 1.25rem;
}
.log-drawer .drawer-header .close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #94a3b8;
  padding: 0.5rem;
}
.log-drawer .drawer-header .close-btn:hover {
  color: #0f172a;
}
.log-drawer .drawer-body {
  padding: 2rem;
  overflow-y: auto;
  flex-grow: 1;
  -webkit-overflow-scrolling: touch;
}
.log-drawer .drawer-body .meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (max-width: 480px) {
  .log-drawer .drawer-body .meta-grid {
    grid-template-columns: 1fr;
  }
}
.log-drawer .drawer-body .meta-grid .meta-item span {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.log-drawer .drawer-body .meta-grid .meta-item strong {
  font-size: 1rem;
  color: #0f172a;
  word-break: break-word;
}
.log-drawer .drawer-body .code-block {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: 8px;
  font-family: "Fira Code", "Consolas", monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre-wrap;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.navbar {
  padding: 1rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background: #e30613 !important;
}
@media (min-width: 992px) {
  .navbar {
    position: sticky;
    top: 0;
    z-index: 1040;
  }
}
.navbar .navbar-brand {
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: 1.4rem;
}
.navbar .nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.navbar .nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.alert {
  border: none;
  border-radius: 0;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
}
.alert.alert-warning {
  background-color: #fcfcfc;
  color: #1d1d1f;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.alert.alert-warning i {
  color: #e30613;
}
.alert.alert-danger {
  background-color: #fef2f2;
  color: #7f1d1d;
  border-bottom: 1px solid #fee2e2;
}
.alert .alert-link {
  font-weight: 600;
  color: #e30613;
  text-decoration: underline;
}

.sidebar {
  width: 280px;
  flex-shrink: 0;
  height: calc(100vh - 80px);
  position: sticky;
  top: 80px;
  margin: 1.5rem 0 1.5rem 1.5rem;
  border-radius: 20px;
  padding: 1.25rem !important;
  background: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
.sidebar .nav-pills .nav-link {
  color: #1d1d1f;
  font-weight: 500;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
}
.sidebar .nav-pills .nav-link i {
  margin-right: 12px;
  font-size: 1.2rem;
  color: #59595e;
}
.sidebar .nav-pills .nav-link:hover {
  background: rgba(0, 0, 0, 0.03);
}
.sidebar .nav-pills .nav-link.active {
  background: white;
  color: #e30613;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.sidebar .nav-pills .nav-link.active i {
  color: #e30613;
}
.sidebar .nav-pills .nav-link.text-danger {
  color: #e30613 !important;
}
.sidebar .nav-pills .nav-link.text-danger:hover {
  background: rgba(227, 6, 19, 0.05);
}

/*# sourceMappingURL=main.css.map */
