.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.club-subscription {
  position: relative;
  display: inline-block;
  padding: 1rem;
  border: 1px solid #0000002d;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s;
  width: 180px;
  height: 175px;
}

.club-subscription .club-logo {
  max-width: 140px;
  height: 100px;
  object-fit: cover;
}

.club-subscription a {
  color: #212529;
}

.club-subscription .club-name {
  display: block;
  margin-top: 0.5rem;
}

.club-subscription .club-checkbox {
  display: none;
}


.club-subscription .hover-indicator {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 15px;
  height: 15px;
  border: 2px solid gray;
  border-radius: 50%;
  background-color: white;
  transition: border-color 0.3s, background-color 0.3s;
}

.club-subscription:hover .hover-indicator {
  background-color: #f0f0f0;
}

.club-subscription .club-checkbox:checked ~ .hover-indicator {
  border-color: green;
  background-color: green;
  background-image: url('data:image/svg+xml;utf8,<svg fill="white" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M6.173 14.727l-5.2-5.2 1.414-1.414 3.786 3.786 7.786-7.786 1.414 1.414z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 10px;
}

.club-subscription .club-checkbox:checked ~ .club-subscription {
  border-color: green;
}
/*Club Index*/
.club-map-container {
	border-radius: 14px
}

#club-details {
	padding: 15px;
	text-align: center;
}

#club-details h3 {
	margin-top: 20px;
}

#club-details img {
	max-height: 130px;
}

.card.club-information img.club-logo {
	max-height: 150px;
	width: auto;
	object-fit: contain;
}

/* New Club Information Card Design */
.club-info-card {
	background-color: #fff;
	border-radius: 12px;
	padding: 24px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.club-info-header {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.club-info-header i {
	color: #80B87A;
	font-size: 20px;
	margin-right: 12px;
}

.club-info-header h5 {
	color: #444;
	font-weight: bold;
	font-size: 18px;
	margin: 0;
}

.club-info-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.info-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.info-item i {
	color: #80B87A;
	font-size: 16px;
	margin-top: 2px;
	flex-shrink: 0;
}

.info-text {
	color: #444;
	font-size: 14px;
	line-height: 1.4;
}

.info-text a {
	color: inherit;
	text-decoration: none;
}

.info-text a:hover {
	color: #80B87A;
}

/* Legacy styles */
ul.club-info li i {
	color: #145056; 
	font-size: 28px; 
	display: inline-block;
	margin-right: 10px;
}

#club-list .club-logo {
	text-align: center;
	padding: 10px;
}

#club-list .club-logo img {
	height: 80px;
	max-width: fit-content;
}

.club-title a {
	text-decoration: mone;
}

/* New Club Card Design */
.club.card {
	border: none;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	background-color: #f8f9fa;
}

.club.card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.club-header {
	margin-bottom: 16px;
}

.club-header .card-title {
	color: #2c3e50;
	font-weight: 600;
	font-size: 1.1rem;
	margin-bottom: 8px;
}

.club-header .card-title a {
	color: inherit;
	text-decoration: none;
}

.club-header .card-title a:hover {
	color: #80B87A;
}

.club-address {
	color: #6c757d;
	font-size: 0.9rem;
	margin-bottom: 0;
	display: flex;
	align-items: center;
	gap: 6px;
}

.club-address i {
	color: #80B87A;
	font-size: 0.85rem;
}

