/* Endpoint API Modal */
#endpointModal .modal-content {
    max-width: 500px;
    width: 90%; 
    margin: 20px auto;
}

#endpointModal .modal-title-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

#endpointModal .modal-title-icon {
    font-size: 20px;
    color: #000000;
}

#endpointModal .endpoint-form {
    padding: 0 20px;
}

#endpointModal .form-group {
    margin-bottom: 20px;
}

#endpointModal .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#endpointModal .checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

#endpointModal label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

#endpointModal input,
#endpointModal select,
#endpointModal textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#endpointModal input[type="checkbox"] {
    width: auto;
}

#endpointModal #endpointSubmitBtn {
    width: 100%;
    padding: 10px;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

#endpointModal #endpointSubmitBtn:hover {
    background: #357abd;
}

#endpointModal .endpoint-output {
    padding: 20px;
    text-align: center;
}

#endpointModal .endpoint-output img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 4px;
}

#endpointModal .endpoint-output audio {
    width: 100%;
    margin-top: 15px;
}

#endpointModal .endpoint-loading {
    text-align: center;
    padding: 40px 20px;
}

#endpointModal .spinner {
    margin: 0 auto 20px;
}

.endpointModal-button {
    padding: 8px 16px;
    color: #000000;
    background-color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.endpointModal-button:hover {
    color: #097BFA;
    background-color: #ffffff;
}

.endpointModal-button i {
    font-size: 14px;
}

.endpointModal-button-text {
    margin-left: 8px;
}
