* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    min-height: 100%;
    background: #ffffff;
    color: #333333;
    font-family: "Avenir Next", "AvenirNext-Regular", Avenir, -apple-system, BlinkMacSystemFont, sans-serif !important;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

.page {
    width: 100%;
    min-height: 100vh;
    padding: 48px 28px 96px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    width: 100%;
    max-width: 480px;
    text-align: center;
}

h1 {
    margin: 0;
    font-size: 38px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -1.4px;

    position: relative;
    top: -8px;
}


.subtitle {
    margin: 14px 0 44px;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 400;
    opacity: 0.68;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.field {
    width: 100%;
    text-align: left;
}

label {
    display: block;
    margin: 0 0 8px 18px;
    font-size: 13px;
    font-weight: 500;
    opacity: 0.72;
}

input,
select {
    width: 100%;
    height: 52px;

    border: none;
    outline: none;
    appearance: none;

    border-radius: 999px;
    background: #f5f5f5;
    color: #333333;

    padding: 0 20px;

    font-family: "Avenir Next", "AvenirNext-Regular", Avenir, -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 15px;
    font-weight: 400;
}

select {
    cursor: pointer;
}

input[type="file"] {
    padding: 14px 20px;
    cursor: pointer;
}

input::file-selector-button {
    border: none;
    border-radius: 999px;
    background: #333333;
    color: #ffffff;
    margin-right: 14px;
    padding: 7px 14px;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
}

button,
.download {
    width: 100%;
    height: 54px;

    margin-top: 16px;

    border: none;
    border-radius: 999px;

    background: #333333;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "Avenir Next", "AvenirNext-Regular", Avenir, -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;

    cursor: pointer;

    transition: transform 0.16s ease, opacity 0.16s ease;
}

button:hover,
.download:hover {
    transform: scale(1.015);
    opacity: 0.92;
}

button:active,
.download:active {
    transform: scale(0.99);
}

.message {
    margin: 28px 0 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.75;
}

.footer-logo {
    position: fixed !important;
    bottom: 24px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    opacity: 0.42 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

.footer-logo img {
    width: 34px !important;
    height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
    object-fit: contain !important;
    display: block !important;
}

.spinner {
    display: none;
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

button.loading {
    opacity: 0.86;
    cursor: wait;
}

button.loading .button-text {
    display: none;
}

button.loading .spinner {
    display: inline-block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.secondary-action {
    margin-top: 14px;
    width: 100%;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #333333;
    background: transparent;

    font-family: "Avenir Next", "AvenirNext-Regular", Avenir, -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;

    opacity: 0.72;
}

.secondary-action:hover {
    opacity: 1;
}

.fedatar {
    font-family: "Avenir Next";
    font-weight: 400; /* Regular */
}

.io {
    font-family: "Avenir Next";
    font-weight: 200; /* Ultra Light */
}


.credits-pill {
    position: fixed;

    top: 28px;
    right: 28px;

    width: 80px;
    height: 80px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.75);
    backdrop-filter: blur(24px);

    border: 1px solid rgba(0,0,0,.06);
    border-radius: 24px;

    box-shadow:
        0 4px 24px rgba(0,0,0,.05);

    z-index: 1000;
    transition: .2s;
}

.credits-pill:hover {
    transform: translateY(-1px);
}

.credits-number {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -1.2px;
    line-height: 1;
    color: #333333;
}

.credits-label {
    margin-top: 4px;

    font-size: 12px;
    font-weight: 400;

    color: rgba(51,51,51,.6);
}

@media (max-width: 768px) {

    .credits-pill {
        top: 18px;
        right: 18px;

        width: 64px;
        height: 64px;

        border-radius: 18px;
    }

    .credits-number {
        font-size: 24px;
    }

    .credits-label {
        font-size: 11px;
    }

}