/* Styles for the "Add your YouTube video" modal (home / create flow). */

.modal-youtube-thumb-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    background-color: #E4E4E4;
    margin-bottom: 18px;
}
.modal-youtube-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.modal-youtube-loader {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.55);
}
.modal-youtube-spinner {
    width: 38px;
    height: 38px;
    border: 4px solid rgba(204, 0, 0, 0.25);
    border-top-color: #CC0000;
    border-radius: 50%;
    animation: modal-youtube-spin 0.8s linear infinite;
}
@keyframes modal-youtube-spin {
    to { transform: rotate(360deg); }
}
.modal-youtube-instruction {
    text-align: center;
    color: #0F133A;
    font-size: 15px;
    font-family: 'roboto-regular';
    margin-bottom: 12px;
}
.modal-youtube-link-row {
    width: 100%;
    margin-bottom: 8px;
}
.modal-youtube-input {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 20px;
    background: #E4E4E4;
    padding: 0 16px;
    font-size: 14px;
    font-family: 'roboto-regular';
    outline: none;
}
.modal-youtube-error {
    display: block;
    text-align: center;
    color: #CC0000;
    font-size: 14px;
    font-family: 'roboto-regular';
    margin-bottom: 12px;
}
#modal-youtube-create:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
