   body {
            background-color: #121212;
            color: #e0e0e0;
            font-family: "Roboto", Arial, sans-serif;
            text-align: center;
            margin: 0;
            padding: 0;
			font-size: 17px;
        }
		
        .container {
            width: 80%;        /* Ustawiamy żądaną szerokość (np. 80%) */
            max-width: 1200px; /* Dodatkowo warto czasem ograniczyć max szerokość w px */
            margin: 0 auto;    /* Wyśrodkowanie */
            text-align: center;
        }
		
        h1, h2, h3 {
            text-align: center;
        }
		
        #chart {
            width: 70%; /* Domyślna szerokość na PC */
            margin: 0 auto;
        }
        @media (max-width: 768px) {
            #chart {
                width: 100%; /* Pełna szerokość na urządzeniach mobilnych */
            }
        }
        
        .grid line {
            stroke: #555;
            stroke-opacity: 0.6;
            stroke-dasharray: 3;
        }
        .grid path {
            stroke-width: 0;
        }
        text.gradient-label {
            font-weight: bold;
            fill: #ffffff;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
        }
        .axis text {
            fill: #cccccc;
        }
        .axis path,
        .axis line {
            stroke: #666;
        }
        table {
            margin: 20px auto;
            border-collapse: collapse;
            width: 80%;
            color: #e0e0e0;
            background-color: #1e1e1e;
        }
        th, td {
            border: 1px solid #444;
            padding: 10px;
            text-align: center;
        }
        th {
            background-color: #333;
        }
		
        label {
            font-size: 1.2em;
            margin-bottom: 10px;
            display: block;
        }
		
        input[type="number"] {
            background-color: #1e1e1e;
            color: #e0e0e0;
            border: 1px solid #444;
            border-radius: 5px;
            padding: 10px;
            font-size: 1.2em;
            width: 200px;
            text-align: center;
        }
		
        button {
            background-color: #3b82f6;
            color: #fff;
            border: none;
            border-radius: 5px;
            padding: 10px 20px;
            font-size: 1.2em;
            cursor: pointer;
            margin-top: 10px;
            transition: background-color 0.3s ease;
        }
		
        button:hover {
            background-color: #2563eb;
        }
		
		.facebook-button {
        background-color: #ef4444; /* Czerwony kolor */
        color: #fff;
        border: none;
        border-radius: 5px;
        padding: 10px 20px;
        font-size: 1.2em;
        cursor: pointer;
        margin-top: 10px;
        transition: background-color 0.3s ease;
    }
	

    .facebook-button:hover {
        background-color: #dc2626; /* Ciemniejszy czerwony przy najechaniu */
    }
	
	.trudne-button {
        background-color: #9124aa; /* fioletowy kolor */
        color: #fff;
        border: none;
        border-radius: 5px;
        padding: 10px 20px;
        font-size: 1.2em;
        cursor: pointer;
        margin-top: 10px;
        transition: background-color 0.3s ease;
    }
	

    .trudne-button:hover {
        background-color: #561166; /* Ciemniejszy czerwony przy najechaniu */
    }
	
		
    	  .header {
    background-color: #1e1e1e;
    color: #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.header .logo {
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 35px; /* Dopasuj wysokość do swoich potrzeb */
    margin-right: 10px; /* Dystans między logo a tekstem */
}
        .menu {
            display: flex;
            gap: 20px;
        }
        .menu a {
            color: #e0e0e0;
            text-decoration: none;
            font-size: 1.2em;
        }
        .hamburger {
            display: none;
            flex-direction: column;
            cursor: pointer;
        }
        .hamburger div {
            width: 30px;
            height: 4px;
            background-color: #e0e0e0;
            margin: 5px;
        }
        @media (max-width: 768px) {
            .menu {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 60px;
                right: 20px;
                background-color: #1e1e1e;
                width: 200px;
                text-align: center;
                border: 1px solid #444;
                padding: 10px;
            }
            .menu.show {
                display: flex;
            }
            .hamburger {
                display: flex;
            }
        }
		
        .footer {
            background-color: #1e1e1e;
            color: #e0e0e0;
            text-align: center;
            padding: 15px 20px;
            font-size: 1.2em;
            margin-top: 20px;
        }
        
        /* Nowe reguły dla wyświetlenia trzech list obok siebie */
        .top-lists {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-around;
            
        }
        .top-list {
            flex: 1 1 300px;
            margin: 10px;
        }
		
		a {
    color: #e0e0e0;        /* kolor linku taki sam jak tekst */
    text-decoration: underline;  /* podkreślenie linku */
}

