/* Reuse the same visual language as nabor.css while keeping this plugin self-contained */

/* Container */
.cnp-nabor .wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 24px;
}

.cnp-nabor {
    padding-bottom: 2em;
}

/* Hero */
.cnp-hero {
    background: #f5f7fb;
    border-bottom: 1px solid #e5e7eb;
}

.cnp-hero h1 {
    box-sizing: border-box;
    display: block;
    width: 100%;
    margin: 8px 0 16px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 40px;
    line-height: 48px;
    font-weight: 500;
    color: rgb(51, 51, 51);
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    unicode-bidi: isolate;
}

/* Documents list */
.cdp-doc-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cdp-doc {
    display: inline-flex;
    align-items: center;
    /* centers icon relative to text block */
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    /* allow long titles to wrap under icon */
    text-align: center;
    word-break: break-word;
    text-decoration: none;
    color: #111827;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 18px;
    max-width: 900px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.cdp-doc:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.cdp-doc__name {
    font-size: 20px;
    font-weight: 700;
    color: #263A89;
    /* brand */
}

.cdp-doc__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.cdp-doc--expired .cdp-doc__name {
    text-decoration: line-through;
    text-decoration-color: #ef4444;
    /* red-500 */
    text-decoration-thickness: 3px;
    /* thicker red line */
    color: inherit;
    /* keep original text color */
}

/* Grouping */
.cdp-group {
    margin-top: 32px;
}

.cdp-group-title {
    text-align: center;
    color: #263A89;
    font-weight: 800;
    font-size: 24px;
    margin: 8px 0 8px;
}