/* ✦✦✦ MIRNES ✦✦✦ */

/* =====================================================
   GLOBAL
===================================================== */
body .en-frontend-table,
body .en-frontend-table th,
body .en-frontend-table td,
.en-print-form{
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #222;
}

/* =====================================================
   FRONTEND TABLE
===================================================== */
.en-frontend-table{
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e0e0e0;
}

.en-frontend-table th{
    padding: 5px 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-bottom: 1px solid #ddd;
    text-align: center;
    color: #444;
}

.en-frontend-table td{
    padding: 4px 6px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.en-frontend-table td:nth-child(4),
.en-frontend-table td:nth-child(5){
    text-align: center;
}

/* Avatar */
.en-avatar{
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

/* Membership */
.en-membership-text{
    font-weight: 700;
    font-size: 11px;
}

.en-status-active{ color: #079b3b; }
.en-status-warning{ color: #ffbf00; }
.en-status-expired{ color: #ff0000; }

/* =====================================================
   BACKEND FILTER / EXPORT BOX
===================================================== */
.en-export-box{
    margin: 14px 0 15px 0;
    padding: 12px 14px;
    border: 1px solid #e5e5e5;
    background: #fff;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
    display: block;
}
.en-export-box form{
  margin: 0 !important;
}
.en-filter-row{
    display: flex;
    flex-wrap: wrap;
    gap: 10px 10px;
    align-items: center;
}

.en-filter-row select{
    padding: 7px 10px;
    border: 1px solid #d7d7d7;
    background: #fff;
    font-size: 13px;
    line-height: 1.2;
}

.en-filter-row select:focus{
    outline: none;
    border-color: #2d6cdf;
}

/* Buttons */
.en-btn{
    padding: 6px 14px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    transition: all .2s ease;
}

.en-btn:hover{
    background: #222;
    color: #fff;
    border-color: #222;
}

/* Pagination */
.en-pagination{
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 15px 0;
}

.en-pagination button,
.en-pagination a{
    min-width: 32px;
    height: 32px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.en-pagination .button-primary,
.en-pagination button.active{
    background: #222;
    color: #fff;
    border-color: #222;
}

/* =====================================================
   BACKEND TOOLBAR
===================================================== */
.en-toolbar{
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:10px;
    margin: 10px 0 10px 0;
}

/* WP button “flat” look u ovom bloku */
.en-toolbar .button.button-primary{
    background:#2d6cdf;
    border-color:#2d6cdf;
    color:#fff;
    box-shadow:none;
    text-shadow:none;
}

.en-toolbar .button.button-primary:hover{
    background:#255bc0;
    border-color:#255bc0;
    color:#fff;
}


/* =====================================================
   BACKEND FORM LAYOUT
===================================================== */
.en-flat-form{
    max-width: 900px;
}

.en-section{
    margin-bottom: 18px;
}

.en-grid-2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 768px){
    .en-grid-2{
        grid-template-columns: 1fr;
    }
}

.en-field label{
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
    color: #555;
}

.en-field input,
.en-field select,
.en-field textarea{
    padding: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    width: 100%;
}

.en-field textarea{
    min-height: 60px;
}

/* Bigger bold inside field inputs (as requested) */
.en-flat-form .en-field input,
.en-flat-form .en-field select,
.en-flat-form .en-field textarea{
    font-size: 16px;
    font-weight: 700;
    color: #000;
}

/* =====================================================
   ROLES (ADMIN CHECKBOXES)
===================================================== */
.en-roles-modern{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.en-role-item{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #ddd;
    background: #fff;
    padding: 6px 8px;
    cursor: pointer;
}

.en-role-item input{
    margin: 0;
}

/* =====================================================
   TABLE WRAPPER
===================================================== */
.en-table-wrapper{
    width: 100% !important;
    max-width: none !important;
    overflow-x: auto;
    margin-top: 15px;
    box-sizing: border-box;
}
.wp-list-table.fixed{
    table-layout: auto !important;
}
.wp-list-table{
    width: 100% !important;
    min-width: 0 !important;
    border-collapse: collapse;
}
.wp-list-table th,
.wp-list-table td{
    white-space: nowrap;
    vertical-align: middle;
}

.wp-list-table tbody tr{
    transition: background .15s ease;
}

.wp-list-table tbody tr:hover{
    background: #f7f7f7;
}

/* Status colors in backend table cells */
.wp-list-table td.en-status-green{
    background: #e6f4ea !important;
    color: #1f7a3f !important;
    font-weight: 700;
}

.wp-list-table td.en-status-orange{
    background: #fff4e5 !important;
    color: #cc7a00 !important;
    font-weight: 700;
}

.wp-list-table td.en-status-red{
    background: #fdecea !important;
    color: #b02a37 !important;
    font-weight: 700;
}

/* Form status box colors (same palette) */
.en-status-green{
    background: #e6f4ea;
    color: #1f7a3f;
    font-weight: 700;
}

.en-status-orange{
    background: #fff4e5;
    color: #cc7a00;
    font-weight: 700;
}

.en-status-red{
    background: #fdecea;
    color: #b02a37;
    font-weight: 700;
}

/* Ime člana preuzima boju statusa (bez pozadine) */
.en-text-green{ color: #1f7a3f !important; }
.en-text-orange{ color: #cc7a00 !important; }
.en-text-red{ color: #b02a37 !important; }

/* =====================================================
   ADMIN THUMBNAILS + IMAGE PREVIEW
===================================================== */
.wp-list-table img.en-admin-thumb{
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    object-fit: cover !important;
    border-radius: 4px;
    cursor: pointer;
}

/* Preview in form (avoid full size) */
.en-image-preview img{
    width: 40px !important;
    height: auto !important;
    max-width: 40px !important;
    object-fit: cover;
    border-radius: 6px;
    margin-top: 8px;
}

/* Stronger specificity just in case WP styles override */
.en-flat-form .en-image-preview img{
    width: 40px !important;
    height: auto !important;
    max-width: 40px !important;
    object-fit: cover;
    border-radius: 6px;
    margin-top: 8px;
}

/* =====================================================
   ACTION ICON BUTTONS
===================================================== */
.en-actions a,
.en-actions button{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: all .2s ease;
    cursor: pointer;
}

.en-actions a:hover,
.en-actions button:hover{
    background: #222;
    color: #fff;
    border-color: #222;
    transform: translateY(-1px);
}

/* =====================================================
   IMAGE MODAL
===================================================== */
#en-image-modal{
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
}

.en-image-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
}

.en-image-content{
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: 5% auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.en-image-content img{
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    box-shadow: 0 10px 40px rgba(0,0,0,.4);
    background: #fff;
}

.en-image-close{
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
}

/* =====================================================
   PRINT FORM
===================================================== */
.en-print-form{
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid #000;
    padding: 10px;
}

.en-print-form table{
    width: 100%;
    border-collapse: collapse;
}

.en-print-form th,
.en-print-form td{
    border: 1px solid #000;
    padding: 5px;
}

@media print{
    .en-print-form button{
        display: none;
    }
}

/* =====================================================
   EMAIL MODAL
===================================================== */
#en-email-modal{
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

.en-modal-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
}

.en-modal-content{
    position: relative;
    background: #fff;
    width: 700px;
    max-width: 95%;
    margin: 80px auto;
    padding: 25px;
}

.en-modal-close{
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 22px;
    cursor: pointer;
}

/* =====================================================
   FRONTEND – FILTER BAR (isti izgled kao stats)
===================================================== */

.en-frontend-filterbar{
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 12px 16px;
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    align-items: center;
    font-size: 14px;
}

/* checkbox “pill” izgled, flat */
.en-frontend-filterbar label{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
    color: #444;
}

.en-frontend-filterbar input[type="checkbox"]{
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #111; /* modern browsers */
}

/* mali title (npr: Filter:) */
.en-frontend-filterbar .en-filter-title{
    font-weight: 700;
    color: #111;
    margin-right: 6px;
}

/* mobile */
@media (max-width: 768px){
    .en-frontend-filterbar{
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        font-size: 13px;
    }
}
#en-filter-btn{
    background: transparent;
    border: 1px solid #2d6cdf;
    color: #2d6cdf;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

#en-filter-btn:hover{
    background: #2d6cdf;
    color: #fff;
}


/* =====================================================
   DARK MODE (prefers-color-scheme)
===================================================== */
@media (prefers-color-scheme: dark){
    body{ background: #1e1e1e; }

    .wp-list-table{
        background: #2a2a2a;
        color: #eee;
    }

    .wp-list-table th{
        color: #ccc;
        border-color: #3a3a3a;
    }

    .wp-list-table td{
        border-color: #3a3a3a;
    }

    .wp-list-table tbody tr:hover{
        background: #333;
    }

    .en-export-box{
        background: #2a2a2a;
        border-color: #3a3a3a;
    }

    .en-btn{
        background: #2a2a2a;
        border-color: #444;
        color: #ddd;
    }

    .en-btn:hover{
        background: #444;
        color: #fff;
    }

    .en-actions a,
    .en-actions button{
        background: #2a2a2a;
        border-color: #444;
        color: #ddd;
    }

    .en-actions a:hover,
    .en-actions button:hover{
        background: #444;
        color: #fff;
    }
}

/* =====================================================
   ADMIN SLIDE PANEL (FLAT) – FINAL (NO DUPLICATES)
===================================================== */
body.en-panel-open{ overflow:hidden; }

.en-panel-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.35);
  z-index:99998;
  display:none;
}

.en-member-panel{
  position:fixed;
  top:32px;
  right:-720px;
  width:680px;
  max-width:92vw;
  height:calc(100vh - 32px);
  background:#fff;
  border-left:1px solid #e5e5e5;
  z-index:99999;
  transition:right .18s ease;
  display:flex;
  flex-direction:column;
}

.en-member-panel.is-open{ right:0; }

.en-panel-header{
  padding:10px 12px;
  border-bottom:1px solid #e5e5e5;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  background:#fff;
  position:sticky;
  top:0;
  z-index:2;
}

/* uredniji title */
#en-panel-title{
  font-size: 14px;
  font-weight: 700;
  color:#111;
}

/* dugmad u headeru – flat */
.en-panel-actions .button{
  box-shadow:none;
  text-shadow:none;
}
.en-panel-actions .button.button-primary{
  background:#2d6cdf;
  border-color:#2d6cdf;
}
.en-panel-actions .button.button-primary:hover{
  background:#255bc0;
  border-color:#255bc0;
}


.en-panel-actions{ display:flex; gap:8px; }

.en-panel-body{
  padding:12px;
  overflow:auto;
}
/* =====================================================
   MOBILE FIX – FILE UPLOAD VIDLJIV + PANEL SCROLL
===================================================== */
@media (max-width: 768px){

  /* panel full-screen na mobu */
  .en-member-panel{
    top: 0 !important;
    height: 100vh !important;
    width: 100vw !important;
    max-width: 100vw !important;
    right: -110vw; /* sakriven van ekrana */
  }
  .en-member-panel.is-open{ right: 0 !important; }

  /* header sticky, body scroll */
  .en-panel-header{
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
  }

  .en-panel-body{
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 110px; /* da zadnja polja (file input) ne budu ispod dugmadi */
  }

  /* file input mora biti block i full width */
  #en-member-form input[type="file"][name="image"]{
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px !important; /* sprječava “zoom” i čudno ponašanje */
    padding: 8px 0 !important;
  }

  /* preview veći na mobu */
  .en-image-preview img,
  .en-flat-form .en-image-preview img{
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    object-fit: cover !important;
  }
}
/* =====================================================
   FRONTEND – STATS BAR
===================================================== */

.en-frontend-stats {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.en-frontend-stats span {
    color: #444;
}

.en-frontend-stats strong {
    font-weight: 700;
    color: #111;
}

/* Broj – blagi naglasak */
.en-stat-number {
    font-weight: 700;
    color: #000;
}

/* Donacije – blaga zelena */
.en-stat-donations {
    font-weight: 700;
    color: #1e7e34;
}

/* Mobile */
@media (max-width: 768px) {
    .en-frontend-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        font-size: 13px;
    }
}
/* =====================================================
   BACKEND – STATS CARD (admin_notices)
===================================================== */
.en-stats-summary{
    background:#fff;
    border:1px solid #e5e5e5;
    padding:12px 14px;
    margin: 10px 0 12px 0;
    font-size: 13px;
    color:#333;
    line-height: 1.45;
}

/* malo naglasi brojeve, ali flat */
.en-stats-summary strong{
    font-weight: 700;
    color:#111;
}

/* da ne “lijepi” uz WP notice spacing */
.en-stats-summary + .notice{
    margin-top: 12px;
}
/* =====================================================
   PROFILE IMAGE ROW (upload + toggle)
===================================================== */
.en-image-row{
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    align-items: center;
}

/* =====================================================
   ADMIN TOGGLE SWITCH (bigger)
===================================================== */
.en-toggle{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.en-toggle input{ display:none; }

.en-toggle-slider{
    position: relative;
    width: 52px;
    height: 28px;
    background: #d9d9d9;
    border: 1px solid #cfcfcf;
    transition: all .2s ease;
}

.en-toggle-slider:before{
    content:"";
    position:absolute;
    width: 22px;
    height: 22px;
    background:#fff;
    top: 2px;
    left: 2px;
    transition: all .2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,.18);
}

.en-toggle input:checked + .en-toggle-slider{
    background:#2d6cdf;
    border-color:#2d6cdf;
}

.en-toggle input:checked + .en-toggle-slider:before{
    transform: translateX(24px);
}

.en-toggle-label{
    line-height: 1;
}

/* Mobile: sve ispod jedno ispod drugog */
@media (max-width: 768px){
    .en-image-row{
        flex-direction: column;
        align-items: flex-start;
    }
}


/* =====================================================
   PRINT – A4 LAYOUT (FORMULAR)
===================================================== */
@page { size: A4; margin: 12mm; }

.en-print-page{
    width: 210mm;
    min-height: 297mm;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    background: #fff;
}

.en-print-header{
    text-align: center;
    margin-bottom: 10px;
}
.en-print-header h2{
    margin: 0 0 4px 0;
    font-size: 18px;
    letter-spacing: .2px;
}
.en-print-sub{
    font-size: 12px;
    color: #444;
}

.en-print-table{
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.en-print-table th,
.en-print-table td{
    border: 1px solid #000;
    padding: 6px 8px;
    font-size: 12px;
    vertical-align: top;
}
.en-print-table th{
    width: 40%;
    text-align: left;
    font-weight: 700;
}

.en-print-signatures{
    display: flex;
    gap: 20px;
    margin-top: 18px;
}
.en-print-sign{
    flex: 1;
    text-align: center;
}
.en-print-line{
    border-bottom: 1px solid #000;
    height: 22px;
}
.en-print-label{
    margin-top: 6px;
    font-size: 12px;
}

.en-print-footer{
    margin-top: 16px;
    font-size: 12px;
}

.en-print-actions{
    text-align: center;
    margin-top: 18px;
}

@media print{
    .en-print-actions{ display:none; }
    body{ background:#fff; }
    .en-print-form{ border: none !important; padding: 0 !important; }
}


/* ===============================
   PRINT – FINANSIJSKA EVIDENCIJA
=================================*/
.en-print-payments-wrap{margin-top:14mm}
.en-print-payments-wrap h3{margin:0 0 6px 0;font-size:13px;font-weight:700}
.en-print-payments-block{margin-top:6mm}
.en-print-payments-block h4{margin:0 0 4px 0;font-size:12px;font-weight:700}
.en-print-payments-table{width:100%;border-collapse:collapse;font-size:11px}
.en-print-payments-table th,.en-print-payments-table td{border:1px solid #111;padding:4px 5px;vertical-align:top}
.en-print-payments-table th{font-weight:700}
.en-amt{text-align:right;white-space:nowrap}
.en-print-sumline{margin-top:3px;display:flex;justify-content:space-between;font-size:11px}
.en-print-total{margin-top:8mm;border-top:2px solid #111;padding-top:4mm;font-size:12px}
.en-print-total-row{display:flex;justify-content:space-between}
.en-muted{font-size:11px;color:#555}

/* ===============================
   FRONTEND – PRIJAVA CLANA
=================================*/
.en-apply-form{max-width:760px}
.en-apply-form p{margin:10px 0}
.en-apply-form label{display:block;font-weight:700;margin-bottom:4px}
.en-apply-form input,.en-apply-form textarea{width:100%;box-sizing:border-box}
.en-apply-form button{margin-top:6px}


/* ===============================
   UI IMPROVEMENTS – PRINT + APPLY
=================================*/
.en-print-page{max-width:820px;margin:0 auto;padding:18px}
.en-print-form{background:#fff;border:1px solid #111;padding:18px}
.en-print-header h2{margin:0;font-size:20px;letter-spacing:.2px}
.en-print-sub{margin-top:4px;color:#444;font-size:12px}
.en-print-table{width:100%;border-collapse:collapse;margin-top:12px}
.en-print-table th{width:38%;text-align:left;background:#f3f3f3;font-weight:700}
.en-print-table th,.en-print-table td{border:1px solid #111;padding:8px 10px;vertical-align:top}
.en-input{width:100%;box-sizing:border-box;border:1px solid #222;padding:8px 10px;font-size:13px;background:#fff}
.en-input:focus{outline:none;box-shadow:0 0 0 2px rgba(0,0,0,.12)}
.en-help{margin-top:6px;font-size:11px;color:#444}
.en-roles-inline{display:flex;flex-wrap:wrap;gap:8px}
.en-role-pill{display:inline-flex;align-items:center;gap:5px;border:0px solid #222;padding:5px 5px;font-size:12px}
.en-role-pill input{transform:scale(1.15)}
.en-print-actions--apply{margin-top:14px;display:flex;justify-content:center}
.en-btn{border:1px solid #111;background:#111;color:#fff;padding:10px 14px;font-weight:700;cursor:pointer}
.en-btn:hover{opacity:.92}
.en-print-date{margin-top:10px;font-size:12px;color:#222}
.en-print-signatures{display:flex;gap:18px;margin-top:18px}
.en-print-sign{flex:1}
.en-print-line{border-bottom:1px solid #111;height:22px}
.en-print-label{margin-top:6px;font-size:11px;color:#222}
@media (max-width:640px){.en-print-page{padding:10px}.en-print-table th{width:44%}.en-print-header h2{font-size:18px}.en-print-signatures{flex-direction:column}}

/* ===============================
   PRISTUPNICA – APPLY + PRINT (UI)
=================================*/
.en-print-page--apply{max-width:820px;margin:0 auto;padding:18px}
.en-print-form--apply{background:#fff;border:1px solid #111;padding:18px}
.en-print-table--apply th{width:38%}
.en-input{width:100%;padding:8px 10px;border:1px solid #111;background:#fff;font-size:13px}
.en-help{margin-top:6px;font-size:12px;color:#444}
.en-blank-line{height:18px;border-bottom:1px solid #111}
.en-checkline{display:flex;gap:10px;align-items:flex-start}
.en-checkline input{width:18px;height:18px;margin-top:2px}
.en-checkline span{font-size:13px;color:#111}
.en-role-pill--print{border:none;background:transparent;padding:0;margin-right:12px}
/* ==============================
   ONLINE PRISTUPNICA – HEADER
============================== */

.en-online-pristupnica-header{
    width: 100%;
    max-width: 980px;          /* prilagodi ako ti forma ima drugu širinu */
    margin: 0 auto 14px auto;
    padding: 14px 16px 12px 16px;
    background: #fff;
    box-sizing: border-box;
    text-align: center;
}

.en-online-pristupnica-header h2{
    margin: 0 0 6px 0;
    padding: 0;
    font-size: 20px;
    font-weight: 700;
    color: #222;
    line-height: 1.2;
}

.en-online-pristupnica-intro{
    margin: 0 !important;
    padding: 0 !important;
    font-size: 13px !important;
    color: #444;
    line-height: 1.45 !important;
}

.en-online-pristupnica-intro a{
    color: inherit;
    text-decoration: underline;
}

.en-online-pristupnica-intro a:hover{
    text-decoration: none !important;
}

/* Mobile */
@media (max-width: 600px){
    .en-online-pristupnica-header{
        padding: 12px 12px 10px 12px;
        margin-bottom: 12px;
    }
    .en-online-pristupnica-header h2{
        font-size: 20px !important;
    }
    .en-online-pristupnica-intro{
        font-size: 15px !important;
        line-height: 20px !important;
    }
}

/* ===============================
   ONLINE PRISTUPNICA – MOBILE
=================================*/
@media (max-width: 700px){
  .en-print-page--apply{padding:10px;width:100%;}
  .en-print-form--apply{padding:12px}
  .en-print-table--apply, .en-print-table--apply tbody, .en-print-table--apply tr, .en-print-table--apply th, .en-print-table--apply td{display:block;width:100%}
  .en-print-table--apply tr{margin-bottom:10px}
  .en-print-table--apply th{border-bottom:none;padding:8px 10px;background:#f3f3f3}
  .en-print-table--apply td{border-top:none;padding:8px 10px}
  .en-roles-inline{display:flex;flex-wrap:wrap;gap:8px}
  .en-role-pill{width:auto}
  .en-checkline{gap:10px}
  .en-checkline span{line-height:1.2}
}

.en-checkline.en-disabled{opacity:.55}
.en-checkline.en-disabled input{cursor:not-allowed}

/* Nested (child) public-display options under "Prikaži profil" */
.en-checkline--child{margin-left:22px}
@media (max-width:700px){
  .en-checkline--child{margin-left:14px}
}

/* ===============================
   ADMIN + FRONTEND – PUBLIC DISPLAY UX
=================================*/
.en-public-box{display:block;margin-top:10px}
.en-checkline--main{font-weight:700}
.en-public-sub{margin-left:22px;margin-top:6px;border-left:2px solid #111;padding-left:12px}
.en-checkline{display:flex;gap:10px;align-items:flex-start;margin:6px 0}
.en-checkline input{width:18px;height:18px;margin-top:2px}
.en-checkline.en-disabled{opacity:.55}

/* ===============================
   MOBILE VISIBILITY FIX – APPLY FORM
=================================*/
.en-print-form--apply .en-input{
    display: block !important;
    width: 100% !important;
    font-size: 17px;
    font-weight: 600;
    max-width: 100% !important;
    box-sizing: border-box !important;
    height: 42px;
}
.en-print-table--apply td{overflow:visible}
.en-print-form--apply input[type="file"]{padding:8px 0}


.en-actions{ display:inline-flex; gap:4px; }

.en-actions a:focus-visible,
.en-actions button:focus-visible{ outline:2px solid #2271b1; outline-offset:2px; }
