/* =========================
   WRAPPER
========================= */
.mdp-wrap {
    max-width: 800px !important;
    margin: 60px auto !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* =========================
   DRAG & DROP PILL (LARGE)
========================= */
.mdp-wrap .mdp-drop-pill {
    cursor: pointer !important;
    border: 2px dashed transparent !important;
    background: #e0e0e0 !important;
    border-radius: 24px !important;
    padding: 40px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-size: 20px !important;
    color: #555 !important;
    font-weight: 500 !important;
    min-height: 120px !important;
    transition: background 0.2s, border-color 0.2s !important;
}

.mdp-wrap .mdp-drop-pill.mdp-dragover {
    border-color: #000 !important;
    background: #dcdcdc !important;
}

.mdp-wrap .mdp-drop-pill:hover {
    background: #dcdcdc !important;
}

.mdp-wrap .mdp-drop-text {
    pointer-events: none !important;
}

/* =========================
   DESCRIPTION + UPLOAD PILL
========================= */
.mdp-wrap .mdp-meta-pill {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    background: #f5f5f5 !important;
    border-radius: 16px !important;
    padding: 20px 24px !important;
    margin-bottom: 16px !important;
}

/* Description input */
.mdp-wrap .mdp-desc-input {
    flex: 1 !important;
    border: none !important;
    background: transparent !important;
    font-size: 18px !important;
    padding: 12px 16px !important;
    outline: none !important;
}

/* =========================
   UPLOAD BUTTON (DUK-style but unique)
========================= */
.mdp-wrap .mdp-upload-btn {
    border: none !important;
    background: #000 !important;        /* black background */
    color: #fff !important;             /* white text */
    border-radius: 12px !important;
    padding: 12px 20px !important;
    font-size: 18px !important;
    cursor: pointer !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.mdp-wrap .mdp-upload-btn:hover {
    opacity: 0.85 !important;
}

/* =========================
   FEEDBACK
========================= */
.mdp-wrap .mdp-feedback {
    margin-top: 10px !important;
    font-weight: 500 !important;
    font-size: 16px !important;
}

/* =========================
   DOCUMENT GRID
========================= */
.mdp-wrap .mdp-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
    gap: 20px !important;
    margin-top: 40px !important;
}

/* Document card */
.mdp-wrap .mdp-item {
    background: #fff !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 14px !important;
    padding: 16px !important;
    text-align: center !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.mdp-wrap .mdp-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08) !important;
}

/* File icon */
.mdp-wrap .mdp-item img {
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 10px !important;
}

/* Title */
.mdp-wrap .mdp-item strong {
    display: block !important;
    font-size: 15px !important;
    margin-bottom: 6px !important;
}

/* Description */
.mdp-wrap .mdp-item p {
    font-size: 14px !important;
    opacity: 0.75 !important;
    margin-bottom: 10px !important;
}

/* Download link */
.mdp-wrap .mdp-item a {
    display: inline-block !important;
    padding: 8px 14px !important;
    background: #06D6A0 !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    text-decoration: none !important;
}

.mdp-wrap .mdp-item a:hover {
    opacity: 0.9 !important;
}
