body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #e8f3ea;
  background: 
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.75)), 
    url('/assets/images/foci-bg.jpg') center center/cover no-repeat fixed;
}

.modal-content {
  background: rgba(24,255,177,0.13); /* picit üveges */
  backdrop-filter: blur(15px) brightness(1.4);
  color: #1b4230;
  border-radius: 1.2rem;
  border: 1.5px solid #18FFB1;
  box-shadow: 0 6px 32px rgba(24,255,177,0.21), 0 2px 12px rgba(30,40,50,0.13);
}
.modal-header,
.modal-footer {
  background: #18FFB110;
}
.modal-title,
.modal-body label {
  color: #0fb380;
}
.modal-backdrop.show {
  opacity: 0.66;
  background: #101f1c;
}

a { color: #18FFB1; text-decoration: none; transition: .17s; }
a:hover { color: #16e09a; }

.hero-section {
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  border-radius: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 2.2rem;
  background: rgba(30,40,50,0.75);
  box-shadow: 0 6px 40px rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  padding: 2.2rem 1rem 2.4rem 1rem;
}

.hero-section h1 {
  font-size: 2.7rem;
  color: #18FFB1;
  font-weight: 900;
  letter-spacing: -1px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.7);
}

.hero-section p {
  color: #e8f3ea;
  font-size: 1.17rem;
  font-weight: 400;
  max-width: 700px;
  margin: 1.3rem auto 2.2rem auto;
}

.hero-bg-img {
  pointer-events: none;
  user-select: none;
  /* Mobilon csak magasság miatt */
  min-height: 280px;
}

.btn-success {
  background: linear-gradient(90deg, #18FFB1, #10b981);
  border: none;
  color: #1d2633;
  font-weight: 800;
  border-radius: 1.7rem;
  padding: .65rem 2rem;
  font-size: 1.14rem;
  transition: .17s;
}
.btn-success:hover {
  background: linear-gradient(90deg, #10b981, #18FFB1);
  color: #fff;
  transform: scale(1.04);
}

.btn-osztaly {
  min-width: 140px;
  font-weight: 600;
  letter-spacing: .03em;
  font-size: 1.05rem;
  margin-right: 0.2rem;
}
.btn-osztaly.active, .btn-osztaly:active {
  background: #0d6efd;
  color: #fff !important;
  border-color: #0d6efd;
}

.btn-outline-primary {
  background: transparent;
  border: 2px solid #18FFB1;
  color: #18FFB1;
  font-weight: 700;
  border-radius: 1.7rem;
  padding: .65rem 2rem;
  font-size: 1.14rem;
  transition: .15s;
}
.btn-outline-primary:hover {
  background: #18FFB1;
  color: #1d2633;
}

.quicklink-card {
  display: block;
  background: rgba(20,32,42,0.8);
  border: 2px solid rgba(24,255,177,0.1);
  padding: 1.3rem 0.6rem;
  border-radius: 1.1rem;
  text-decoration: none;
  color: #18FFB1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: .18s;
  font-weight: 700;
  font-size: 1.16rem;
}
.quicklink-card:hover {
  background: rgba(24,255,177,0.15);
  border-color: #18FFB1;
  transform: scale(1.05);
}

.glass-card {
  background: rgba(20,32,42,0.75);
  backdrop-filter: blur(10px);
  border-radius: 1.3rem;
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  margin-bottom: 2rem;
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table, .table-bordered {
  background: transparent !important;
  border-radius: 0.7rem;
}
.table th, .table td {
  background: rgba(30,34,44,0.70) !important;
  border-color: rgba(24,255,177,0.4) !important;
  
  color: #ffffff !important;
}
.table thead th {
  color: #18FFB1 !important;
}
.table-hover tbody tr:hover td {
  background: rgba(24,255,177,0.15) !important;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-responsive table {
  min-width: 550px;
}

.text-muted,
.text-secondary {
  color: #b2e0f0 !important; /* világosabb kékes szürke, ami sötét háttéren is jól olvasható */
  opacity: 0.82;
}

.accordion-button {
  background: rgba(18,28,40,0.75) !important;
  color: #18FFB1 !important;
  font-size: 1.12rem;
  font-weight: bold;
  border-bottom: 1px solid rgba(24,255,177,0.3) !important;
}
.accordion-button:not(.collapsed) {
  color: #10b981 !important;
}

.calendar-day {
  background: rgba(20,32,42,0.75);
  color: #18FFB1;
  border: 1.5px solid rgba(24,255,177,0.4);
  border-radius: 1rem;
  min-height: 60px;
  font-size: 1.09rem;
  box-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

@media (max-width: 700px) {
   .hero-bg-img { min-height: 150px; }
  .hero-section h1 { font-size: 1.5rem !important; }
  .hero-section { padding: 1.2rem; }
  .glass-card { padding: 1rem 0.4rem; }
  .calendar-day { font-size: 0.9rem; min-height: 50px; }
  .table-responsive table {
    min-width: 650px;
    font-size: 0.94rem;
	}
	.table th, .table td {
    padding: 0.4rem 0.5rem;
    font-size: 1.01rem;
	}
	  .text-muted, .text-secondary {
    color: #c7f4ff !important;  /* picit világosabb, akár #ffffff is lehet */
    opacity: 0.94;
    font-size: 1.01rem;
  }
    .news-card {
    margin-bottom: 1rem;
  }
  .row.g-4 .col-6, .row.g-4 .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
	
}

.news-card {
  transition: box-shadow .18s, transform .16s;
  border: 1.5px solid rgba(24,255,177,0.13);
}
.news-card:hover {
  box-shadow: 0 4px 18px 0 rgba(24,255,177,0.20), 0 2px 12px rgba(24,255,177,0.10);
  transform: translateY(-3px) scale(1.012);
  border-color: #18FFB1;
}
.news-content ul, .news-content ol {
  margin-left: 1.1rem;
}

@media (max-width: 900px) {
  .hero-section .col-lg-4 {
    margin-top: 2.2rem;
  }
  .hero-section .col-lg-8 {
    padding-right: 0 !important;
  }
}
@media (max-width: 600px) {
  .hero-section h1 {
    font-size: 1.38rem !important;
  }
  .hero-section p {
    font-size: 0.98rem !important;
  }
}

@media (min-width: 1100px) {
  .container {
    max-width: 1350px !important;
    padding-left: 36px;
    padding-right: 36px;
  }
  .hero-section {
    
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding: 3rem 3rem 3rem 3.5rem;
  }
  .glass-card {
    margin-bottom: 2.7rem;
    padding: 2.2rem 2.9rem;
  }
  .row.g-4 {
    margin-bottom: 2.6rem !important;
  }
}
.calendar-table td,
.week-day-box,
.day-view-box {
  min-width: 88px;
  min-height: 77px;
  vertical-align: top;
  background: rgba(20,32,42,0.8);
  transition: background 0.14s;
  border-radius: 0.5rem;
  position: relative;
}
.calendar-table th {
  background: #184d47 !important;
  color: #18FFB1 !important;
  text-align: center;
}
.calendar-table .today-cell,
.week-day-box.today-cell,
.day-view-box.today-cell {
  background: linear-gradient(120deg,#18ffb133 55%,#184d4788 100%) !important;
  border: 2px solid #18FFB1 !important;
  color: #1b2c24 !important;
  font-weight: bold;
}
.calendar-match {
  margin-bottom: 3px;
  padding: 4px 6px 4px 6px;
  border-radius: 0.4rem;
  background: rgba(24,255,177,0.13);
  color: #fff;
  font-size: 0.97rem;
}
.calendar-match .badge {
  margin-left: 3px;
  font-size: 0.93em;
  vertical-align: middle;
}
.week-row {
  flex-wrap: nowrap;
}
.week-day-box {
  min-height: 100px;
  margin-right: 7px;
  margin-bottom: 10px;
  background: rgba(20,32,42,0.8);
  border-radius: 0.7rem;
  padding: 12px 7px 8px 10px;
  box-shadow: 0 2px 9px rgba(0,0,0,0.12);
  overflow-x: auto;
}
.day-view-box {
  background: rgba(20,32,42,0.87);
  border-radius: 1.2rem;
  min-height: 140px;
  font-size: 1.15rem;
  box-shadow: 0 3px 16px rgba(0,0,0,0.12);
}
@media (max-width: 700px) {
  .calendar-table td, .week-day-box, .day-view-box {
    min-width: 56px;
    min-height: 48px;
    font-size: 0.94rem;
  }
  .week-day-box {
    min-height: 60px;
    padding: 7px 3px 7px 3px;
  }
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.main-container {
  flex: 1 0 auto;
}
.site-footer {
  flex-shrink: 0;
  width: 100%;
  background: rgba(20,32,42,0.89);
  color: #b2e0f0;
  text-align: center;
  padding: 1rem 0 1.2rem 0;
  font-size: 1.04rem;
  border-top: 2px solid #18FFB1;
  box-shadow: 0 -2px 18px rgba(24,255,177,0.08);
}

.calendar-view-btn {
  border: 2px solid #18FFB1 !important;
  background: transparent !important;
  color: #18FFB1 !important;
  border-radius: 1.6rem !important;
  font-weight: 700;
  font-size: 1.09rem;
  min-width: 66px;
  margin-right: .3rem;
  transition: .14s;
}
.calendar-view-btn.active,
.calendar-view-btn:active {
  background: linear-gradient(90deg, #18FFB1, #10b981) !important;
  color: #1d2633 !important;
  box-shadow: 0 2px 12px rgba(24,255,177,0.12);
  border-color: #10b981 !important;
  font-weight: 900;
}
.calendar-current-title {
  color: #18FFB1;
  text-shadow: 0 2px 8px #063a2a44;
}