/*
Plugin Name: MySQL Tabelle formatieren
Description: css für mysql-tabelle-anzeigen.php
Version: 5.0
*/

.versand-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    min-width: 120px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group input {
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-button {
    margin-top: 20px;
}

.form-button button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 4px;
    cursor: pointer;
}

.form-button button:hover {
    background: #005f8d;
}

.preis {
    font-weight: bold;
    font-size: 16px;
	white-space: nowrap;
}

.ergebnis-tabelle {
    width: 100%;
    border-collapse: collapse;
    margin-top: 25px;
    font-size: 15px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.ergebnis-tabelle thead {
    background: #1e73be;
    color: #ffffff;
}

.ergebnis-tabelle th {
    text-align: left;
    padding: 14px;
    font-weight: 600;
}

.ergebnis-tabelle td {
    padding: 12px 14px;
    border-bottom: 1px solid #eee;
	white-space: nowrap;
}

.ergebnis-tabelle tbody tr:hover {
    background: #f5f9ff;
}

.ergebnis-tabelle tbody tr:last-child td {
    border-bottom: none;
}

.beste-option {
    background: linear-gradient(90deg, #e8f5e9, #ffffff);
    border-left: 4px solid #2e7d32;
	color: #2e7d32;
}

.paket-preview {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

#paket-svg {
    width: 100%;
    max-width: 500px;
}

#box-top {
    fill: #cfd3e6;
    stroke: #1f3fbf;
    stroke-width: 3;
}

#box-side {
    fill: #b5bbd8;
    stroke: #1f3fbf;
    stroke-width: 3;
}

#box-front {
    fill: #9da6cc;
    stroke: #1f3fbf;
    stroke-width: 3;
}

#box-top,
#box-side,
#box-front {
    transition: all 0.3s ease;
}

.label {
    fill: white;
    font-weight: bold;
    font-size: 14px;
}

#paket-svg {
    width: 100%;
    max-width: 600px;
    height: auto;
}

.badge circle {
    fill: #1f3fbf;
}

.badge text {
    fill: #ffffff;
    font-weight: bold;
    font-size: 14px;
}

.ergebnis-tabelle tbody tr {
    cursor: pointer;
}

#box-top,
#box-side,
#box-front {
    display: none;
}

#badge-laenge,
#badge-breite,
#badge-hoehe {
    display: none;
}