.espdf-form {
    max-width: 760px;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0,0,0,.05);
}
.espdf-field { margin-bottom: 20px; }
.espdf-field label { display:block; font-weight:600; margin-bottom:8px; }
.espdf-field label span { color:#d63638; }
.espdf-field input[type="text"],
.espdf-field input[type="file"] {
    width:100%;
    box-sizing:border-box;
    padding:11px 12px;
    border:1px solid #cbd5e1;
    border-radius:7px;
    background:#fff;
}
.espdf-field small { display:block; margin-top:7px; color:#64748b; }
.espdf-submit, .espdf-pdf-button {
    display:inline-block;
    border:0;
    border-radius:7px;
    padding:10px 16px;
    background:#2271b1;
    color:#fff !important;
    text-decoration:none;
    cursor:pointer;
    font-size:14px;
}
.espdf-submit:hover, .espdf-pdf-button:hover { opacity:.9; }

.espdf-file-list { margin:10px 0 18px; }
.espdf-file-row {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:6px 9px;
    background:#f8fafc;
    border-radius:5px;
    margin:4px 0;
}
.espdf-file-remove {
    border:0;
    background:transparent;
    color:#991b1b;
    font-size:18px;
    line-height:1;
    cursor:pointer;
    padding:0 4px;
}

.espdf-existing-pdfs { display:grid; gap:8px; margin-top:6px; }
.espdf-existing-pdf {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    font-weight:400 !important;
    padding:10px 12px;
    background:#f8fafc;
    border:1px solid #eef2f7;
    border-radius:7px;
}
.espdf-existing-pdf input[type="checkbox"] { width:auto; }
.espdf-remove-label { color:#92400e; font-size:12px; }

.espdf-notice { padding:12px 15px; border-radius:7px; margin-bottom:18px; }
.espdf-success { background:#ecfdf3; color:#166534; }
.espdf-error { background:#fef2f2; color:#991b1b; }
.espdf-warning { background:#fffbeb; color:#92400e; }

.espdf-schedules { display:grid; gap:20px; }
.espdf-card { border:1px solid #e5e7eb; border-radius:12px; padding:20px; background:#fff; }
.espdf-card-head {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:15px;
}
.espdf-title { margin:0; }
.espdf-manage-actions { display:flex; align-items:center; gap:12px; }
.espdf-manage-link {
    background:none;
    border:0;
    padding:0;
    color:#2271b1;
    text-decoration:underline;
    cursor:pointer;
    font-size:13px;
}
.espdf-manage-link:hover { opacity:.8; }
.espdf-delete-link { color:#991b1b; }
.espdf-delete-form { display:inline; margin:0; }

.espdf-pdfs { display:grid; gap:10px; }
.espdf-pdf-item {
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    padding:12px;
    border:1px solid #eef2f7;
    border-radius:8px;
    background:#f8fafc;
}
.espdf-pdf-name { flex:1 1 250px; font-weight:500; }
.espdf-pdf-button.secondary { background:#475569; }
.espdf-empty { padding:18px; background:#f8fafc; border-radius:8px; }

.espdf-pagination {
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin-top:20px;
}
.espdf-pagination .page-numbers {
    display:inline-block;
    padding:7px 12px;
    border:1px solid #e5e7eb;
    border-radius:6px;
    text-decoration:none;
    color:#1f2937;
}
.espdf-pagination .page-numbers.current {
    background:#2271b1;
    border-color:#2271b1;
    color:#fff;
}
