#vpp-video-form {
    margin-bottom: 20px;
}

#vpp-video-list {
    margin-top: 20px;
}

.vpp-videos iframe {
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
}
.vp-video-item {
    display: flex;
    flex-wrap: wrap; /* Ensures flexibility on smaller screens */
    justify-content: space-between; /* Spreads items evenly */
    align-items: center; /* Vertically centers items */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 10px;
    background-color: #ffffff;
}

.vp-video-item span,
.vp-video-item p,
.vp-video-item button {
    margin-right: 15px;
}

.video-title {
    font-weight: bold;
    flex: 1 1 auto; /* Allows the title to grow or shrink */
}

.video-type,
.video-link {
    flex: 0 1 150px; /* Limits the size of the type and link info */
}

.vp-edit-video-btn,
.vp-delete-video-btn {
    flex: 0 1 auto;
    padding: 5px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
}

.vp-delete-video-btn {
    background-color: #dc3545; /* Red color for delete button */
}

/* Responsive design: Stack elements on smaller screens */
@media (max-width: 768px) {
    .vp-video-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .vp-video-item span,
    .vp-video-item p,
    .vp-video-item button {
        margin-right: 0;
        margin-bottom: 10px;
        flex: 1 1 100%;
    }

    .vp-edit-video-btn,
    .vp-delete-video-btn {
        align-self: flex-end; /* Align buttons at the end */
    }
}



.um-row .vp-edit-video-btn,.um-row .vp-delete-video-btn{
    width: auto !important;
    background-color: #00000000 !important;
    padding: 0px;
    margin: 0px;
    border: 0px;
    color:#ED1C24;
}

.um-row .vp-edit-video-btn:hover,.um-row .vp-delete-video-btn:hover{
    width: auto !important;
    background-color: #00000000 !important;
    padding: 0px;
    margin: 0px;
    border: 0px;
    color:#ED1C24;
}



.um-row .vp-save-edit-btn,.um-row .vp-cancel-edit-btn {
    width: auto !important;
    background-color: #00000000 !important;
    padding: 0px;
    margin: 0px;
    border: 0px;
    color:#ED1C24;
}

.um-row .vp-save-edit-btn:hover,.um-row .vp-cancel-edit-btn:hover {
    width: auto !important;
    background-color: #00000000 !important;
    padding: 0px;
    margin: 0px;
    border: 0px;
    color:#ED1C24;
}

#vp-video-inputs button {
    background-color: #fff !important;
    width: auto;
    padding: 10px;
    margin: 0px;
}
#vp-video-inputs button:hover {
    color: #ED1C24 !important;
}
#vp-video-form button {
    width: auto;
    padding: 10px 20px;
    margin: 0px;
}









