/* ----------------------------------
   SEARCH WRAPPER (CENTERED)
---------------------------------- */
.rcp-search-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 25px;
    text-align: center;
}

/* TITLE */
.rcp-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 25px;
}

/* ----------------------------------
   SEARCH INPUT
---------------------------------- */
.rcp-search-box {
    position: relative;
}

#rcp-search-input {
    width: 100%;
    padding: 16px 18px;
    font-size: 16px;
    border-radius: 14px;
    border: none;
    background: #f3f4f6;
    outline: none;
}

/* SEARCH BUTTON */
#rcp-search-btn {
    width: 100%;
    margin-top: 14px;
    padding: 14px;
    background: #f7931e;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

#rcp-search-btn:hover {
    background: #e88415;
}

/* ----------------------------------
   SUGGESTIONS (LIKE BIB SEARCH)
---------------------------------- */
#rcp-suggestions {
    list-style: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 6px 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    z-index: 9999;
    display: none;
    max-height: 180px;   /* 🔽 reduced height */
    overflow-y: auto;
}

#rcp-suggestions li {
    padding: 8px 14px;   /* 🔽 tighter rows */
    cursor: pointer;
    font-size: 14px;     /* 🔽 smaller text */
    line-height: 1.4;
}

#rcp-suggestions li:hover {
    background: #f2f2f2;
}


/* ----------------------------------
   MESSAGE
---------------------------------- */
#rcp-search-message {
    margin-top: 12px;
    color: red;
}

/* ----------------------------------
   RESULT CARD – CLEAN & LIGHT
---------------------------------- */
#rcp-result-card {
    margin-top: 18px;
    padding: 18px 16px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    text-align: center;
}

/* RESULT TEXT */
#rcp-result-card p {
    margin: 4px 0;
    font-size: 14.5px;
    color: #333;
}

/* LABELS BOLD BUT SOFT */
#rcp-result-card strong {
    font-weight: 600;
    color: #555;
}

/* DOWNLOAD BUTTON – ATTACHED FEEL */
#rcp-download-btn {
    margin-top: 14px;
    padding: 11px 20px;
    background: #1f5eff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

#rcp-download-btn:hover {
    background: #1746c7;
}


/* ----------------------------------
   RESULT CARD – PARTICIPANT STYLE
---------------------------------- */
.rcp-result-title {
    text-align: left;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 14px;
    color: #222;
}

.rcp-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
    text-align: left;
}

.rcp-result-grid span {
    font-size: 13px;
    color: #777;
}

.rcp-result-grid strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #000;
}

/* Button alignment */
#rcp-download-btn {
    margin-top: 18px;
    display: inline-block;
}


/* Force LEFT alignment for suggestion items (like BIB search) */
#rcp-suggestions,
#rcp-suggestions li {
    text-align: left;
}



