.modal {
    display: none;
    position: fixed;
    z-index: 150;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content {
    max-width: 700px;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 7% auto;
    border: 1px solid #888;
    width: 80%;
}
.modal-content label {
    display: block;
    margin-bottom: 8px;
    color: #555;
}
.modal-content input, button, textarea {
    width: 100%;
    padding: 10px;
    margin: 0 0 15px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}
.modal-content input:focus, textarea:focus {
    border-color: #ffc479;
    outline: none;
}
.modal-content button {
    background-color: #ffc479;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}
.modal-content button:hover {
    background-color: #fcd29d;
}
.modal-content pre {
    color: #FFFFFF;
    padding: 10px;
    border-radius: 5px;
    overflow: auto;
    font-size: 14px;
    white-space: pre-wrap; /* РџРѕР·РІРѕР»СЏРµС‚ РїРµСЂРµРЅРѕСЃРёС‚СЊ СЃС‚СЂРѕРєРё */
}

button.api-request-modal-btn{
    width: 50%;
    padding: 5px;
}

@media (max-width: 600px) {
    .modal-content {
        padding: 15px;
    }
    .modal-content button {
        font-size: 14px;
    }
    .modal-content pre {
        font-size: 12px;
    }
}