/* ===============================
   VIDEO DOWNLOADER PAGE STYLE
=============================== */

/* Container */
.mh-downloader {
    max-width: 900px;
    margin: 25px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    font-family: 'Figtree', sans-serif;
}

/* Title */
.mh-downloader .downloader-title {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #301934;
}

/* Input + Button */
.mh-downloader .downloader-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.mh-downloader input#urlInput {
    flex: 1 1 300px;
    padding: 10px;
    font-size: 16px;
    border: 2px solid #301934;
    border-radius: 5px;
    font-weight: 600;
}

.mh-downloader button {
    padding: 12px 20px;
    background: #301934;
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.mh-downloader button:hover {
    background: #000;
}

/* Status message */
#statusMessage {
    display: none;
    text-align: center;
    margin: 10px auto;
    padding: 12px;
    background: #b00200;
    color: #fff;
    font-weight: 600;
    border-radius: 5px;
}

/* Loader */
#loader {
    display: none;
    text-align: center;
    margin: 10px auto;
    font-weight: 600;
    color: #301934;
}

/* Video preview */
#videoContainer {
    display: none;
    margin: 20px auto;
    width: 100%;
    max-width: 720px;
}

#videoContainer iframe {
    width: 100%;
    height: 250px;
    border: 0;
}

#videoTitle {
    display: none;
    text-align: center;
    font-weight: 700;
    margin-top: 10px;
    font-size: 18px;
    color: #301934;
}

/* Server table */
#processedLinks {
    width: 90%;
    margin: 15px auto;
    border-collapse: collapse;
    font-weight: 600;
}

#processedLinks th, #processedLinks td {
    border: 1px solid #301934;
    padding: 8px;
    text-align: center;
}

#processedLinks th {
    background: #301934;
    color: #fff;
}

#processedLinks td a {
    display: inline-block;
    padding: 6px 12px;
    background: #301934;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

#processedLinks td a:hover {
    background: #000;
}

/* Responsive */
@media only screen and (max-width: 600px) {
    .mh-downloader .downloader-box {
        flex-direction: column;
        gap: 8px;
    }

    #videoContainer iframe {
        height: 200px;
    }
}
