/* ═══════════════════════════════════════════════════════════════════════════════
   Transfer Details (extends dashboard-premium)
   ═══════════════════════════════════════════════════════════════════════════════ */

.dash-detail-code {
    font-family: ui-monospace, 'SF Mono', monospace;
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--dash-accent-light);
    user-select: all;
}

.dash-detail-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .dash-detail-meta {
        grid-template-columns: repeat(3, 1fr);
    }
}

.dash-detail-field .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-500, #6c757d);
    margin-bottom: 0.2rem;
}

.dash-detail-field .value {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    word-break: break-word;
}

.dash-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
}

.dash-badge-status.active {
    background: rgba(40, 167, 69, 0.15);
    color: #4dd695;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.dash-badge-status.expired {
    background: rgba(220, 53, 69, 0.15);
    color: #ff6b7a;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.dash-badge-status.pending {
    background: rgba(255, 193, 7, 0.15);
    color: #ffd54f;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.dash-expiry-bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
    overflow: hidden;
    margin-top: 0.5rem;
}

.dash-expiry-fill {
    height: 100%;
    border-radius: 999px;
    transition: width 0.4s ease;
}

.dash-file-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: var(--dash-radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s, border-color 0.2s;
}

.dash-file-row:hover {
    background: rgba(10, 116, 218, 0.08);
    border-color: rgba(10, 116, 218, 0.2);
}

.dash-file-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.dash-file-icon.image { background: rgba(233, 30, 99, 0.12); color: #f48fb1; }
.dash-file-icon.video { background: rgba(156, 39, 176, 0.12); color: #ce93d8; }
.dash-file-icon.audio { background: rgba(3, 169, 244, 0.12); color: #4fc3f7; }
.dash-file-icon.document { background: rgba(33, 150, 243, 0.12); color: #64b5f6; }
.dash-file-icon.archive { background: rgba(255, 152, 0, 0.12); color: #ffb74d; }
.dash-file-icon.code { background: rgba(76, 175, 80, 0.12); color: #81c784; }
.dash-file-icon.default { background: rgba(158, 158, 158, 0.12); color: #bdbdbd; }

.dash-qr-box {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--dash-border);
    background: #fff;
    padding: 6px;
}

.dash-qr-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.dash-link-input {
    font-family: ui-monospace, monospace;
    font-size: 0.78rem !important;
    background: rgba(0, 31, 63, 0.45) !important;
    border: 1px solid var(--dash-border) !important;
    color: var(--dash-accent-light) !important;
}

.dash-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Hidden file input for quick upload */
#dashFileInput { display: none; }

.dash-upload-drop.has-files {
    border-color: var(--dash-accent);
    background: rgba(10, 116, 218, 0.12);
}

.dash-upload-picked {
    font-size: 0.8rem;
    color: var(--dash-accent-light);
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Auth login premium */
.auth-premium-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 1rem 0.75rem 2rem;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
    min-height: calc(100vh - var(--navbar-height, 58px) - 8rem);
}

.auth-premium-card {
    width: 100%;
    max-width: 380px;
    background: rgba(10, 18, 45, 0.55);
    backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(60, 120, 220, 0.14);
    border-radius: 16px;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
    padding: 1.5rem 1.35rem 1.35rem;
    animation: animate-in 0.4s ease both;
}

.auth-premium-logo {
    max-width: 96px;
    height: auto;
    margin: 0 auto 0.85rem;
    display: block;
    filter: drop-shadow(0 4px 14px rgba(10, 116, 218, 0.28));
}

.auth-premium-card .logo-cloud {
    display: flex;
    justify-content: center;
    margin-bottom: 0.85rem;
}

.auth-premium-card .logo-cloud img,
.auth-premium-card .cloud-logo-img {
    height: 56px;
    width: auto;
    max-width: 140px;
}

.auth-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: #c8daf0;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s, border-color 0.2s;
}

.auth-google-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
    color: rgba(200, 218, 240, 0.45);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.auth-premium-card .form-control,
.auth-premium-card .input-group-text {
    background: rgba(0, 31, 63, 0.45) !important;
    border-color: var(--dash-border) !important;
    color: #fff !important;
}

.auth-premium-card .form-control:focus {
    border-color: var(--dash-accent) !important;
    box-shadow: 0 0 0 3px rgba(10, 116, 218, 0.15) !important;
}

.auth-premium-card .btn-primary {
    background: linear-gradient(135deg, var(--dash-accent), var(--dash-accent-light)) !important;
    border: none !important;
    border-radius: 999px !important;
    font-weight: 600;
    padding: 0.65rem !important;
}

.auth-premium-card .text-center.mb-4 { margin-bottom: 1rem !important; }
.auth-premium-card .btn-lg { padding: 0.55rem 1rem !important; font-size: 1rem !important; }
