/* Container */
.rdj-request-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff6b;
    border-radius: 8px;
    font-family: inherit;
    box-sizing: border-box;
}

/* Header */
.request-header h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5em;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
}

/* Inputs */
.request-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
    background-color: #ffffff7d;
}

.search-wrapper {
    position: relative;
}

.clear-search-btn {
    position: absolute;
    right: 10px;
    top: calc( 50% - 5px );
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #999;
    line-height: 1;
    padding: 5px;
}

.clear-search-btn:hover {
    color: #333;
}

/* Results Area */
.request-results {
    margin-top: 10px;
    max-height: 565px;
    overflow-y: auto;
    border: 1px solid #eee;
    background: #ffffff7d;
    border-radius: 4px;
}

.request-results p {
    margin: 10px;
}

.request-hint {
    padding: 15px;
    color: #777;
    text-align: center;
    font-style: italic;
    margin: 0;
}

/* Result Items */
.request-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
}

.request-item:last-child {
    border-bottom: none;
}

.request-item:hover {
    background: #fff;
}

.request-art {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 15px;
    background: #ddd;
}

.request-info {
    flex: 1;
    overflow: hidden;
}

.request-title {
    font-weight: bold;
    margin-bottom: 4px;
}

.request-artist {
    font-size: 0.9em;
    opacity: 0.8;
}

.request-title,
.request-artist {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.1rem;
    line-height: 1.25rem;
}

.request-duration {
    font-size: 0.85em;
    color: #888;
    margin-left: 10px;
    white-space: nowrap;
}

/* Buttons */
.request-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    gap: 10px;
}

.request-btn {
    border-radius: 10px;
    border: none;
    background: #38adca;
    color: white;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
}

/* Status Messages */
.request-status {
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
}