.club-tournament-info {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.tournament-badge {
	display: inline;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 500;
	width: fit-content;
}

.tournament-badge.registration-open {
	background-color: #d4edda;
	color: #155724;
}

.tournament-badge.registration-open i {
	color: #28a745;
}

.tournament-badge.no-registration {
	background-color: #f8f9fa;
	color: #6c757d;
}

.tournament-badge.no-registration i {
	color: #6c757d;
}

.next-tournament {
	color: #495057;
	font-size: 0.85rem;
	font-weight: 500;
}
/* COOKIE NOTIFICATION BANNER */

#cookie-banner {
	position: fixed;
	bottom: 0px;
	width:100%;
	background-color: #f7f7f7;
	border-top: 1px solid #f7f7f7;
	padding: 20px 0;
	z-index: 3;
}
.subscription {
  img {
		max-width: 100%;
		max-height: 60px;
	}
}


  .checkbox-toggle-switch .switch {
    display: inline-block;
    height: 34px;
    position: relative;
    width: 60px;
  }

  .checkbox-toggle-switch .switch input {
    display:none;
  }

  .checkbox-toggle-switch .slider {
    background-color: #ccc;
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .4s;
  }

  .checkbox-toggle-switch .slider:before {
    background-color: #fff;
    bottom: 4px;
    content: "";
    height: 26px;
    left: 4px;
    position: absolute;
    transition: .4s;
    width: 26px;
  }

  .checkbox-toggle-switch input:checked + .slider {
    background-color: #66bb6a;
  }

  .checkbox-toggle-switch input:checked + .slider:before {
    transform: translateX(26px);
  }

  .checkbox-toggle-switch .slider.round {
    border-radius: 34px;
  }

  .checkbox-toggle-switch .slider.round:before {
    border-radius: 50%;
  }
#map {
  height: 350px;
  width: 100%;
  border-radius: 14px;
}

.ratgeber {

	font-size: 18px;
	line-height: 30px;
	
	h2, h3 {
		font-weight: bold;
		font-size: 1.5rem;
		margin-top: 55px;
		margin-bottom: 30px;
	}

	ul {
		list-style-type: circle;
	}

	.toc {
		margin-bottom: 20px;
		background-color: #f9f9f9;
		border-radius: 18px;
		border: none;
		padding: 10px;
		.list-group-item {
			padding: 3px 5px;
			border: none;
			background-color: transparent;
		}	
	}

	
}
/* Platform Landing Page Styles */

