/* Estilos para la pantalla de carga de YouTube */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #f1f1f1;
    background-color: #000000;
    line-height: 1.4;
    height: 100vh;
    overflow: hidden;
}

.youtube-loading-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 500px;
    padding: 20px;
}

.youtube-logo {
    margin-bottom: 40px;
    width: 240px;
    height: auto;
}

.youtube-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 0, 0, 0.2);
    border-radius: 50%;
    border-top-color: #ff0000;
    animation: spin 1s linear infinite;
    margin-bottom: 30px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    margin-bottom: 40px;
}

.loading-text p {
    font-size: 18px;
    margin-bottom: 8px;
}

#loading-subtitle {
    font-size: 14px;
    color: #aaaaaa;
}

.retry-button {
    background-color: #ff0000;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.retry-button:hover {
    background-color: #cc0000;
}

.location-notice {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.location-notice p {
    font-size: 16px;
    margin-right: 15px;
}

.notice-icon svg {
    width: 24px;
    height: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .loading-content {
        padding: 15px;
    }
    
    .youtube-logo {
        width: 200px;
    }
    
    .loading-spinner {
        width: 50px;
        height: 50px;
    }
    
    .loading-text p {
        font-size: 16px;
    }
    
    #loading-subtitle {
        font-size: 13px;
    }
    
    .location-notice {
        flex-direction: column;
        text-align: center;
    }
    
    .location-notice p {
        margin-right: 0;
        margin-bottom: 10px;
    }
}