
#rrvRequestWindow[hidden] {
    display: none !important;
}

#rrvRequestWindow {
    position: fixed;
    top: 120px;
    left: 80px;
    width: 440px;
    height: 650px;
    min-width: min(300px, 95vw);
    min-height: 45px;
    max-width: 95vw;
    max-height: 85vh;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background: #111;
    color: #eee;
    border: 1px solid #c5a332;
    border-radius: 9px;
    box-shadow: 0 8px 35px #000a;
    resize: both;
    overflow: hidden;
}

#rrvRequestHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    padding: 8px 10px;
    background: #29251a;
    color: #ffd700;
    cursor: move;
    user-select: none;
    touch-action: none;
}

#rrvRequestHeader strong {
    font-size: 13px;
}

#rrvRequestHeader button {
    cursor: pointer;
    padding: 4px 9px;
}

#rrvRequestBody {
    padding: 12px;
    overflow-y: auto;
    min-height: 0;
    flex: 1;
}

#rrvRequestBody label {
    display: block;
    margin: 8px 0 4px;
    font-size: 12px;
    color: #ffd700;
}

#rrvRequestBody input,
#rrvRequestBody textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    background: #080808;
    color: #eee;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 14px;
}

#rrvRequestResults {
    height: 135px;
    overflow-y: auto;
    margin: 8px 0;
    padding: 5px;
    background: #080808;
    border: 1px solid #333;
    border-radius: 5px;
    font-size: 12px;
}

#rrvRequestResults button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 7px;
    margin-bottom: 3px;
    background: #222;
    color: #eee;
}

#rrvRequestResults button:hover {
    background: #51451b;
    color: #ffd700;
}

#rrvRequestPages {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
}

#rrvRequestSend {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: #ffd700;
    color: #000;
    font-weight: bold;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
}

#rrvRequestStatus {
    font-size: 12px;
    color: #ffd700;
    overflow-wrap: anywhere;
}

#rrvRequestWindow.rrv-minimized {
    height: auto !important;
    min-height: 0;
    resize: none;
}

#rrvRequestWindow.rrv-minimized #rrvRequestBody {
    display: none;
}


#rrvRequestWindow #rrvRequestSend {
    background: #ffd700 !important;
    color: #080808 !important;
    border: 1px solid #c5a332 !important;
}

#rrvRequestWindow #rrvRequestSend:hover {
    background: #ffe65c !important;
}

#rrvRequestWindow #rrvRequestSend:disabled {
    opacity: 0.5;
    cursor: wait;
}

#rrvRequestPages button:disabled {
    opacity: 0.35;
    cursor: default;
}

#rrvRequestResults {
    height: 100px;
}

#rrvRequestStatus {
    color: #71ed8b;
    font-weight: bold;
}

