
    .sv-photo-control { flex: 1; min-height: 0; overflow-y: auto; padding: 8px; }
    .sv-photo-turnstiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
    .sv-photo-cell { min-width: 0; padding: 8px; border: 1px solid #ddd; background: #fff; }
    .sv-photo-cell-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 6px; }
    .sv-photo-direction { padding: 3px 8px; border-radius: 4px; background: #e9edf2; color: #293848; font-size: 12px; font-weight: 700; }
    .sv-photo-direction-entry { background: #147044; color: #fff; }
    .sv-photo-direction-exit { background: #235794; color: #fff; }
    .sv-photo-camera { position: relative; height: 200px; background: #171717; color: #ddd; overflow: hidden; }
    .sv-photo-camera p { position: absolute; inset: auto 0 0; margin: 0; padding: 6px 8px; background: rgba(0,0,0,.75); }
    .sv-photo-camera img { display: block; width: 100%; height: 100%; object-fit: contain; }
    .sv-photo-camera-label { position: absolute; top: 0; left: 0; padding: 4px 6px; background: rgba(0,0,0,.75); }
    .sv-photo-identity { list-style: none; margin: 8px 0 0; padding: 0; }
    .sv-photo-identity li.photo {
        width: 100%; min-width: 0; float: none; height: auto !important; transform: none; font-size: 7.2vmin;
        border-width: 0 !important; outline: 1px solid grey;
    }
    .sv-photo-identity li.photo .row { height: auto !important; margin: 0; }
    .sv-photo-identity .checkpoint-card-portrait { position: relative; }
    .sv-photo-identity .checkpoint-card-portrait > img.photo {
        display: block; position: static; width: 100%; height: auto;
    }
    .sv-photo-identity .checkpoint-card-portrait > br { display: none; }
    .sv-photo-identity .checkpoint-card-portrait .image_big { bottom: 2px; }
    .sv-photo-identity .checkpoint-card-portrait .cartouche { top: auto; bottom: 38px; }


    /* === sv-checkpoint design system styles === */

    .sv-checkpoint-layout {
        display: flex !important;
        flex-direction: row !important;
        height: calc(100vh - 80px);
        background: #fff;
        overflow: hidden;
    }

    .sv-checkpoint-main {
        flex: 1 !important;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .sv-checkpoint-sidebar {
        width: 280px !important;
        flex-shrink: 0 !important;
        border-left: 1px solid #e8e8e8;
        background: #fafbfc;
        overflow-y: auto;
    }

    .sv-checkpoint-sidebar.sv-checkpoint-sidebar-narrow {
        width: 120px;
        min-width: 100px;
    }

    .sv-checkpoint-carousel-section {
        position: relative;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .sv-checkpoint-carousel-row {
        position: relative;
        flex: 1;
    }

    .sv-checkpoint-carousel-row + .sv-checkpoint-carousel-row {
        border-top: 2px solid #ccc;
    }

    .sv-checkpoint-label {
        font-size: 14px;
        font-weight: 600;
        color: #2c3e50;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .sv-checkpoint-turnstiles {
        padding: 12px 14px;
        border-bottom: 1px solid #e8e8e8;
    }

    .sv-checkpoint-turnstile-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 6px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .sv-checkpoint-turnstile-row:last-child {
        border-bottom: none;
    }

    .sv-checkpoint-turnstile-img {
        flex-shrink: 0;
        width: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sv-checkpoint-turnstile-info {
        flex: 1;
        font-size: 12px;
        color: #555;
        line-height: 1.5;
        text-align: left;
    }

    .sv-checkpoint-turnstile-name {
        font-weight: 600;
        color: #2c3e50;
        font-size: 13px;
    }

    .sv-checkpoint-stats-section {
        padding: 14px;
        border-bottom: 1px solid #e8e8e8;
    }

    .sv-checkpoint-stats-title {
        font-size: 13px;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 10px;
        text-align: center;
    }

    .sv-checkpoint-stats {
        width: 100%;
        border-collapse: collapse;
    }

    .sv-checkpoint-stats tr {
        border-bottom: 1px solid #f0f0f0;
    }

    .sv-checkpoint-stats tr:last-child {
        border-bottom: none;
    }

    .sv-checkpoint-stats td {
        padding: 5px 4px;
        font-size: 13px;
        color: #333;
    }

    .sv-checkpoint-stats td:first-child {
        color: #555;
    }

    .sv-checkpoint-stats td:last-child {
        text-align: right;
        font-weight: 600;
        padding-left: 16px;
        color: #2c3e50;
    }

    .sv-checkpoint-actions {
        padding: 14px;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .sv-checkpoint-btn {
        border-radius: 6px;
        font-size: 13px;
        font-weight: 500;
        padding: 8px 20px;
        cursor: pointer;
        border: 1px solid transparent;
        transition: background 0.15s, box-shadow 0.15s;
        display: inline-block;
    }

    .sv-checkpoint-btn-primary {
        background: #3498db;
        color: #fff;
        border-color: #2980b9;
    }

    .sv-checkpoint-btn-primary:hover {
        background: #2980b9;
        box-shadow: 0 2px 6px rgba(52,152,219,0.3);
    }

    .sv-checkpoint-btn-primary:disabled,
    .sv-checkpoint-btn-primary[disabled] {
        background: #a0c4e8;
        border-color: #a0c4e8;
        cursor: not-allowed;
    }

    .sv-checkpoint-btn-danger {
        background: #e74c3c;
        color: #fff;
        border-color: #c0392b;
    }

    .sv-checkpoint-btn-danger:hover {
        background: #c0392b;
        box-shadow: 0 2px 6px rgba(231,76,60,0.3);
    }


    /* === Preserved functional classes (used by JavaScript/plugins) === */

    .app-content-body.app-content-full.fade-in.ng-scope{
        background-color: white;
    }

    /*TOOLTIP*/
    .cartouche {
        display: none;
        position: absolute;
        margin: auto;
        top: 54%;
        left: 0;
        right: 0;
        bottom: 15px;
        color: white;
        text-transform: uppercase;
        padding: 0px;
        z-index: 999;
        font-size: 0.3em;
        width: 100%;
        text-align: center;
        height:50%;
    }

    .image_big:hover + div.cartouche, div.cartouche:hover {
        display: block
    }
    /*TOOLTIP*/

    .popup {
        color: #FFFFFF;
        display: none;
        position: fixed;
    }

    img.event {
        width: 36px;
        height: 36px;
        right: 4px;
        bottom: 52px;
        position: absolute;
        border-radius: 6px;
        background: rgba(255,255,255,0.9);
        padding: 2px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    }

    img.cardholder_type {
        bottom: 52px;
        left: 4px;
        width: 36px;
        height: 36px;
        position: absolute;
        border-radius: 6px;
        background: rgba(255,255,255,0.9);
        padding: 2px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    }

    #scrolling2 {
        position: absolute;
        overflow: hidden;
        top: 0;
        height: 100%;
        width: 100%;
        margin-left: 30px;
    }

    #scrolling {
        position: absolute;
        background: white;
        overflow: hidden;
        top: 0;
        height: 100%;
        width: 100%;
        margin-left: 30px;
    }

    /*applied to current active item*/
    .itemslide-active {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        -moz-transform: scale(1);
        transform: scale(1);
    }

    ul.photo {
        /*Add if you want to disable the option of selecting the text while sliding*/
        width: 100% !important;
        height: 100% !important;
    }

    li.photo {
        border-width: 1px!important;
        list-style-type: none;
        padding-top: 1px;
        font-size: 8vmin;
        float: left;
        width: 18.2vw;
        min-width: 18.2vw;
        color: #000;
        font-weight: 300;
        text-align: center;
        border-radius: 10px;
        -webkit-border-radius: 10px;
        -o-border-radius: 10px;
        -moz-border-radius: 10px;
        cursor: pointer;
        background: #FFF;
        border-color: grey!important;
        border-style: solid;
        -webkit-transform: scale(0.90);
        -ms-transform: scale(0.90);
        -moz-transform: scale(0.90);
        transform: scale(0.90);
        z-index: 100;
        position: relative;
        height: 95% !important;
    }

    .caption-btm {
        background: rgba(0, 0, 0, 0.6);
        height: 40px;
        position: absolute;
        bottom: 4px;
        color: #fff;
        display: table;
        width: 100%;
    }

    .caption-btm p {
        text-align: center;
        display: table-cell;
        vertical-align: middle;
    }

    img.photo {
        display: table-cell;
        position: absolute;
        margin: auto;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 70%;
        max-height: 100%;
        max-width: 100%;
    }

    .rotate135 {
        transform: rotate(135deg) translate(-50%, -50%);
        -webkit-transform: rotate(135deg) translate(-50%, -50%);
        -ms-transform: rotate(135deg) translate(-50%, -50%);
    }

    .rotate185 {
        transform: rotate(185deg) translate(-100%, -100%);
        -webkit-transform: rotate(185deg) translate(-100%, -100%);
        -ms-transform: rotate(185deg) translate(-100%, -100%);
    }

    .rotate180 {
        transform: rotate(180deg) translate(-100%, -100%);
        -webkit-transform: rotate(180deg) translate(-100%, -100%);
        -ms-transform: rotate(180deg) translate(-100%, -100%);
    }

    .rotate270 {
        transform: rotate(270deg) translate(-50%, -50%);
        -webkit-transform: rotate(270deg) translate(-50%, -50%);
        -ms-transform: rotate(270deg) translate(-50%, -50%);
    }

    .rotate315 {
        transform: rotate(315deg) translate(-100%, -100%);
        -webkit-transform: rotate(315deg) translate(-100%, -100%);
        -ms-transform: rotate(315deg) translate(-100%, -100%);
    }

    .mirror_vertical {
        -webkit-transform: scaleY(-1);
        -moz-transform: scaleY(-1);
        -o-transform: scaleY(-1);
        -ms-transform: scaleY(-1);
        transform: scaleY(-1);
    }

    img.door {
        max-height: 50%!important;
    }

    .rotate90 {
        transform: translate(-50%, -50%) rotate(-90deg);
        transform-origin: center center;
        position: absolute;
        left: 12px;
        z-index: 200;
        font-size: 150%;
        white-space: nowrap;
    }