a:visited {
    color: #e0e0e0;        /* kolor odwiedzonych linków taki sam */
}

a:hover,
a:active {
    color: #e0e0e0;        /* kolor po najechaniu i kliknięciu */
    /* Jeśli chcesz zmienić styl hover, możesz dodać np. inne podkreślenie lub inny efekt */
}

	 .logo a {
            color: #e0e0e0;
            text-decoration: none;
            font-size: 1.2em;
        }
		
		#9124aa
		
		
		
		
		
/* Dropdown container */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;

  background: #1a1a1a;   
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  padding: 8px 0;
  z-index: 999;
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #fff;        
}

.dropdown-content a:hover {
  background: rgba(255,255,255,0.08);
}

/* Klasa otwierająca */
.dropdown.open .dropdown-content {
  display: block;
}

/* MOBILE */
@media (max-width: 900px) {
  .dropdown-content {
    position: static;
    box-shadow: none;
  }
}

/* tylko dla tabeli wyścigów */
.race-table{
  margin: 20px auto;
  border-collapse: collapse;
  width: 80%;
  color: #e0e0e0;
  background-color: #1e1e1e;
}

.race-table th,
.race-table td{
  border: 1px solid #444;
  padding: 10px;
  text-align: center;
  vertical-align: middle;
}

.race-table th{
  background-color: #333;
  font-weight: 600;
}

/* linki */
.race-table a{
  color: #e0e0e0;
  text-decoration: underline;
}

.race-table a:hover{
  text-decoration: underline;
}

/* wyścig + flaga w 1 linii, ale nadal wycentrowane */
.race-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: underline;
}

/* flaga */
.race-flag{
  display:block;
  border-radius: 3px;
  /* opcjonalnie, żeby lepiej pasowało do dark */
  box-shadow: 0 0 0 1px #444;
}

/* "Wyniki" jako przycisk w stylu dark */
.results-link{
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #444;
  border-radius: 8px;
  background: #2a2a2a;
}

.results-link:hover{
  background: #333;
}

/* 📱 Telefon: karty w stylu dark */
@media (max-width: 600px){
  .race-table{
    width: 92%;
  }

  .race-table thead{
    display:none;
  }

  .race-table,
  .race-table tbody,
  .race-table tr,
  .race-table td{
    display:block;
    width:100%;
  }

  .race-table tr{
    border: 1px solid #444;
    background: #1e1e1e;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 14px;
  }

  .race-table td{
    border: none;
    padding: 8px 0;
    text-align: left; /* na telefonie czytelniej */
  }

  .race-table td::before{
    content: attr(data-label);
    display:block;
    font-size: 12px;
    color: #bdbdbd;
    margin-bottom: 4px;
  }
}


.embedded-startlist {
    margin: 28px 0;
    padding: 22px;
    border: 1px solid #2f2f2f;
    border-radius: 20px;
    background: #181818;
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
}

.embedded-startlist-heading {
    margin-bottom: 18px;
}

.embedded-startlist-heading h2 {
    margin: 0;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.2;
}

.embedded-team {
    margin-bottom: 18px;
}

.embedded-team:last-child {
    margin-bottom: 0;
}

.embedded-team-name {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e0e0e0;
    border: 1px solid #f5f5f5;
    color: #121212;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.embedded-startlist-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 7px;
}

.embedded-startlist-table td {
    padding: 9px 10px;
    border-radius: 12px;
    background: #202020;
    color: #fff;
    font-weight: 700;
    line-height: 1.35;
}

.embedded-rider-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 0 0 1px #444;
    margin-right: 8px;
    vertical-align: -2px;
}

.embedded-rider-number {
    color: #d6d6d6;
    font-weight: 800;
}

.embedded-rider-name {
    color: #fff;
}

.embedded-startlist-error {
    margin: 20px 0;
    padding: 16px;
    border: 1px solid rgba(239, 68, 68, 0.45);
    background: rgba(239, 68, 68, 0.1);
    color: #fecaca;
    border-radius: 16px;
}