/* =========================================================
   DMA Transfer — Page-specific styles
   ========================================================= */

/* ── Public layout ── */
.dma-topbar-public {
    /* No sidebar offset on public pages */
    left: 0 !important;
    width: 100% !important;
}

.transfer-main {
    padding-top: 56px; /* below topbar */
    min-height: calc(100vh - 96px);
}

.transfer-footer {
    padding: 16px 24px;
    text-align: center;
    font-size: 0.8rem;
    color: #6b7280;
    border-top: 1px solid #e5e7eb;
    margin-top: 32px;
}

/* ── Drop zone ── */
.drop-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 40px 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #f8fafc;
    user-select: none;
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: #2084DB;
    background: rgba(32, 132, 219, 0.05);
}

.drop-zone-icon {
    font-size: 2.5rem;
    color: #94a3b8;
    margin-bottom: 12px;
    transition: color 0.2s;
}

.drop-zone:hover .drop-zone-icon,
.drop-zone.dragover .drop-zone-icon {
    color: #2084DB;
}

.drop-zone-text {
    font-size: 1rem;
    color: #374151;
}

.drop-zone-text span {
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.drop-zone-sub {
    margin-top: 6px;
}

/* ── Result / success card ── */
#result-url {
    font-size: 0.82rem;
}

/* ── Admin content padding ── */
.dma-main > .container-fluid {
    padding: 24px 28px;
}

/* ── Stat cards ── */
.stat-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    flex-shrink: 0;
}

.stat-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d2129;
    line-height: 1.2;
}

.stat-card-label {
    font-size: 0.82rem;
    color: #6b7280;
    margin-top: 2px;
}

/* ── Table tweaks ── */
.table td, .table th {
    padding: 0.4rem 0.75rem;
    vertical-align: middle;
}

/* ── Blue header ── */
.blue-header {
    background: #2084DB;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ── Progress bar colours ── */
.progress-bar {
    background-color: #2084DB;
}

/* ── Code / monospace blocks ── */
pre.mb-0 {
    font-size: 0.8rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-all;
}
