/* Táblázatok */

.table td,
.table th {
    vertical-align: middle;
    white-space: nowrap;
}


/* Autó lista */

.car-name-link {
    color: #ff9800;
    font-weight: 700;
    text-decoration: none;
}

.car-name-link:hover {
    color: #e68900;
    text-decoration: underline;
}

.car-image-wrapper {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 52px;
}

.car-thumb {
    width: 70px;
    height: 52px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.image-count-badge {
    position: absolute;
    right: 3px;
    bottom: 3px;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    gap: 3px;

    padding: 2px 5px;
    border-radius: 20px;

    background: #343a40;
    color: #fff;

    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.image-count-badge i {
    font-size: 9px;
}

/* Autó adatlap */

.car-gallery-thumb {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.detail-item {
    height: 100%;
    padding: 10px 12px;

    border: 1px solid #ddd;
    border-radius: 8px;

    background: #fff;
}

.detail-label {
    margin-bottom: 5px;

    color: #666;

    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.detail-value {
    color: #111;

    font-size: 14px;
    font-weight: 500;
}

.detail-group {
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.detail-group:last-child {
    border-bottom: none;
}

.detail-group-title {
    margin-bottom: 14px;
    padding-left: 10px;

    border-left: 4px solid #ff9800;

    color: #333;
    font-size: 17px;
    font-weight: 700;
}

/* Autó adatlap táblázat */

.car-detail-table td,
.car-detail-table th {
    padding: 9px 14px !important;
    vertical-align: middle;
    font-size: 14px;
}

/* Dashboard */

.dashboard-static-footer {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 3px 0;
}

.dashboard-status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid #eee;
}

.dashboard-status-row:last-child {
    border-bottom: none;
}

.dashboard-status-row span {
    color: #555;
}

.dashboard-status-row strong {
    font-size: 18px;
}

.video-icon-link {
    text-decoration: none;
}

.video-icon-link:hover {
    opacity: 0.8;
}

/* Lista állapot ikonok */

.list-status-icon {
    font-size: 16px;
    line-height: 1;
    vertical-align: middle;
}

.video-svg-icon {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px;
    max-height: 14px;
    display: inline-block;
    vertical-align: middle;
}

.engine-icon {
    width: 22px;
    height: 22px;
    display: inline-block;
    vertical-align: middle;

    -webkit-mask: url('../icons/engine.svg') center / contain no-repeat;
    mask: url('../icons/engine.svg') center / contain no-repeat;
}

.engine-ok {
    background: #28a745;
}

.engine-no {
    background: #dc3545;
}

.engine-svg-icon {
    width: 14px !important;
    height: 14px !important;
    max-width: 14px;
    max-height: 14px;
    display: inline-block;
    vertical-align: middle;
}

/* Egységes, kis lista SVG ikonok */
.list-svg-icon,
.engine-svg-icon,
.video-svg-icon {
    width: 10px !important;
    height: 10px !important;
    min-width: 10px !important;
    min-height: 10px !important;
    max-width: 10px !important;
    max-height: 10px !important;
    display: inline-block;
    vertical-align: middle;
}


/* Login */
.autobonto-login-page {
    background: #f4f6f9;
}

.login-box .login-logo {
    font-size: 1.8rem;
}


/* Egységes autólista ikonok */
.list-svg-icon {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    display: inline-block;
    vertical-align: -0.125em;
}
