

.main-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 40px 20px;
    box-sizing: border-box;
    width: 100%;
    min-height: calc(100vh - 60px);
}

.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.form-box {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}
.scrollingTable {
    overflow-x: auto;
    overflow-y: auto;
    margin-bottom: 15px;
    border-radius: 8px;
    max-height: 300px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
}

/* Tabellen-Stile */
.rides-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.rides-table th, 
.rides-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.rides-table th {
    background-color: #f2f2f2;
    font-weight: bold;
    color: #333;
}

.rides-table tr:hover {
    background-color: #f5f5f5;
}

/* Status-Stile */
.verspätung {
    color: #cf3030;
    font-weight: bold;
}

.pünktlich {
    color: #30a030;
}

/* Allgemeine Tabellenstile für Abwärtskompatibilität */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
    color: #333;
}

tr:hover {
    background-color: #f5f5f5;
}

h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.centered-title {
    text-align: center;
    font-family: 'Lexend', sans-serif;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-box {
        padding: 20px;
    }

    .rides-table {
        font-size: 14px;
    }

    .centered-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .form-box {
        padding: 15px;
        border-radius: 8px;
    }

    .info-box {
        padding: 15px;
    }

    .rides-table {
        font-size: 12px;
    }

    .rides-table th, 
    .rides-table td {
        padding: 8px 5px;
    }

    .primary-secondary-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}
