.blockbuster-user-rentals {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
}

.blockbuster-user-rentals th, .blockbuster-user-rentals td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #eaeaea;
}

.blockbuster-user-rentals th {
    font-weight: bold;
    background-color: #f9f9f9;
}

#rental-history-search {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Edit Rental Modal */
.bb-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bb-modal-box {
    background: #fff;
    border-radius: 6px;
    padding: 28px 32px;
    min-width: 420px;
    max-width: 560px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0,0,0,0.22);
}

.bb-modal-box h3 {
    margin: 0 0 4px;
    font-size: 1.2em;
}

.bb-modal-subtitle {
    margin: 0 0 18px;
    color: #666;
    font-style: italic;
}

.bb-modal-fields {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
}

.bb-modal-fields th,
.bb-modal-fields td {
    padding: 7px 8px;
    vertical-align: middle;
    border: none;
    background: none;
    font-weight: normal;
}

.bb-modal-fields th {
    width: 38%;
    text-align: right;
    padding-right: 14px;
    color: #444;
    font-weight: 600;
}

.bb-modal-fields input,
.bb-modal-fields select,
.bb-modal-fields textarea {
    width: 100%;
    box-sizing: border-box;
}

.bb-modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.bb-modal-msg {
    font-size: 0.92em;
    margin-left: 4px;
}

.bb-msg-success { color: #1e7e34; font-weight: 600; }
.bb-msg-error   { color: #c0392b; font-weight: 600; }

.bb-edit-rental-btn {
    white-space: nowrap;
}
