body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
}
.alert {
	text-align: center;
	font-size: 2em;
	margin: 2%;
	background-color: lightgreen;
	padding: 2%;
	line-height: 1.7em;
	font-weight: bold;
}
.alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

#swapButton {
    transition: all 0.3s ease;
    cursor: pointer;
}

#swapButton:hover {
    background-color: #5a6268 !important;
    transform: scale(1.05);
}
/* Datepicker Styling */
.ui-datepicker {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
}

.ui-datepicker-header {
    background: #007bff;
    color: white;
    border: none;
}

/* Time Input Styling */
input[type="time"] {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Number Input Container */
.form-group {
    margin-bottom: 15px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background-color: #008543;
    color: white;
    padding: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.button {
    background-color: #008543;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.button:hover {
    background-color: #008543;
}

.address-book {
    margin-top: 20px;
}

.address-book ul {
    list-style-type: none;
    padding: 0;
}

.address-book li {
    background-color: white;
    padding: 10px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    border-radius: 5px;
}


.shipment-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.95em;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.shipment-table thead tr {
    background-color: #008543;
    color: white;
    text-align: left;
}

.shipment-table th {
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shipment-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: top;
}

.shipment-table tbody tr {
    transition: all 0.2s;
}

.shipment-table tbody tr:hover {
    background-color: #f8fafc;
    transform: scale(1.002);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.shipment-table tbody tr:nth-of-type(even) {
    background-color: #f5f7fa;
}

/* Typografie und Inhalt */
.shipment-number {
    font-weight: 600;
    color: #2980b9;
}

.shipment-number a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.shipment-number a:hover {
    color: #1a5276;
    text-decoration: underline;
}

.shipment-type {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: 600;
    text-transform: uppercase;
}

.type-EKS { background-color: #e8f6f3; color: #1abc9c; }
.type-ECO { background-color: #e8f8f5; color: #16a085; }
.type-ON { background-color: #eaf2f8; color: #2980b9; }
.type-DF { background-color: #fef9e7; color: #d35400; }
.type-DP { background-color: #f5eef8; color: #8e44ad; }
.type-NG { background-color: #eaf2f8; color: #2980b9; }
.type-TA { background-color: #fdedec; color: #c0392b; }
.type-INT { background-color: #e8f4f8; color: #2980b9; }
.type-SWP { background-color: #eaf2f8; color: #2980b9; }

.dimensions {
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    white-space: nowrap;
}

.time-window {
    display: flex;
    flex-direction: column;
}

.date {
    font-weight: 500;
    color: #2c3e50;
}

.time {
    font-size: 0.85em;
    color: #7f8c8d;
}

.reference {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.empty-reference {
    color: #95a5a6;
    font-style: italic;
}

.creation-time {
    display: flex;
    flex-direction: column;
}

/* Responsive Anpassungen */
@media (max-width: 1200px) {
    .shipment-table {
        font-size: 0.85em;
    }
    
    .shipment-table th,
    .shipment-table td {
        padding: 10px 12px;
    }
}

