.button-yt-import{
    background-color: #00bcd4!important;
    color: #fff!important;
}

.button-yt-import.btn-success{
    background: #8bc34a !important;
    opacity: .8!important;
}

.button-yt-import .spinner {
    position: relative !important;
    transform: none !important;
    left: auto !important;
    display: none;
}

.button-yt-import.running .spinner {
    visibility: visible;
    display: block;
}

.yt-settings-table .regular-text {
    width: 100%;
}

#yt-search-results {
    min-height: 100px;
    position: relative;
}

#yt-search-results .spinner {
    position: absolute;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    z-index: 2;
}

#yt-search-results.searching:after {
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: #ddd;
    opacity: .4;
}

#yt-search-results.searching .spinner {
    visibility: visible;
}

#yt-search-results .api-error {
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
    font-size: .9rem;
    color: #d63638;
    max-width: 400px;
    overflow-wrap: break-word;
    word-wrap: break-word;
    -ms-word-break: break-all;
    word-break: break-all;
    word-break: break-word;
}

.yt-video-list {
    border: 1px solid #dddcdc;
    padding: 1rem;
}

.yt-video-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ddd;
    align-items: flex-start;
}

.yt-video-list li .yt-cb {
    padding: 1rem;
}

.yt-video-list li img {
    max-width: 120px;
    height: auto;
    margin-right: 1rem;
}

.yt-video-list li h3 {
    margin-top: 0;
    line-height: 1;
}

.yt-video-list li h3 a {
    font-size: 1rem;
    text-decoration: none;
}

div#yt-search-results .yt-content {
    flex: 1 1 auto !important;
    max-width: 70%;
}

div#yt-search-results .yt-button {
    margin-left: auto;
}

div#yt-search-results .yt-button .spinner {
    width: 20px;
    height: 20px;
    margin: 0;
    margin-left: .5rem;
    padding: 0;
}

div#yt-imported-videos .yt-video-list li {
    align-items: start;
}

div#yt-imported-videos .yt-video-list img {
    max-width: 80px;
}

div#yt-imported-videos .yt-video-list h3 a {
    font-size: 1rem;
}