@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@500&display=swap');

body {
    font-family: 'Rubik', sans-serif;
    background: linear-gradient(to right, #1e3c72, #2a5298);
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.container {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    width: 80%;
    max-width: 600px;
    margin-top: 20px;
}

h1 {
    font-size: 38px;
    color: #ffcc00;
    text-shadow: 2px 2px 8px rgba(255, 255, 255, 0.3);
    margin-top: 0px;
}

/* ✅ Input field + Button (restoring original styles) */
.input-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

input {
    width: 70%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
}

button {
    background: #ffcc00;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: 0.3s;
}

button:hover {
    background: #ffaa00;
}

/* ✅ Restore visible console with black background & green text */
#progress {
    background: black;
    color: #00ff00; /* Green text */
    padding: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
    max-width: 80%;
    min-height: 330px;
    overflow-y: auto;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0px 2px 8px rgba(255, 255, 255, 0.2);
    display: block; /* ✅ KEEP THIS VISIBLE */
}

/* ✅ Console log text */
.log-line {
    white-space: pre-wrap;
    font-size: 13px;
    font-family: monospace;
}

/* ✅ Information banner */
.info-banner {
    background: rgba(255, 204, 0, 0.2);
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: left;
}

/* ✅ Download buttons */
.download-button {
    display: inline-block;
    padding: 12px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
    margin: 10px;
    font-size: 16px;
    cursor: pointer;
}

/* 🎬 Video Download Button */
.download-button {
    background: #4caf50;
    color: white;
}

/* 🎵 Audio Download Button */
.download-button.audio {
    background: #ff5733;
}

/* 🚫 Disabled Buttons */
.download-button.disabled {
    background: gray !important;
    cursor: not-allowed;
    opacity: 0.6;
}

/* 🎨 Button Hover Effect */
.download-button:hover {
    opacity: 0.8;
}

#warning-message  {
    background-color: rgba(236, 0, 0, 0.438);
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

#warning-message a {
    color: #fff;
}