/* =============================================================
   DocPortal — portal.css
   ============================================================= */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #1a1a1a;
    background: #f5f5f3;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
select, input { font-family: inherit; font-size: 14px; }

/* ---------- NAVIGATION — Option C (two-row header) ---------- */

/* Outer wrapper — sticky, both rows stick together */
.dp-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 16px rgba(4,44,83,0.18);
}

/* ── ROW 1: White brand row ── */
.dp-nav__brand {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.dp-nav__brand-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Left side: Denis logo + company name + tagline */
.dp-nav__brand-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dp-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* Fallback box shown when logo image file is not uploaded yet */
.dp-logo-fallback {
    width: 64px;
    height: 64px;
    background: #042C53;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}
.dp-logo-fallback span { color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.3px; }
.dp-logo-fallback small { color: rgba(255,255,255,0.55); font-size: 8px; font-weight: 400; }

.dp-nav__company-name {
    font-size: 16px;
    font-weight: 700;
    color: #042C53;
    line-height: 1.25;
    display: block;
}

.dp-nav__company-tag {
    font-size: 11px;
    color: #888;
    font-style: italic;
    display: block;
    margin-top: 2px;
}

/* Right side: Aquapulse logo */
.dp-nav__brand-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.dp-logo-right-fallback {
    width: 64px;
    height: 64px;
    background: #E8F8FF;
    border: 2px solid #00AEEF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1px;
    flex-shrink: 0;
}
.dp-logo-right-fallback .aq { font-size: 14px; font-weight: 900; color: #00AEEF; line-height: 1; }
.dp-logo-right-fallback .pl { font-size: 14px; font-weight: 900; color: #002b6c; line-height: 1; }

/* ── ROW 2: Navy nav bar ── */
.dp-nav__bar {
    background: #042C53;
}

.dp-nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 46px;
    display: flex;
    align-items: center;
}

.dp-nav__links { flex: 1; }

.dp-nav__menu {
    list-style: none;
    display: flex;
    gap: 4px;
    justify-content: center;
}

.dp-nav__menu li a {
    font-size: 13px;
    color: rgba(255,255,255,0.72);
    padding: 6px 18px;
    border-radius: 4px;
    display: block;
    transition: all 0.18s;
    border-bottom: 2px solid transparent;
    text-decoration: none;
}
.dp-nav__menu li a:hover {
    color: #fff;
    border-bottom-color: #378ADD;
}

/* Admin info in nav bar */
.dp-nav__admin {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.dp-nav__user {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
}

.dp-nav__btn {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 5px;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}
.dp-nav__btn--outline {
    background: transparent;
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.28);
}
.dp-nav__btn--outline:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: rgba(255,255,255,0.55);
}

/* Mobile hamburger — sits in nav bar on small screens */
.dp-nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    margin-left: auto;
}
.dp-nav__hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,0.85);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile drawer */
.dp-nav__mobile {
    display: none;
    flex-direction: column;
    background: #042C53;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 8px 24px 16px;
}
.dp-nav__mobile a {
    padding: 10px 0;
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    text-decoration: none;
    transition: color 0.2s;
}
.dp-nav__mobile a:hover { color: #fff; }
.dp-nav__mobile.open { display: flex; }



/* ---------- CHEMICAL BACKGROUND — full page ---------- */
body {
    background-color: #f5f5f3;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600'%3E%3Cg opacity='0.045' stroke='%23185FA5' stroke-width='1' fill='none'%3E%3Cpolygon points='80,40 104,54 104,82 80,96 56,82 56,54'/%3E%3Cpolygon points='80,40 104,54 104,82 80,96 56,82 56,54' transform='translate(48,0)'/%3E%3Cpolygon points='80,96 104,110 104,138 80,152 56,138 56,110'/%3E%3Cpolygon points='80,96 104,110 104,138 80,152 56,138 56,110' transform='translate(48,0)'/%3E%3Cline x1='80' y1='40' x2='80' y2='18'/%3E%3Cline x1='104' y1='54' x2='122' y2='44'/%3E%3Cline x1='104' y1='82' x2='122' y2='92'/%3E%3Cline x1='80' y1='96' x2='80' y2='118'/%3E%3Cline x1='56' y1='82' x2='38' y2='92'/%3E%3Cline x1='56' y1='54' x2='38' y2='44'/%3E%3Ccircle cx='80' cy='18' r='4'/%3E%3Ccircle cx='122' cy='44' r='4'/%3E%3Ccircle cx='122' cy='92' r='4'/%3E%3Ccircle cx='80' cy='118' r='4'/%3E%3Ccircle cx='38' cy='92' r='4'/%3E%3Ccircle cx='38' cy='44' r='4'/%3E%3Ccircle cx='80' cy='240' r='5'/%3E%3Cline x1='80' y1='240' x2='120' y2='260'/%3E%3Ccircle cx='120' cy='260' r='5'/%3E%3Cline x1='120' y1='260' x2='160' y2='240'/%3E%3Ccircle cx='160' cy='240' r='5'/%3E%3Cline x1='160' y1='240' x2='200' y2='260'/%3E%3Ccircle cx='200' cy='260' r='5'/%3E%3Cline x1='120' y1='260' x2='120' y2='290'/%3E%3Ccircle cx='120' cy='290' r='3'/%3E%3Cline x1='160' y1='240' x2='160' y2='210'/%3E%3Ccircle cx='160' cy='210' r='3'/%3E%3Cellipse cx='400' cy='120' rx='50' ry='22' stroke-dasharray='4,3' opacity='0.06'/%3E%3Cellipse cx='400' cy='120' rx='22' ry='50' stroke-dasharray='4,3' opacity='0.06'/%3E%3Ccircle cx='400' cy='120' r='9' opacity='0.09'/%3E%3Ccircle cx='400' cy='72' r='4'/%3E%3Ccircle cx='448' cy='120' r='4'/%3E%3Cpolygon points='600,60 624,74 624,102 600,116 576,102 576,74'/%3E%3Ccircle cx='600' cy='60' r='14' opacity='0.05'/%3E%3Cline x1='576' y1='74' x2='552' y2='60'/%3E%3Cline x1='576' y1='102' x2='552' y2='116'/%3E%3Ccircle cx='552' cy='60' r='4'/%3E%3Ccircle cx='552' cy='116' r='4'/%3E%3Cline x1='300' y1='350' x2='340' y2='350'/%3E%3Cline x1='302' y1='356' x2='338' y2='356'/%3E%3Ccircle cx='296' cy='353' r='5'/%3E%3Ccircle cx='344' cy='353' r='5'/%3E%3Cline x1='344' y1='353' x2='374' y2='333'/%3E%3Cline x1='344' y1='353' x2='374' y2='373'/%3E%3Ccircle cx='374' cy='333' r='4'/%3E%3Ccircle cx='374' cy='373' r='4'/%3E%3Cline x1='700' y1='300' x2='700' y2='260'/%3E%3Ccircle cx='700' cy='260' r='5'/%3E%3Cline x1='700' y1='300' x2='730' y2='320'/%3E%3Ccircle cx='730' cy='320' r='5'/%3E%3Cline x1='700' y1='300' x2='670' y2='320'/%3E%3Ccircle cx='670' cy='320' r='5'/%3E%3Cline x1='700' y1='300' x2='700' y2='340'/%3E%3Ccircle cx='700' cy='340' r='5'/%3E%3Cline x1='500' y1='450' x2='540' y2='430'/%3E%3Ccircle cx='540' cy='430' r='4'/%3E%3Cline x1='540' y1='430' x2='580' y2='450'/%3E%3Ccircle cx='580' cy='450' r='4'/%3E%3Cline x1='540' y1='430' x2='540' y2='400'/%3E%3Ccircle cx='540' cy='400' r='4'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 900px 600px;
}

/* ---------- SLIDER — image only ---------- */
.dp-slider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.dp-slider__image-wrap {
    width: 100%;
}

.dp-slider__img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    object-fit: cover;
    object-position: center;
}

