body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

#pin {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background-color: white;
    padding: 2rem;
    border-radius: 0.7rem;

    @media (min-width: 768px) {
        max-width: 600px;
        padding-inline: 4rem;
        box-shadow: rgba(0, 0, 0, 0) 0 0, rgba(0, 0, 0, 0) 0 0, rgba(0, 0, 0, 0.24) 0 3px 8px 0;
    }

    .head {
        width: 100%;

        img {
            display: block;
            max-width: 100%;
            height: 5rem;
        }
    }

    p {
        overflow-wrap: break-word;
    }

    button {
        margin-block: 1rem;
        padding: 1rem;
        width: 100%;
        background-color: var(--pappDarkBlue);
        border: 0;
        border-radius: 0.25rem;
        color: white;
        font-weight: bold;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .noPinReceived {
        font-size: 12px;
    }

    .input {
        font: inherit;
        color: var(--textGray1);
        background-color: #f1f1f1;
        width: 100%;
        border: 0;
        border-radius: 0.25rem;
        padding-block: 0.3rem;
        font-size: 2rem;
        font-weight: bold;
        text-align: center;
        letter-spacing: 0.2em;

        &:focus {
            outline: 2px solid var(--pappDarkBlue);
        }
    }
}

#certificate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background-color: white;
    padding: 2rem;
    border-radius: 0.7rem;

    @media (min-width: 768px) {
        max-width: 600px;
        padding-inline: 4rem;
        box-shadow: rgba(0, 0, 0, 0) 0 0, rgba(0, 0, 0, 0) 0 0, rgba(0, 0, 0, 0.24) 0 3px 8px 0;
    }

    .head {
        width: 100%;

        img {
            display: block;
            max-width: 100%;
            height: 5rem;
        }
    }

    p {
        overflow-wrap: break-word;
    }

    .file {
        text-decoration: none;
        width: 100%;
        padding: 1rem;
        border-radius: 0.7rem;
        box-shadow: rgba(0, 0, 0, 0) 0 0, rgba(0, 0, 0, 0) 0 0, rgba(0, 0, 0, 0.24) 0 3px 8px 0;
        color: var(--textGray1);
    }

    .fileTitle {
        display: flex; place-content: space-between;
    }

    .fileContent {
        font-size: 10px;
    }

    .file:hover {
        background-color: var(--pappDarkBlue);
        cursor: pointer;
        color: white;
    }

    .link {
        text-decoration: none;
        color: var(--textGray1);
    }

    .link:hover {
        text-decoration: underline var(--textGray1);
    }

    .certInstallation {
        width: 100%;
        text-align: center;
        padding: 1rem;
        border-radius: 0.7rem;
        border: 1px solid var(--borderGray);

        #certInstallationsToggle {
            cursor: pointer;
        }

        #certInstallations {
            margin-top: 0.5em;
        }
    }
}

#nonexistentCertificate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background-color: white;
    padding: 2rem;
    border-radius: 0.7rem;

    @media (min-width: 768px) {
        max-width: 600px;
        padding-inline: 4rem;
        box-shadow: rgba(0, 0, 0, 0) 0 0, rgba(0, 0, 0, 0) 0 0, rgba(0, 0, 0, 0.24) 0 3px 8px 0;
    }

    .head {
        width: 100%;

        img {
            display: block;
            max-width: 100%;
            height: 5rem;
        }
    }

    p {
        overflow-wrap: break-word;
    }
}

