body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: #0d0f12;
    color: #fff;
}

.navbar {
    width: 100%;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.container {
    max-width: 600px;
    margin: 40px auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

h1 {
    margin-top: 0;
    font-size: 28px;
    text-align: center;
}

.muted {
    opacity: 0.7;
    text-align: center;
    margin-bottom: 25px;
}


/* FORM ELEMENTS */

.form-row {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

input[type="file"],
input[type="text"],
input[type="url"],
button,
textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    font-size: 15px;
    outline: none;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

button.btn {
    cursor: pointer;
    border: none;
    font-weight: 600;
    transition: 0.25s;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: #fff;
}

button.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 140, 255, 0.4);
}


/* LOADING ANIMATION BOX */

.loading-box {
    margin-bottom: 25px;
    padding: 20px;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    backdrop-filter: blur(14px);
    display: none;
    /* hidden by default */
    animation: fadeIn 0.4s ease;
}

.loader {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-top-color: #00c6ff;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


/*  RESULT BOX */

#audioResult {
    margin-top: 20px;
    padding: 18px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    display: none;
}