/* ---------- SECTION HEADER ---------- */
.dp-section-header {
    text-align: center;
    padding: 44px 24px 20px;
}
.dp-section-header h2 {
    font-size: 26px;
    font-weight: 600;
    color: #042C53;
    margin-bottom: 8px;
}
.dp-section-header p {
    font-size: 15px;
    color: #666;
    max-width: 520px;
    margin: 0 auto;
}
.dp-section-header__line {
    width: 44px;
    height: 3px;
    background: #042C53;
    border-radius: 2px;
    margin: 14px auto 0;
}

/* ---------- LAYOUT CONTAINER ---------- */
.dp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 32px;
}

/* ---------- CARD ---------- */
.dp-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
    padding: 28px 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* ---------- FILTER ROW ---------- */
.dp-filter__row {
    display: grid;
    grid-template-columns: 1fr 1fr 200px;
    gap: 16px;
    align-items: end;
}

.dp-filter__group { display: flex; flex-direction: column; gap: 6px; }
.dp-filter__group label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dp-filter__group select,
.dp-filter__group input[type="text"] {
    height: 42px;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 8px;
    padding: 0 12px;
    font-size: 14px;
    color: #1a1a1a;
    background: #fafafa;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23888' stroke-width='1.5' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 34px;
}

.dp-filter__group input[type="text"] {
    background-image: none;
    padding-right: 12px;
}

