/* Main Container */
.yt-downloader-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header */
.yt-downloader-header {
    text-align: center;
    margin-bottom: 30px;
}

.yt-downloader-header h2 {
    color: #ff0000;
    margin-bottom: 10px;
}

.yt-downloader-header p {
    color: #666;
    font-size: 16px;
}

/* Input Group */
.yt-input-group {
    display: flex;
    margin-bottom: 20px;
}

.yt-input-group input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px 0 0 5px;
    font-size: 16px;
}

.yt-input-group button {
    padding: 12px 20px;
    background: #ff0000;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.yt-input-group button:hover {
    background: #cc0000;
}

/* Video Preview */
.yt-video-preview {
    margin-top: 30px;
}

.yt-video-thumbnail {
    margin-bottom: 20px;
    text-align: center;
}

.yt-video-thumbnail img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.yt-video-thumbnail h3 {
    margin-top: 15px;
    color: #333;
}

/* Download Options */
.yt-download-options {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.yt-download-options h4 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.yt-quality-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: #fff;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.yt-quality-option:last-child {
    margin-bottom: 0;
}

.yt-quality-option span {
    font-weight: 600;
    color: #555;
}

.yt-download-btn {
    padding: 8px 15px;
    background: #ff0000;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.yt-download-btn:hover {
    background: #cc0000;
    transform: translateY(-2px);
}

/* Error Message */
.yt-error {
    padding: 15px;
    background: #fff3f3;
    border-left: 4px solid #ff0000;
    color: #ff0000;
    text-align: center;
}

.yt-error i {
    font-size: 24px;
    margin-bottom: 10px;
}

/* Icons */
.fas {
    margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .yt-downloader-container {
        padding: 20px;
    }
    
    .yt-input-group {
        flex-direction: column;
    }
    
    .yt-input-group input {
        border-radius: 5px;
        margin-bottom: 10px;
    }
    
    .yt-input-group button {
        border-radius: 5px;
    }
    
    .yt-quality-option {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}