.file-download-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(20px, 4vh, 40px) 10px;
    text-align: center;
    width: 100%;
}

.file-download-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 360px;
}

.file-download-form.active {
    display: flex;
    animation:
        slideFadeIn .35s cubic-bezier(.25, 1, .5, 1)
        forwards;
}

.file-download-form.exit {
    display: flex;
    animation:
        slideFadeOut .3s cubic-bezier(.4, 0, 1, 1)
        forwards;
}

.file-input {
    width: 100%;
    background: rgba(20, 20, 20, .6);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    padding: 14px 20px;
    font-size: 1.05rem;
    color: #fff;
    outline: none;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
        background .3s,
        border-color .3s,
        box-shadow .3s;
}

.file-input:focus {
    background: rgba(30, 30, 30, .8);
    border-color: rgba(255, 255, 255, .35);
    box-shadow:
        0 0 16px rgba(255, 255, 255, .08);
}

.file-input::placeholder {
    color: rgba(255, 255, 255, .35);
}

.file-download-btn {
    width: 100%;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    border-radius: 16px;
    padding: 14px 0;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, .2);
    transition:
        background .3s,
        border-color .3s,
        color .3s,
        transform .2s,
        box-shadow .3s;
}

.file-download-btn:hover {
    background: rgba(255, 255, 255, .18);
    border-color: rgba(255, 255, 255, .4);
    box-shadow:
        0 12px 28px rgba(0, 0, 0, .3);
    transform: translateY(-1px);
}

.file-download-btn:active {
    transform: scale(.97);
}

@media(max-width: 600px) {
    .file-download-container {
        padding: 15px 0;
    }

    .file-download-btn,
    .file-input {
        padding: 12px 16px;
        font-size: .95rem;
        border-radius: 12px;
    }
}