.dp-filter__group select:focus,
.dp-filter__group input:focus {
    outline: none;
    border-color: #185FA5;
    box-shadow: 0 0 0 3px rgba(24,95,165,0.12);
}

.dp-filter__group select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.dp-filter__group--action label { color: transparent; user-select: none; }

/* ---------- BUTTONS ---------- */
.dp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.dp-btn--primary {
    background: #042C53;
    color: #fff;
    border-color: #042C53;
}
.dp-btn--primary:hover {
    background: #185FA5;
    border-color: #185FA5;
    box-shadow: 0 4px 14px rgba(24,95,165,0.35);
    transform: translateY(-1px);
}

.dp-btn--secondary {
    background: #f0f0f0;
    color: #333;
    border-color: rgba(0,0,0,0.15);
}
.dp-btn--secondary:hover { background: #e4e4e4; }

.dp-btn--white {
    background: #fff;
    color: #185FA5;
    border-color: #fff;
}
.dp-btn--white:hover { background: #E6F1FB; }

.dp-btn--outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}
.dp-btn--outline-white:hover { background: rgba(255,255,255,0.12); }

.dp-btn--full { width: 100%; height: 42px; }
.dp-btn--danger { background: #A32D2D; color: #fff; border-color: #A32D2D; font-size: 12px; padding: 5px 12px; }
.dp-btn--danger:hover { background: #791F1F; }

/* ---------- DIVIDER ---------- */
.dp-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 20px;
    color: #999;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.dp-divider::before,
.dp-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0,0,0,0.1);
}

/* ---------- UPLOAD ZONE ---------- */
.dp-upload {
    border: 2px dashed rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    background: #fafafa;
    transition: border-color 0.2s, background 0.2s;
}

.dp-upload.drag-over {
    border-color: #185FA5;
    background: #E6F1FB;
}

.dp-upload--locked {
    opacity: 0.75;
}

.dp-upload__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #E6F1FB;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #185FA5;
}
.dp-upload__icon svg { width: 22px; height: 22px; }
.dp-upload__icon--locked { background: #f0f0f0; color: #999; }

.dp-upload__title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.dp-upload__hint {
    font-size: 13px;
    color: #888;
    margin-bottom: 4px;
}

.dp-upload__fields {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    margin: 16px 0;
    text-align: left;
}

.dp-upload__selected {
    font-size: 13px;
    color: #185FA5;
    margin: 8px 0 12px;
    font-weight: 500;
}

.dp-upload__progress {
    height: 6px;
    background: #e4e4e4;
    border-radius: 3px;
    overflow: hidden;
    margin: 10px 0;
}

.dp-upload__progress-bar {
    height: 100%;
    background: #185FA5;
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s;
}

/* ---------- RESULTS ---------- */
.dp-results { padding-top: 0; }

.dp-results__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.dp-results__label {
    font-size: 15px;
    font-weight: 700;
    color: #042C53;
    padding-left: 12px;
    border-left: 4px solid #042C53;
}

.dp-results__count {
    font-size: 13px;
    color: #042C53;
    background: #E6F1FB;
    border-radius: 20px;
    padding: 3px 12px;
    font-weight: 600;
}

/* ---------- PDF GRID ---------- */
.dp-pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

/* ---------- PDF CARD ---------- */
.dp-pdf-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.09);
    border-radius: 12px;
    padding: 18px;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.dp-pdf-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #042C53;
    transform: scaleY(0);
    transform-origin: bottom center;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 0 0 12px;
}
.dp-pdf-card:hover {
    border-color: #042C53;
    box-shadow: 0 6px 22px rgba(4,44,83,0.12);
    transform: translateY(-3px);
}
.dp-pdf-card:hover::before {
    transform: scaleY(1);
}

