table {
    margin-top: 30px;
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 70%;
}
th, td {
    border: 1px solid #ccc;
    padding: 5px;
    text-align: left;
}
tbody tr {
    cursor: move;
}
.tr-hover:hover{
    background-color: #c6c6c6;
}
tbody tr.dragging {
    background-color: #b7b6b6;
}
.nodrag{
    cursor: default;
}

.create_sport{
    display: inline-block;
    padding: 6px 12px; /* Reduzierte Innenabstände */
    background-color: #007BFF; /* Blau als Standardfarbe */
    color: white;
    text-decoration: none;
    border-radius: 4px; /* Etwas kleinere Abrundung */
    font-family: Arial, sans-serif;
    font-size: 14px; /* Kleinere Schriftgröße */
    text-align: center;
    transition: background-color 0.3s ease;
}

.create_sport:hover{
    background-color: #0056b3;
}

.delete_btn{
    display: inline-block;
    padding: 6px 12px; /* Reduzierte Innenabstände */
    background-color: #98002b; /* Blau als Standardfarbe */
    color: white;
    text-decoration: none;
    border-radius: 4px; /* Etwas kleinere Abrundung */
    font-family: Arial, sans-serif;
    font-size: 14px; /* Kleinere Schriftgröße */
    text-align: center;
    transition: background-color 0.3s ease;
}

.delete_btn:hover{
    background-color: #6e001b;
}

.reject_btn{
    display: inline-block;
    padding: 6px 12px; /* Reduzierte Innenabstände */
    background-color: #ad7100; /* Blau als Standardfarbe */
    color: white;
    text-decoration: none;
    border-radius: 4px; /* Etwas kleinere Abrundung */
    font-family: Arial, sans-serif;
    font-size: 14px; /* Kleinere Schriftgröße */
    text-align: center;
    transition: background-color 0.3s ease;
}

.reject_btn:hover{
    background-color: #6c4f00;
}

.accept_btn{
    display: inline-block;
    padding: 6px 12px; /* Reduzierte Innenabstände */
    background-color: #00780c; /* Blau als Standardfarbe */
    color: white;
    text-decoration: none;
    border-radius: 4px; /* Etwas kleinere Abrundung */
    font-family: Arial, sans-serif;
    font-size: 14px; /* Kleinere Schriftgröße */
    text-align: center;
    transition: background-color 0.3s ease;
}

.accept_btn:hover{
    background-color: #004013;
}


@keyframes rotate {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
i.fa-spinner {
    animation: rotate 2s linear infinite;
}


/*Switch*/
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

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

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background-color: orange;
    -webkit-transition: .4s;
    transition: .4s;
}

    input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

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

.slider.round:before {
    border-radius: 50%;
}


/*Rundes Bild*/

.circle {
    width: 60px; /* Durchmesser des Kreises */
    height: 60px;
    border-radius: 50%; /* Macht den Ausschnitt rund */
    overflow: hidden; /* Schneidet überstehende Teile ab */
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid rgb(0, 0, 0); /* Optional: Rahmen */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Schatten */
}

.circle img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Passt das Bild an den Kreis an */
}

/*Halbteilung des Bildschirms*/

.halbierung {
    display: flex;
    width: 100%;
}

.halbierung_links, .halbierung_rechts {
    width: 50%;
    padding: 10px;
    box-sizing: border-box;
}

.highlight_onhover:hover{
    border: 4px solid rgb(0, 145, 10);
} 
.resetPass{
    text-decoration: none;
    color: white;
    float: right;
    margin-top: 10px;
}
.resetPass:hover{
    color: grey;
}
.rateLimit{
    float: left;
}

/* Container zentriert oben */
#notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333; /* dunkelgrau */
    color: #fff;
    padding: 15px 25px;
    border: 2px solid white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    font-family: Arial, sans-serif;
    font-size: 16px;
    z-index: 1000;
}

/* Wenn sichtbar */
#notification.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}







/* Gesamtbreite per CSS-Variable anpassen (z.B. 600px, 80%, 40rem) */
  .two-halves {
    --width: 600px;            /* <-- hier die Gesamtbreite ändern */
    width: var(--width);
    max-width: 100%;           /* verhindert Überschreiten des Viewports */
    height: auto;             /* Höhe des Containers (anpassen nach Bedarf) */
    display: flex;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  }

  .two-halves > .half {
    flex: 1;                   /* jeweils 50% */
    display: flex;
    justify-content: center;   /* horizontal zentrieren */
    box-sizing: border-box;
    text-align: center;        /* Text in der Hälfte zentriert */
    align-items: flex-start;
  }

  /* optische Unterschiede, kannst du entfernen oder anpassen */
  .two-halves > .left {
    background: #f7f9fc;
  }
  .two-halves > .right {
    background: #ffffff;
    border-left: 1px solid rgba(0, 0, 0, 0.507);
  }

  /* kleine Responsive-Hilfe: auf kleinen Bildschirmen untereinander */
  @media (max-width: 420px) {
    .two-halves {
      flex-direction: column;
      height: auto;
    }
    .two-halves > .half + .half {
      border-left: none;
      border-top: 1px solid rgba(0,0,0,0.507);
    }
  }