/* Elveszett plugin – frontend tábla */

.elv-wrap {
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.elv-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 14px;
    font-family: inherit;
}

/* ---- Fejléc sor ---- */
.elv-table thead tr.elv-head-row th {
    background-color: #1a3354;
    color: #ffffff;
    padding: 12px 14px;
    text-align: left;
    cursor: pointer;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    border-bottom: 3px solid #c9a227;
    border-right: 1px solid rgba(255,255,255,0.08);
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.elv-table thead tr.elv-head-row th:hover {
    background-color: #14273f;
}

.elv-table thead tr.elv-head-row th:not([data-col]) {
    cursor: default;
}

.elv-arrow {
    font-size: 11px;
    opacity: 0.6;
    margin-left: 4px;
}

/* ---- Adatsorok ---- */
.elv-table tbody tr {
    border-bottom: 1px solid #e8ecf0;
    transition: background-color 0.1s;
}

.elv-table tbody tr:last-child {
    border-bottom: none;
}

.elv-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.elv-table tbody tr:hover {
    background-color: #edf1f7;
}

.elv-table tbody td {
    padding: 10px 14px;
    vertical-align: middle;
    color: #2c3e50;
    border-right: 1px solid #f0f2f5;
}

.elv-table tbody td strong {
    font-weight: 600;
    color: #1a3354;
}

/* ---- Fotók ---- */
.elv-thumb {
    max-width: 110px;
    max-height: 78px;
    display: block;
    border-radius: 4px;
    border: 1px solid #dce1e8;
    object-fit: cover;
    cursor: zoom-in;
    transition: border-color 0.15s, opacity 0.15s;
}

.elv-thumb:hover {
    border-color: #c9a227;
    opacity: 0.85;
}

/* ---- Lightbox ---- */
#elv-lb {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

#elv-lb.elv-lb-open {
    display: flex;
}

#elv-lb-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    animation: elv-lb-fade 0.18s ease;
}

#elv-lb-box {
    position: relative;
    z-index: 1;
    animation: elv-lb-scale 0.18s ease;
}

#elv-lb-img {
    display: block;
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
}

#elv-lb-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1a3354;
    border: 2px solid #c9a227;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.15s;
}

#elv-lb-close:hover {
    background: #c9a227;
    color: #1a3354;
}

@keyframes elv-lb-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes elv-lb-scale {
    from { transform: scale(0.88); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

/* ---- Üres állapot ---- */
.elv-empty {
    text-align: center;
    padding: 28px !important;
    color: #8a95a3;
    font-style: italic;
}
