/*
   Tribute pages are intentionally transparent so the active theme's
   homepage/background styling can show through.
*/

.rbm-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

.rbm-form-card,
.rbm-room,
.rbm-card,
.rbm-empty {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(229, 220, 251, 0.95);
    border-radius: 22px;
    box-shadow: 0 12px 36px rgba(65, 36, 130, 0.12);
    backdrop-filter: blur(2px);
}

.rbm-form-card,
.rbm-room,
.rbm-empty {
    padding: 28px;
}

.rbm-room-list {
    display: grid;
    gap: 22px;
    margin-top: 24px;
}

.rbm-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #efe9ff;
    color: #5f42d8;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rbm-form-card h1,
.rbm-room h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    line-height: 1.1;
    color: #2f2447;
}

.rbm-lead {
    margin: 0 0 24px;
    color: #6e5f8d;
    line-height: 1.7;
    font-size: 1.05rem;
}

.rbm-grid {
    display: grid;
    gap: 18px;
}

.rbm-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rbm-form p {
    margin: 0 0 18px;
}

.rbm-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2f2447;
}

.rbm-form input[type="text"],
.rbm-form input[type="email"],
.rbm-form input[type="date"],
.rbm-form input[type="file"],
.rbm-form textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #d9cff7;
    border-radius: 14px;
    box-sizing: border-box;
    font-size: 16px;
    background: #fff;
    color: #2f2447;
}

.rbm-form textarea {
    resize: vertical;
    min-height: 180px;
}

.rbm-button {
    background: #7c5cff;
    color: #fff;
    border: 0;
    border-radius: 14px;
    padding: 14px 22px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
}

.rbm-button:hover {
    background: #5f42d8;
}

.rbm-button-secondary {
    background: #6e5f8d;
}

.rbm-button-secondary:hover {
    background: #584a75;
}

.rbm-message {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 18px;
}

.rbm-success {
    background: #ecfdf3;
    color: #166534;
}

.rbm-error {
    background: #fef2f2;
    color: #991b1b;
}

.rbm-warning {
    background: #fff8e6;
    color: #8a5a00;
    border: 1px solid #f3d38a;
}

.rbm-duplicate-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.rbm-card {
    overflow: hidden;
}

.rbm-card-inner {
    display: grid;
    grid-template-columns: 290px 1fr;
}

.rbm-image {
    background: #f4efff;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rbm-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.rbm-no-image {
    padding: 40px 20px;
    text-align: center;
    color: #6e5f8d;
}

.rbm-content {
    padding: 24px;
}

.rbm-content h2 {
    margin: 0 0 16px;
    font-size: 1.9rem;
    color: #2f2447;
}

.rbm-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    margin-bottom: 18px;
}

.rbm-meta-grid > div {
    background: #faf8ff;
    border: 1px solid #eee7ff;
    border-radius: 14px;
    padding: 12px 14px;
    color: #2f2447;
}

.rbm-meta-label {
    display: block;
    color: #6e5f8d;
    font-size: 0.82rem;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rbm-text {
    color: #2f2447;
    line-height: 1.8;
    font-size: 1.02rem;
}

.rbm-message-link a {
    color: #5f42d8;
    font-weight: 700;
    text-decoration: none;
}

.rbm-message-link a:hover {
    text-decoration: underline;
}

.rbm-empty {
    color: #6e5f8d;
    text-align: center;
    margin-top: 24px;
}

.rbm-char-counter {
    display: block;
    margin-top: 8px;
    color: #6e5f8d;
    font-size: 0.92rem;
}

.rbm-honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 840px) {
    .rbm-card-inner,
    .rbm-grid-2,
    .rbm-meta-grid {
        grid-template-columns: 1fr;
    }
}