/* Inter Font Family */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(/assets/regions/index.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.hero-image {
  opacity: 0.8;
}

.features-headline {
  color: #000;
  font-weight: 300;
  font-size: 2.5rem;
  line-height: 1.2;
}

.features-subheadline {
  color: #6c757d;
  font-size: 1.1rem;
  font-weight: 400;
}

.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.feature-icon-container {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #80B87A 0%, #145056 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(128, 184, 122, 0.2);
}

.feature-icon-container i {
  color: white;
  font-size: 1.5rem;
}

.feature-benefit {
  color: #80B87A;
  font-size: 0.9rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
  font-weight: 500;
}

.benefits-sidebar {
  position: sticky;
  top: 2rem;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.benefits-headline {
  color: #145056;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
}

.benefits-subheadline {
  color: #6c757d;
  font-size: 1rem;
  font-weight: 400;
}

.benefit-item {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.benefit-item:hover {
  transform: translateX(5px);
  background: #e9ecef;
}

.benefit-icon-container {
  width: 40px;
  height: 40px;
  background: #80B87A;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon-container i {
  color: white;
  font-size: 1.1rem;
}

.how-it-works-headline {
  color: #000;
  font-weight: 300;
  font-size: 2.5rem;
  line-height: 1.2;
}

.how-it-works-subheadline {
  color: #6c757d;
  font-size: 1.1rem;
  font-weight: 400;
}

.step-card {
  padding: 2rem 1rem;
}

.step-icon-container {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #80B87A 0%, #145056 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 1px solid rgba(128, 184, 122, 0.2);
}

.step-icon-container span {
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.contact-headline {
  color: #000;
  font-weight: 300;
  font-size: 2.5rem;
  line-height: 1.2;
}

.contact-subheadline {
  color: #6c757d;
  font-size: 1.1rem;
  font-weight: 400;
}

.contact-card {
  border-radius: 12px;
  transition: transform 0.2s ease;
  background: #f8f9fa;
}

.contact-card:hover {
  transform: translateY(-3px);
  background: #e9ecef;
}

.contact-icon-container {
  width: 50px;
  height: 50px;
  background: #80B87A;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-container i {
  color: white;
  font-size: 1.3rem;
}

/* Privacy Checkbox Styles */
.form-check-input:checked {
  background-color: #80B87A;
  border-color: #80B87A;
}

.form-check-input:focus {
  border-color: #80B87A;
  box-shadow: 0 0 0 0.2rem rgba(128, 184, 122, 0.25);
}

.form-check-label {
  font-size: 0.9rem;
  color: #6c757d;
  line-height: 1.4;
}

.form-check-label a {
  color: #80B87A;
  text-decoration: underline;
}

.form-check-label a:hover {
  color: #145056;
}

.contact-form-card {
  border-radius: 12px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-form .form-control {
  border-radius: 8px;
  border: 1px solid #dee2e6;
  padding: 0.75rem 1rem;
}

.contact-form .form-control:focus {
  border-color: #80B87A;
  box-shadow: 0 0 0 0.2rem rgba(128, 184, 122, 0.25);
}

.btn-primary {
  background-color: #80B87A;
  border-color: #80B87A;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #145056;
  border-color: #145056;
  transform: translateY(-2px);
}

.btn-demo {
  background-color: #80B87A;
  border-color: #80B87A;
  color: white;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-demo:hover {
  background-color: #145056;
  border-color: #145056;
  color: white;
  transform: translateY(-2px);
}

.btn-learn-more {
  background-color: rgba(255, 255, 255, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  color: white !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.btn-learn-more:hover {
  background-color: rgba(255, 255, 255, 0.6) !important;
  border-color: white !important;
  color: white !important;
  transform: translateY(-2px);
}

.btn-learn-more:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
  transform: translateY(-2px);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    min-height: 50vh;
    text-align: center;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .benefits-sidebar {
    position: static;
    margin-top: 3rem;
  }
  
  .step-card {
    padding: 1.5rem 0.5rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Animation for cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card,
.step-card,
.contact-card {
  animation: fadeInUp 0.6s ease-out;
}

.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }
.region-box {
  background-color: grey;
  padding: 14px;
  border-radius: 14px;
}
.search-results {
  position: absolute;
  z-index: 1000;
}

.search-results .list-group-item {
  cursor: pointer;
  color: black;
}

.search-results .list-group-item:hover {
  background-color: #f8f9fa;
}

input.search-input:focus {
  outline: none;
  box-shadow: 0.2rem 0.8rem 1.6rem #80b87a;
}

input.search-input {
  border: none;
  border-radius: 4px;
  padding: 10px;
}
/* Slider-Bar für Webkit-Browser (Chrome, Safari, Edge) */
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 14px;
  background: #ffffff; /* Weiße Farbe für die Bar */
  border-radius: 5px; /* Runde Kanten */
  border: 1px solid #dee2e6;
}

/* Slider-Bar für Firefox */
input[type="range"]::-moz-range-track {
  width: 100%;
  height: 14px;
  background: #ffffff; /* Weiße Farbe für die Bar */
  border: 1px solid #dee2e6;
}

/* Slider-Bar für Edge/IE */
input[type="range"]::-ms-track {
  width: 100%;
  height: 14px;
  background: transparent; /* Transparenter Hintergrund für Kompatibilität */
  border: 1px solid #dee2e6;
  color: transparent;
}

input[type="range"]::-ms-fill-lower {
  background: #ffffff; /* Weiße Farbe für die untere Bar */
  border-radius: 5px;
}

input[type="range"]::-ms-fill-upper {
  background: #ffffff; /* Weiße Farbe für die obere Bar */
  border-radius: 5px;
}

/* Thumb (der bewegliche Punkt) für WebKit-Browser */
input[type="range"].form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #ffffff; /* Weißer Thumb */
  border: 2px solid #3D563A; /* Grüner Rand */
  border-radius: 50%; /* Runde Form */
  cursor: pointer; /* Hand-Cursor beim Bewegen */
  transition: background 0.2s;
}

input[type="range"].form-range::-webkit-slider-thumb:hover {
  background: #e0e0e0; /* Hellgrauer Thumb beim Hover */
}

/* Thumb für Firefox */
input[type="range"].form-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #ffffff;
  border: 2px solid #3D563A;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

/* Thumb für Edge/IE */
input[type="range"].form-range::-ms-thumb {
  width: 20px;
  height: 20px;
  background: #ffffff;
  border: 2px solid #3D563A;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}
/*second color?     background-color: rgb(20, 110, 153);*/

body {
	font-family: Verdana, sans-serif;
}

html, body {
  height: 100%; /* Damit der Body die volle Höhe einnimmt */
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Wrapper erstreckt sich über die gesamte Höhe des Viewports */
}

.body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.content {
  flex: 1; /* Füllt den verfügbaren Platz, damit der Footer unten bleibt */
}

.main {
	background-color: #f8f8f8;
}

footer {
  background-color: #203243;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 0.9rem;
  
  p {
  	color: #a6a6a6;
  }
  .nav-link {
  	color: #f9f9f9;
  	&:hover {
  		color: #c9c9c9;
  	}
  }
}

.container {
/*	background-color: #fff;*/
}



h1, h2, h3, h4, h5 {
	color: #104F55;
/*	#40514E*/
/*  #055160*/
}

.gtk-green {
	color: #80B87A;
}

.muted, .muted * {
	color: grey !important;
}

hr {
	margin: 0;
	color: #d8d8d8;
}

ul {
	list-style-type: none;
}

a {
	text-decoration: none;
	color: #80B87A;

	&.disabled {
  	color: gray;
  	pointer-events: none;
	}
}

a:hover {
	color: #47783F;
}

button.btn-link {
	color: #80B87A;
	display: inline;
	text-decoration: none;
	&:hover {
		color: #47783F;
	}
}

.bg-grey {
	background-color: #f8f8f8;
}

.bg-white {
	background-color: #fff;
}

.ms-6 {
	margin-left: 2rem!important;
}

@media (min-width: 992px) { 
	.border-right-bottom {
		border-right: 1px solid #d8d8d8;
	}
}

@media (max-width: 991px) { 
	.border-right-bottom {
		border-bottom: 1px solid #d8d8d8;
	}
}

.badge {
	border-radius: 8px;
	padding: 5px;
	font-size: 18px;
}

.badge.badge-active {
	background-color: #80B87A;
}

.badge.badge-inactive {
	background-color: #d9d9d9;
}

.badge.badge-light {
	background-color: #fff;
	color: #104f55;
	font-size: 0.8em;
}

.btn.btn-primary, .btn.btn-cta:hover {
	background-color: transparent;
	font-size: 20px;
	color: #80B87A !important;
	border-radius: 14px;
	border-color: #80B87A;
	padding: 10px;
}

.btn.btn-primary:hover, .btn.btn-cta {
	background-color: #80B87A;
	color: #fff !important;
	border-radius: 14px;
	border-color: #80B87A;
	padding: 10px;
	font-size: 20px;

}

.btn.btn-primary.small {
	padding: 6px;
	font-size: 1rem;
	border-radius: 8px;
}

.btn.btn-primary.filled {
	background-color: #80B87A;
	color: #fff !important;
}



.card.side-box {
	padding: 12px;
	background-color: #f9f9f9;
  border-radius: 14px;
  border-color: transparent;
  color: #145056;	
}

.card.side-box h5 {
	color: #145056;
}

.card.side-box a {
	color: #145056;
	text-decoration: none;
}

/* Layout */

.logo-desktop {
  display: inline;
}

.logo-mobile {
  display: none !important;
}

/* Für Bildschirme mit einer Breite von max. 991px (Mobile) */
@media (max-width: 991px) {
  .logo-desktop {
    display: none !important;
  }

  .logo-mobile {
    display: inline !important;
  }
}

.hero {
	background-image: linear-gradient(rgba(25, 50, 100, 0.8), rgba(25, 50, 100, 0.8)), url(/assets/background_image_1-30c1dab8e0e1d9ec1b884495adf0dfdcd715fc3d9675dcf9d031784eeec812c0.png);
	background-size: cover;
	background-position: center;
	background-color: #193264;
	padding: 80px 0;
	border-radius: 12px;
	margin: 20px auto;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-content {
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.hero-title {
	color: #fff !important;
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 1rem;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
	color: #e8e8e8;
	font-size: 1.2rem;
	margin-bottom: 0;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
	.hero {
		padding: 60px 0;
		margin: 15px 0;
	}
	
	.hero-title {
		font-size: 2rem;
	}
	
	.hero-subtitle {
		font-size: 1rem;
	}
}

.breadcrumb {
	background-color: #f8f8f8;
}

nav.breadcrumb {
	margin-top: 0px;
	margin-bottom: 0px;
	ol {
		margin: 4px 0 !important;
	}
}


/*navbar*/

.navbar {
	padding: 25px 0;
	border-bottom: 1px solid #f7f7f7;
	background-color: #fff !important;
	--bs-navbar-toggler-border-color: #fff;
	--bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgb(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");

	a {
		color: #508249;

		&:hover {
			color: #80B87A;
		}
	}

	a.nav-link {
		border: 0 solid #fff;
		border-radius: 5px;
		padding: 5px;
		display: inline-block;
		&:hover {
			background-color: #508249;
			color: #fff;
			.badge.badge-primary {
				background-color: #fff;
				color: #3D563A;
			} 
		}
		.badge.badge-primary{
			font-size: 12px;
			background-color: #508249;
		}

	}

	li.profile .btn-secondary {
		background-color: #80B87A;
		color: #fff;
		border: none;
		&:hover {
			background-color: #508249;
		}
	} 

	ul.dropdown-menu { 
		li a:hover {
			background-color: #fff;
			color: #3D563A;
			font-weight: bold;
		}
		li a.sign-out {
			color: #820000;
			font-weight: bold;
			&:hover {
				color: #bd0909;
			}
		}
	}
	.navbar-toggler {
		border-color: #3D563A;

		&:focus {
			box-shadow: none;
		}

		.navbar-toggler-icon {
			background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%233D563A' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
		}
	}

	

}

.navbar-brand h1 {
	padding-top: 8px;
	font-size: 20px;
}


li.list-group-item {
	border: none;
	padding: 3px 0;
}

.navbar a.menu {
	font-size: 18px;
	color: #80B87A;
	text-decoration: none;
}

.navbar a.menu:hover, .navbar a.menu:active {
	color: #47783F;
}

.bg-highlight {
	background-color: red;
}

button.btn.btn-outline-primary {
	border-color: #80B87A;
	color: #80B87A;
}

a.btn.btn-outline-primary {
	font-size: 14px !important;
	border-color: #80B87A;
	color: #80B87A;	
}

a.btn.btn-outline-primary:hover {
	background-color: #80B87A;
	color: #ffffff !important;
}

button.btn.btn-outline-primary:hover {
	background-color: #80B87A;
	color: #ffffff;
}

label.btn.btn-outline-primary {
	border-color: #80B87A;
	color: #80B87A;		
}

label.btn.btn-outline-primary:hover {
	border-color: #47783F;
	background-color: #47783F;
	color: #fff;
}

label.btn.btn-outline-primary:active, .btn-check:checked+.btn {
	border-color: #80B87A;
	background-color: #80B87A;
	color: #fff;
}

span.badge.bg-primary {
	background-color: #fff !important;
	border: 1px solid #104f55 !important;
	color: #104f55 !important;
	padding: 8px;
}

/* nav-tabs */

.nav.nav-tabs {
	.nav-item {

	}

	.nav-link {	
		color: #508249;
		border: none;
		
		&.active{
			border: none;
			color: #fff;
			background-color: #80B87A;
		}
		&:hover {
			border: none;
			border-bottom: 1px solid #80B87A;
			padding-bottom: 7px;
		}
	}
}



/*FILTERS*/

/* Filter Toggle Button */
.filter-toggle-container {
	margin-bottom: 16px;
}

.filter-toggle-btn {
	width: 100%;
	background-color: #fff;
	border: none;
	border-radius: 12px;
	padding: 16px 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	transition: all 0.2s ease;
	font-weight: bold;
	color: #193264;
}

.filter-toggle-btn:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	transform: translateY(-1px);
}

.filter-toggle-btn:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(25, 50, 100, 0.1), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-toggle-btn .bi-funnel-fill {
	color: #193264;
	font-size: 16px;
	margin-right: 8px;
}

.filter-toggle-btn span {
	flex: 1;
	text-align: left;
	font-size: 16px;
}

.filter-toggle-btn .bi-chevron-down {
	color: #666;
	font-size: 14px;
	transition: transform 0.2s ease;
}

/* Chevron rotation when expanded */
.filter-toggle-btn[aria-expanded="true"] .bi-chevron-down {
	transform: rotate(180deg);
}

/* Collapsible Filter Section */
#filter-collapse {
	margin-top: 8px;
}

#filter-collapse .card {
	border: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	border-radius: 12px;
}

.filters .form-floating {
	color: #145056;
}

.filters .form-group {
  color: #145056;
}

.filters .tag {
  cursor: pointer;
  margin: 2px;
  font-size: 12px;
}

.filters .input-group-addon {
    width: auto;
    min-width: 16px;
    padding: 5px 5px;
    line-height: 1.42857143;
    border-width: 1px 0;
    background-color: #e0ebe3;
    border-top: 1px solid #ced4da;
    border-bottom: 1px solid #ced4da;
}

#start_date, #end_date {
  font-size: 14px;
  @media screen and (min-width: 992px) and (max-width: 1199px){
    font-size: 11px;
    padding: 2px;
  }

  @media screen and (min-width: 1200px) {
    font-size: 13px;
  }
  
  /*color: #e8e8e8;*/
}

#clear-dates {
  font-size: 12px;
}


#location-radius-value {
  font-weight: bold;
  color: #fff;
  border-radius: 10px;
  padding: 3px 7px;
  background-color: #145056;
}

.checkbox {
  display: block;
  margin-bottom: 15px;
}

.checkbox input[type="checkbox"] {
  /* Visually hide, but keep in the accessibility tree and focusable */
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

.checkbox label {
  position: relative;
  cursor: pointer;
}

.checkbox label:before {
  content: '' !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-color: transparent !important;
  border: 2px solid #57737A !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05) !important;
  padding: 10px !important;
  display: inline-block !important;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 5px;
  border-radius: 0 !important;
}

/* Style label box when the checkbox is checked */
.checkbox input[type="checkbox"]:checked + label:before {
  border: 2px solid #145056 !important;
  background-color: #145056 !important;
}


.checkbox input[type="checkbox"]:checked + label:after {
  content: '' !important;
  position: absolute;
  top: 5px;
  left: 9px;
  width: 6px;
  height: 14px;
  border: solid #fff !important;
  border-width: 0 2px 2px 0 !important; 
  transform: rotate(45deg);
}



/* Tournament Detail Page */
.tournament-detail-page {
	margin-top: 20px;
}

/* Tournament Header Card */
.tournament-header-card {
	background-color: #fff;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tournament-meta {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}

.date-time {
	display: flex;
	align-items: center;
	gap: 12px;
	color: #666;
	font-size: 14px;
}

.date-time i {
	font-size: 14px;
	color: #666;
}

.tournament-title-section {
	display: block;
}

.tournament-title h1 {
	color: #80B87A;
	font-size: 28px;
	font-weight: bold;
	margin: 0 0 8px 0;
	line-height: 1.2;
}

.club-name {
	color: #444;
	font-size: 18px;
	font-weight: bold;
	margin: 0 0 4px 0;
}

.course-details {
	color: #666;
	font-size: 16px;
	margin: 0;
}

.tournament-actions {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.action-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.player-icon {
	background-color: #80B87A;
	color: #fff;
}

.player-icon i {
	font-size: 16px;
}

.watchlist-icon {
	background-color: #f5f5f5;
	color: #666;
}

.watchlist-button {
	background: none;
	border: none;
	padding: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	border-radius: 50%;
	transition: all 0.2s ease;
}

.watchlist-button:hover {
	background-color: #e8e8e8;
}

.watchlist-button i {
	font-size: 16px;
	color: #666;
}

.watchlist-button i.bi-star-fill {
	color: #ffc107;
}

.share-icon {
	background-color: #f5f5f5;
	color: #666;
}

.share-icon i {
	font-size: 16px;
}

/* Download Section */
.download-section {
	margin-bottom: 20px;
	text-align: center;
}

.download-btn {
	display: inline-flex;
	align-items: center;
	gap: 12px;
  border: 1px solid #ff6b35;
	/*background-color: #ff6b35;*/
	color: #ff6b35;
	padding: 16px 24px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: bold;
	font-size: 16px;
	transition: all 0.2s ease;
	box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.download-btn:hover {
	background-color: #e55a2b;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.download-btn i {
	font-size: 18px;
}

/* Tournament Info Card */
.tournament-info-card {
	background-color: #fff;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-header {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

.card-header i {
	color: #193264;
	font-size: 20px;
	margin-right: 12px;
}

.card-header h3 {
	color: #193264;
	font-weight: bold;
	font-size: 20px;
	margin: 0;
}

.info-grid {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.info-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding-bottom: 12px;
	border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.info-label {
	color: #666;
	font-size: 14px;
	font-weight: 500;
}

.info-value {
	color: #193264;
	font-size: 14px;
	font-weight: 500;
	text-align: right;
	max-width: 60%;
  font-weight: bold;
}

/* Registration Status Card */
.registration-status-card {
	background-color: #fff;
	border-radius: 12px;
	padding: 24px;
	margin-bottom: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.status-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.status-header h4 {
	color: #444;
	font-size: 16px;
	font-weight: bold;
	margin: 0;
}

.seats-count {
	color: #80B87A;
	font-weight: bold;
	font-size: 14px;
}

/* Progress Bar */
.progress-container {
	margin-bottom: 20px;
}

.progress-bar {
	width: 100%;
	height: 8px;
	background-color: #f0f0f0;
	border-radius: 4px;
	overflow: hidden;
}

.progress-fill {
	height: 100%;
	background-color: #80B87A;
	transition: width 0.3s ease;
}

/* Registration States */
.registration-open, .registration-upcoming, .registration-expired {
	flex-direction: column;
	gap: 16px;
}

.register-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 16px 24px;
	border-radius: 12px;
	font-weight: bold;
	font-size: 16px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all 0.2s ease;
}

.register-btn.open {
	background-color: #80B87A;
	color: #fff;
}

.register-btn.open:hover {
	background-color: #6a9d5f;
	transform: translateY(-2px);
}

.register-btn.locked {
	background-color: #f5f5f5;
	color: #666;
	cursor: not-allowed;
}

.registration-deadline, .registration-start {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #666;
	font-size: 14px;
}

.registration-deadline i, .registration-start i {
	font-size: 14px;
}

.info-box {
	display: flex;
	align-items: center;
	gap: 8px;
	background-color: #f8f9fa;
	padding: 12px;
	border-radius: 8px;
	color: #666;
	font-size: 14px;
}

.info-box i {
	color: #193264;
}

.status-message {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
}

.status-message.error {
	background-color: #f8d7da;
	color: #721c24;
}

.status-message.info {
	background-color: #d1ecf1;
	color: #0c5460;
}

.status-message i {
	font-size: 16px;
}

/* New Tournament Card Design */
.tournament-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

/* Top Section: Date and Time Pills */
.tournament-meta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.date-pill, .time-pill, .registration-pill {
  background-color: #f5f5f5;
  border-radius: 20px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
}


.date-pill i, .time-pill i {
  font-size: 12px;
  color: #666;
}

.registration-pill.upcoming {
	background-color: #dbe9fe;
	i {
		color: #000;
	}
}

.registration-pill.expired {
	color: #fff;
	background-color: #666;
	i {
		color: #fff;
	}
}

.registration-warning {
	display: flex;
	gap: 10px;
}

/* Middle Section: Content */
.tournament-content {
  flex: 1;
}

.tournament-title {
  font-size: 18px;
  font-weight: bold;
  color: #80B87A;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.tournament-title a {
  color: inherit;
  text-decoration: none;
}

.tournament-title a:hover {
  color: #47783F;
}

.club-name {
  font-size: 16px;
  font-weight: bold;
  color: #104F55;
  margin: 0 0 4px 0;
}

.club-name a {
  color: inherit;
  text-decoration: none;
}

.club-name a:hover {
  color: #80B87A;
}

.course-details {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

/* Right Section: Action Icons */
.tournament-actions {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.action-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.player-icon {
  background-color: #80B87A;
  color: #fff;
}

.player-icon i {
  font-size: 14px;
}

.lock-icon {
  background-color: #f5f5f5;
  color: #666;
}

.lock-icon i {
  font-size: 14px;
}

.watchlist-icon {
  background-color: #f5f5f5;
  color: #666;
}

.watchlist-button {
  background: none;
  border: none;
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.watchlist-button:hover {
  background-color: #e8e8e8;
}

.watchlist-button i {
  font-size: 14px;
  color: #666;
}

.watchlist-button i.bi-star-fill {
  color: #ffc107;
}

/* Responsive Design */
@media (max-width: 768px) {
  .tournament-detail-page {
    margin-top: 16px;
  }
  
  .tournament-header-card {
    padding: 20px;
  }
  
  .tournament-title-section {
    flex-direction: column;
    gap: 16px;
  }
  
  .tournament-title h1 {
    font-size: 24px;
  }
  
  .tournament-actions {
    position: static;
    justify-content: flex-end;
  }
  
  .info-row {
    flex-direction: column;
    gap: 4px;
  }
  
  .info-value {
    text-align: left;
    max-width: 100%;
  }
  
  .tournament-card {
    padding: 16px;
    gap: 12px;
  }
  
  .tournament-actions {
    position: static;
    justify-content: flex-end;
    margin-top: 8px;
  }
  
  .tournament-title {
    font-size: 16px;
  }
  
  .club-name {
    font-size: 14px;
  }
  
  .course-details {
    font-size: 13px;
  }
}

/* Legacy tournament styles (keeping for backward compatibility) */
#tournaments .tournament {
	font-size: 14px;
	margin: 10px 0;
}

#tournaments .tournament h3 {
	font-size: 20px;
	line-height: 22px;
}


#tournaments .tournament .date-wrapper {
	max-width: 100px;
	text-align: center;
	font-size: 14px;
	background-color: #d9d9d9;
	border-radius: 14px;
	height: 100%;
  display: flex;

}

#tournaments .tournament .date-wrapper.active {
	background-color: #80B87A;
	color: #fff;
}

@media (max-width: 991px) {
	#tournaments .tournament h3.tournament-name {
		margin-top: 15px;
	} 
}


#tournaments .tournament .date-wrapper .date {
	margin: auto;
}

#tournaments .tournament .date .date-day {
	font-size: 34px;
	line-height: 28px;
	font-weight: bold;
}

#tournaments .tournament .date .date-month {
	margin-left: -7px;
}

#tournaments .tournament p.club {
	margin: 0;
}

#tournaments .tournament .club-logo {
	height: 100%;
}

#tournaments .tournament .club-logo img {
	max-width: 100%;
  max-height: 60px;
}

#tournaments .tournament .t-details {
	text-align: right;
	font-size: 16px;
}

.watchlist-toggle button {
  color: #fff;
  border: none;
}

.watchlist-toggle form {
  display: inline;
}

/* Detail pages */

#tournament-details {
  table {
    th {
      font-weight: normal;
      font-size: 14px;
      color: #4e4e4e;
    }
    td {
      text-align: right;
    }
  }
  .club-logo{
    display: flex;
    justify-content: center; /* Horizontal zentrieren */
    align-items: center;    /* Vertikal zentrieren */
    margin-bottom: 10px;    
    img {
      max-height: 100px;
      max-width: 100%;
    }
  }
}

.internal-filters .radius-search {
  display: none;
}

/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


*/
