/*
Theme Name: aiodl-default Child
Theme URI: http://example.com/
Description: Child theme for aiodl-default
Author: Your Name
Author URI: http://example.com/
Template: aiodl-default
Version: 1.0.0
*/

/* Import parent theme styles */
@import url("../aiodl-default/style.css");
.bar {
    padding: 20px 0 0 0 !important;
    justify-content: start;
    align-items: start;
}
body .download-links .btn-dl {
    width: 8rem !important;
}
.progress-container {
    width: 100%;
    height: 20px;
    background: #ffffff !important;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 !important;
    position: relative;
}
.progress-completed {
    height: 16px;
    background: #083bef !important;
    border-radius: 8px;
    transition: width 0.3s ease;
}

.progressGap1 {
    width: 5px !important;
    height: 16px !important;
    background: white !important;
    position: unset !important;
}

.progress-remaining {
    flex: 1;
    height: 16px;
    background: rgb(164, 163, 163) !important;
    border-radius: 8px;
}
.final-download-btn {
    background-color: #ff0000 !important;
}
.final-download-btn:hover {
    background-color: #000000 !important;
}

.btn.home-btn , .final-download-btn {
    background-color: #0044ff; 
    color: #fff;
    font-family: Arial, sans-serif;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    padding: 20px 30px;
    width: 200px;
    text-align: center;
    cursor: pointer;
}

.btn.home-btn:hover , .final-download-btn:hover {
    background-color: #0033cc;
    color: #fff;
}
.final-download-btn {
    display: block;
    margin: 20px auto !important;
}

h2.yt-heading {
    text-align: center;
    margin-bottom: 30px;
}
a[quality=M4A] {
    background: black;
    border-color: black;
}
a[quality=M4A]:hover {
    background: #222;
    border-color: #222;
}
.result-container {
    max-width: 850px;
    margin: 0 auto !important;
}
.progress-static {
    position: absolute;
    top: -20px !important;
    left: 0;
    color: #222;
    font-weight: bold;
    pointer-events: none;
    z-index: 2;
    transition: left 0.3s ease;
}



@media (max-width: 768px) {
    .hide-mobile-1080p {
        display: none !important;
    }
    #downloadBtn, #pasteBtn {
        margin-right: 0 !important;
    }
    div#links {
        padding-top: 20px;
    }
}

@media (min-width: 310px) and (max-width: 400px) {
    .downloadbutton {
        display: flex ;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
    }
    .download-links a {
        flex: 0 0 48% !important;
        margin: 5px 2px !important;
        box-sizing: border-box !important;
        max-width: 48% !important;
        min-width: 0 !important;
    }
}

@media (min-width: 315px) and (max-width: 768px) {
    .download-links {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    .download-links a {
        margin: 5px 10px;
    }
}

.dropdown-item img {
    margin-right: 10px;
}
