/*
 * Copyright (C) 2024-2026 MOTOR-SPORT-CLUB Marbach e.V. - All rights reserved - https://www.msc-marbach.de
 */

:root {
    color-scheme: light;
}

body {
    font-family: sans-serif;
    hyphens: manual;
}

/* Elements are only displayed in dark or light mode */
.only-on-dark {
    display: none;
}
.only-on-light {
    display: block;
}

.only-on-screen {
    display: none;
}

form, .container {
    min-width: 300px;
    max-width: 900px;
    margin: 0 auto;
    padding: 5px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: sans-serif;
    line-height: 140%;
    position: relative;
}

/* Header sections */
.flexsection {
    display: none;
}

/* Navigation */
.topnav {
    display: none;
}

.light-table {
    border-collapse: collapse;
    margin: 25px 0;
}
.light-table tr {
    text-align: left;
}
.light-table th, .light-table td {
    padding-top: 5px;
    padding-right: 20px;
    padding-bottom: 5px;
    padding-left: 0px;
    /* min-width: 100px; */
    text-align: left;
}
.light-table tr {
    border-bottom: 2px solid;
    border-color: #ddd;
}

label {
    display: block;
    margin-bottom: 5px; 
}

label.required:after {
    content: " *";
    color: red;
}

.required-star {
    color: red;
}

.newlyadded-star {
    color: orange;
}

input[type="text"], input[type="email"], input[type="number"], input[type="datetime-local"] {
	display: none;
}

input[type="checkbox"], input[type="radio"] {
    display: none;
}

.category-select {
    display: none;
}

.checkbox-container, .radio-container {
    display: none;
}

.input-group {
    display: flex;
    margin-bottom: 10px;
}

.input-group input {
    width: 60px;
    margin-right: 10px; 
}

.participant-info {
    font-size: 14px;
    color: light-dark(#555, #aaa);
}

.participantFieldset {
    margin-bottom: 20px;
    border: solid;
    border-width: 1px;
    border-radius: 10px;
    border-color: light-dark(#aaa, #555);
    padding: 15px;
}

.participantLegend {
    font-size: small;
    color: light-dark(#555, #aaa);
}

.account-details {
    margin-left: 60px;
    margin-bottom: 10px;
}

.highlight {
    font-weight: bold;
}

input[type="submit"] {
    display: none;	
}

.submitbutton {
	display: none;
}

.donebutton {
    display: none;	
}


/* Dies ist nur testweise */ 
.event-form {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid;
    border-color: light-dark(#ddd, #444);
    border-radius: 10px;
}

/* Kopfbereich mit Datum, Titel und Buttons */
.event-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

/* Button-Stile */
.btn {
  display: none;
}

.event-buttons {
    display: none;
}

/* History */
.history {
    display: none;
}

/* Footer */
.footer {
    display: none;
}
