/* Fix for overlapping text and container leakage */
.auction-details-container-universal {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    overflow-x: hidden; /* Final kill-switch for the white sidebar */
}

.custom-auction-table {
    width: 100% !important;
    table-layout: fixed; /* Forces column widths to stay put */
    border-collapse: collapse;
}

.custom-auction-table td {
    word-wrap: break-word; /* Crucial: breaks long words like "Serienausstattung" */
    overflow-wrap: break-word;
    white-space: normal !important; /* Forces text to wrap to the next line */
    padding: 8px;
    vertical-align: top;
}

.table-label {
    width: 40%; /* Keeps the labels from being squashed */
    font-weight: bold;
    background-color: #fcfcfc;
}

.table-value {
    width: 60%;
}

/* Rest specific adjustments */
table.table-noborder.table-condensed.table-nobackground td [class^="icon-"], table.table-noborder.table-condensed.table-nobackground td [class*=" icon-"], .form-control-static i {
    display: inline-block;
    font-size: 12px;
    border: 1px solid #888;
    width: 16px;
    height: 16px;
    text-align: center;
    padding-top: 2px;
    font-family: 'sans-serif';
}

table.table-noborder.table-condensed.table-nobackground td [class^="icon-"], table.table-noborder.table-condensed.table-nobackground td [class*=" icon-"], .form-control-static i {
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

table.table-noborder.table-condensed.table-nobackground td {
    border:none;
    vertical-align:middle;
}

.red {
    border-color: #d9534f !important;
    color: #d9534f;
}

.icon-checkbox-checked::after  {
    content: "X";
    color: #d9534f;
    font-family: 'sans-serif';
}

.form-control-static i {
    margin-right: 10px;
}

.box.margin-top-20 {
    margin-top:40px;
}

table.table-noborder.table-condensed.table-nobackground {
    max-width: 600px;
    margin: 0 auto;
}

.box.margin-top-20 p {
    max-width: 600px;
    margin: 0 auto;
}

/* Mobile-Specific Adjustments */
@media (max-width: 480px) {
    .table-label {
        width: 35%; /* Adjusts ratio for very narrow screens */
        font-size: 13px;
    }
    .table-value {
        font-size: 13px;
    }
}