/* Fix for black background issue in download section */

/* Ensure download section has proper background and text colors */
.download-section,
.video-info,
.download-options,
.format-selection {
    background-color: #ffffff !important;
    color: #333333 !important;
}

/* Fix for any dark backgrounds in the main content area */
.main-content,
.content-wrapper,
.download-container {
    background-color: #ffffff !important;
    color: #333333 !important;
}

/* Ensure buttons and links are visible */
.download-button,
.get-link-button,
button[type="submit"] {
    background-color: #fd0054 !important;
    color: #ffffff !important;
    border: none !important;
}

/* Fix for any elements with black or dark backgrounds */
[style*="background: black"],
[style*="background-color: black"],
[style*="background: #000"],
[style*="background-color: #000"] {
    background-color: #ffffff !important;
    color: #333333 !important;
}

/* Ensure text is readable on all backgrounds */
.text-white {
    color: #333333 !important;
}

/* Fix for dropdown menus and select elements */
select,
.dropdown,
.format-dropdown {
    background-color: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #cccccc !important;
}

/* Fix for any overlay or modal elements */
.overlay,
.modal,
.popup {
    background-color: rgba(255, 255, 255, 0.95) !important;
    color: #333333 !important;
}

/* Ensure all text elements are visible */
p, span, div, h1, h2, h3, h4, h5, h6 {
    color: inherit !important;
}

/* Fix for video thumbnail and info area */
.video-thumbnail,
.video-details,
.video-title {
    background-color: #f8f9fa !important;
    color: #333333 !important;
    padding: 10px;
    border-radius: 5px;
}

/* Ensure proper contrast for all interactive elements */
input, textarea {
    background-color: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #cccccc !important;
}

/* Fix for any cards or containers */
.card, .container, .wrapper {
    background-color: #ffffff !important;
    color: #333333 !important;
}