.dp-pdf-card__top {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 14px;
}

.dp-pdf-card__icon {
    min-width: 42px;
    width: 42px;
    height: 52px;
    background: #FCEBEB;
    border: 1px solid #F7C1C1;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #A32D2D;
    letter-spacing: 0.5px;
    transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.dp-pdf-card:hover .dp-pdf-card__icon {
    background: #042C53;
    border-color: #042C53;
    color: #fff;
}

.dp-pdf-card__info { flex: 1; min-width: 0; }

.dp-pdf-card__title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 4px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.dp-pdf-card__meta {
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}

.dp-pdf-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.07);
}

.dp-pdf-card__badge {
    font-size: 11px;
    font-weight: 600;
    background: #E6F1FB;
    color: #185FA5;
    border-radius: 20px;
    padding: 3px 10px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dp-pdf-card__actions { display: flex; gap: 6px; }

.dp-pdf-card__dl-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f5f5f5;
    border: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: all 0.2s;
}
.dp-pdf-card__dl-btn:hover {
    background: #042C53;
    color: #fff;
    border-color: #042C53;
}
.dp-pdf-card__dl-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ---------- SKELETON LOADERS ---------- */
.dp-pdf-skeleton {
    height: 148px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    border-radius: 12px;
    animation: skeleton-shine 1.4s infinite;
}
@keyframes skeleton-shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ---------- EMPTY STATE ---------- */
.dp-empty {
    text-align: center;
    padding: 60px 24px;
    color: #aaa;
}
.dp-empty svg { margin: 0 auto 16px; opacity: 0.4; }
.dp-empty p { font-size: 15px; color: #888; margin-bottom: 4px; }
.dp-empty__hint { font-size: 13px; color: #bbb; }

/* ---------- TOAST ---------- */
.dp-toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    max-width: 340px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 6px 24px rgba(0,0,0,0.14);
    z-index: 9999;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}
.dp-toast.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.dp-toast.dp-toast--success { background: #1D9E75; color: #fff; }
.dp-toast.dp-toast--error   { background: #A32D2D; color: #fff; }
.dp-toast.dp-toast--info    { background: #185FA5; color: #fff; }

/* ---------- FOOTER ---------- */
.dp-footer {
    background: #fff;
    border-top: 3px solid #042C53;
    margin-top: 40px;
    padding: 24px;
}
.dp-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}
.dp-footer__brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    margin-bottom: 8px;
}
.dp-footer__copy { font-size: 13px; color: #888; margin-bottom: 4px; }
.dp-footer__note { font-size: 12px; color: #bbb; }

/* ---------- MULTI-FILE UPLOAD ---------- */
.dp-req { color: #A32D2D; }

.dp-mupload { display: flex; flex-direction: column; gap: 0; }

.dp-mupload__step { padding: 20px 0 4px; border-top: 1px solid rgba(0,0,0,0.07); }
.dp-mupload__step:first-child { border-top: none; padding-top: 0; }

.dp-mupload__step-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 14px;
}

.dp-mupload__step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #042C53;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dp-mupload__hint-inline {
    font-size: 12px;
    font-weight: 400;
    color: #999;
    margin-left: 4px;
}

.dp-mupload__selects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* DROP ZONE */
.dp-mupload__dropzone {
    border: 2px dashed rgba(0,0,0,0.18);
    border-radius: 12px;
    padding: 32px 20px;
    text-align: center;
    background: #fafafa;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
}
.dp-mupload__dropzone:hover,
.dp-mupload__dropzone.drag-over {
    border-color: #185FA5;
    background: #EEF5FC;
}
.dp-mupload__dropzone svg { margin: 0 auto 10px; color: #185FA5; opacity: 0.7; }
.dp-mupload__drop-text { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 4px; }
.dp-mupload__drop-sub  { font-size: 13px; color: #aaa; margin-bottom: 12px; }

/* FILE QUEUE */
.dp-queue {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 2px;
}

.dp-queue__row {
    display: grid;
    grid-template-columns: 36px 1fr 160px 80px 32px;
    align-items: center;
    gap: 10px;
    background: #fafafa;
    border: 1px solid rgba(0,0,0,0.09);
    border-radius: 10px;
    padding: 10px 14px;
    transition: border-color 0.2s;
}
.dp-queue__row.is-uploading { border-color: #185FA5; background: #EEF5FC; }
.dp-queue__row.is-done      { border-color: #1D9E75; background: #edf8f4; }
.dp-queue__row.is-failed    { border-color: #A32D2D; background: #fdf2f2; }

/* Icon cell */
.dp-queue__icon {
    width: 36px;
    height: 44px;
    background: #FCEBEB;
    border: 1px solid #F7C1C1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #A32D2D;
    flex-shrink: 0;
}

/* Title input */
.dp-queue__title-input {
    width: 100%;
    height: 36px;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 7px;
    padding: 0 10px;
    font-size: 13px;
    color: #1a1a1a;
    background: #fff;
    transition: border-color 0.2s;
    font-family: inherit;
}
.dp-queue__title-input:focus {
    outline: none;
    border-color: #185FA5;
    box-shadow: 0 0 0 3px rgba(24,95,165,0.1);
}
.dp-queue__row.is-uploading .dp-queue__title-input,
.dp-queue__row.is-done      .dp-queue__title-input,
.dp-queue__row.is-failed    .dp-queue__title-input {
    background: transparent;
    border-color: transparent;
    pointer-events: none;
}

/* File size */
.dp-queue__size {
    font-size: 12px;
    color: #999;
    text-align: right;
    white-space: nowrap;
}

/* Status */
.dp-queue__status {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}
.dp-queue__status--pending   { color: #bbb; }
.dp-queue__status--uploading { color: #185FA5; }
.dp-queue__status--done      { color: #1D9E75; }
.dp-queue__status--failed    { color: #A32D2D; }

/* Remove button */
.dp-queue__remove {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(0,0,0,0.15);
    color: #aaa;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}
.dp-queue__remove:hover { background: #A32D2D; color: #fff; border-color: #A32D2D; }
.dp-queue__remove:disabled { opacity: 0; pointer-events: none; }

/* Overall progress */
.dp-mupload__overall {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.dp-mupload__overall-bar {
    flex: 1;
    height: 8px;
    background: #e4e4e4;
    border-radius: 4px;
    overflow: hidden;
}
.dp-mupload__overall-fill {
    height: 100%;
    background: #185FA5;
    border-radius: 4px;
    width: 0%;
    transition: width 0.4s;
}
.dp-mupload__overall-text {
    font-size: 13px;
    font-weight: 600;
    color: #185FA5;
    white-space: nowrap;
    min-width: 110px;
    text-align: right;
}

/* Action row */
.dp-mupload__actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding-top: 4px;
}

/* Upload All button locked state */
#dp-upload-all-btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .dp-filter__row { grid-template-columns: 1fr 1fr; }
    .dp-filter__group--action { grid-column: 1 / -1; }
    .dp-upload__fields { grid-template-columns: 1fr; }
    .dp-mupload__selects { grid-template-columns: 1fr; }
    .dp-nav__links { display: none; }
    .dp-nav__admin { display: none; }
    .dp-nav__hamburger { display: flex; }
    .dp-nav__brand-inner { height: 68px; }
    .dp-logo, .dp-logo-fallback, .dp-logo-right-fallback { width: 52px; height: 52px; }
    .dp-nav__company-name { font-size: 14px; }
    .dp-nav__company-tag { display: none; }
    .dp-nav__inner { height: 44px; }
}

@media (max-width: 600px) {
    .dp-filter__row { grid-template-columns: 1fr; }
    .dp-card { padding: 20px 18px; }
    .dp-section-header h2 { font-size: 20px; }
    .dp-pdf-grid { grid-template-columns: 1fr; }
    .dp-queue__row { grid-template-columns: 36px 1fr 60px 32px; }
    .dp-queue__size { display: none; }
    .dp-mupload__actions { flex-direction: column; }
    .dp-mupload__actions .dp-btn { width: 100%; justify-content: center; }
    .dp-slider__img { max-height: 220px; }
    .dp-nav__brand-inner { height: 60px; padding: 0 16px; }
    .dp-logo, .dp-logo-fallback, .dp-logo-right-fallback { width: 44px; height: 44px; }
    .dp-nav__company-name { font-size: 13px; }
    .dp-nav__inner { height: 40px; }
}
