.ticket-entry {
    margin-bottom: 25px;
    border: 1px solid #dfdfdf;
    border-radius: 8px;
    padding: 2px;
	background:white;
}

.entry-head {
    background:#b0b0b0;
	color:white;
    padding: 6px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
}

.entry-content {
    padding: 8px;
    font-size: 16px;
}

.entry-content p {
    font-size: 16px;
}

.entry-content .attachment-row {
    border-top: 1px solid #ccc;
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Kein fixed height hier! */
.entry-content .attachment-row .attachment {
    width: 120px;              /* oder 150px – wie du willst */
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    position: relative;
}

/* Einheitliche Preview-Box */
.entry-content .attachment-row .attachment .attachment-preview {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Bild korrekt einpassen */
.entry-content .attachment-row .attachment img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

/* Dashicon groß genug und sauber zentriert */
.entry-content .attachment-row .attachment .dashicons {
    font-size: 64px;   /* statt 48px */
    width: 64px;
    height: 64px;
    line-height: 1;
    text-align: center;
}

/* Dashicon groß genug und sauber zentriert */
.entry-content .attachment-row .attachment .dashicons.dashicons-trash {
    font-size: 20px;   /* statt 48px */
    width: 20px;
    height: 20px;
    line-height: 1;
    text-align: center;
}

.entry-content .attachment-row .attachment .attachment-link {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}


/* Dateiname unterhalb, ellipsiert wie in Jira */
.entry-content .attachment-row .attachment .attachment-filename {
    margin-top: 6px;
    font-size: 12px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.attachment .attachment-delete {
    position: absolute;
    top: 4px;
    right: 4px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 2px;
    color: #a00;
}

.attachment .attachment-delete .dashicons {
    font-size: 16px;
}

.upload-dropzone {
    border: 2px dashed #aaa;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}

.upload-dropzone.dragover {
    background: #f0f8ff;
    border-color: #0073aa;
}

/*input*/
#upload-group input[type="file"] {
    position: absolute;
    left: -9999px;
}

.upload-preview {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.upload-preview .file-item {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 4px;
    font-size: 12px;
    text-align: center;
    max-width: 100px;
    overflow: hidden;
}

.upload-preview .file-item img {
    max-width: 80px;
    max-height: 80px;
    display: block;
    margin: 0 auto 4px;
    object-fit: contain;
}

.fancybox__container {
    z-index: 99999 !important;
}


.top-margin-15 {
    margin-top: 15px;
}

.top-margin-10 {
    margin-top: 10px;
}

h3 {
    margin-top: 0;
}

.ticket-row td:first-child {
    border-left: 15px solid #efefef;
}

.ticket-row.offen td:first-child {
    border-left: 15px solid #f38616;
}

.ticket-row.geschlossen td:first-child {
    border-left: 15px solid #a4a2a2;
}


.ticket-row.warten_kunde td:first-child {
    border-left: 15px solid #87c09c;
}

.ticket-row.warten_drittanbieter td:first-child {
    border-left: 15px solid #799abd;
}

.ticket-row.urgent td:first-child, .urgent {
    border-left: 15px solid #ff338f;
}

td.offen {
	background:#f38616;
}

td.geschlossen {
	background:#a4a2a2;
}

td.warten_kunde {
	background:#87c09c;
}

td.warten_drittanbieter {
	background:#799abd;
	color:white;
}
td.urgent {
	background:#ff338f;
}

.ergebnis-panel {
    background: #ede3da;
}

.abschnitt-head {
    background: #4893af;
    color:white;
    padding: 6px;
    border-radius: 6px;
    margin-bottom: 15px;
}

h3.abschnitt-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h3.abschnitt-head.success {
    border-left: 18px solid #19e34b;
}

h3.abschnitt-head.warning {
    border-left: 18px solid #c31414;
}

.test_ready {
    background: #19e34b;
}

.test_uncomplete {
    background: #c31414;
    color: white;
}

.testresultrow {
    cursor: pointer;
}

.preview-container {
    display: inline-block;
    width: 160px;
    height: 160px;
    padding: 5px;
    margin: 10px 10px 10px 0;
    border: 1px solid #dfdfdf;
}

.swiper {
    width: 90%;
    height: 90%;
}

.swiper-slide {
    height: auto !important;
    text-align: center;
}
.swiper-content {
    height: 100% !important
}