:root {
    --width: 500px;
    --color-divider: #E0E0E0;
    --color-primary: #060606;
    --color-secondary: #3D52C9;

    font-size: 16px;
    color: #242424;
}

body {
    font-family: ROboto, sans-serif;
    margin: 0;
    padding: 0;
}
.loading {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100svh;
    width: 100vw;
    background: white;
    z-index: 10;
}
.loading img {
    width: 100px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

hr {
    border: none;
    border-top: 1px solid var(--color-divider);
    width: 90%;
    margin: 30px auto;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--width);
    padding: 0 20px;
    margin: 0 auto;
}
header section {
    display: flex;
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-divider);
    align-items: center;
}
header select,
header ::selection {
    background-color: white;
    color: var(--color-primary);
    font-size: .8rem;
    border: 1px solid var(--color-primary);
    border-radius: 2px;
    cursor: pointer;
}

header div {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
}

header .logo {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 8px;
    background-color: #333;
    border: 1px solid var(--color-divider);
}

header .title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

header .guide {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0;
}

main {
    max-width: var(--width);
    margin: 0 auto;
    padding: 20px;

    display: flex;
    flex-direction: column;
    gap: 20px;
}

main .merchant {
    display: flex;
    gap: 20px;
    padding: 15px;
    justify-content: flex-end;

    margin-bottom: 10px;
}

main .merchant-logo {
    width: 30%;
}

.download {
    display: flex;
    flex-direction: column;
}

.download .description {
    margin-bottom: 20px;
}

.download .button-section {
    display: flex;
    gap: 10px;
}

.download button {
    outline: none;
    border: none;
    padding: 15px 20px;
    width: 50%;
    margin: 0 auto;

    border-radius: 4px;
    cursor: pointer;

    background-color: var(--color-primary);
    color: white;
    font-size: small;
}

details {
    border: 1px solid var(--color-divider);
    padding: 16px;
}

summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
}

summary::-webkit-details-marker {
    display: none;
}

details:not([open]) summary::after {
    content: '';
    border-left: .5rem solid transparent;
    border-right: .5rem solid transparent;
    border-bottom: .8rem solid var(--color-primary);
    transition: transform 0.3s;
    transform: rotate(180deg);
}

details[open] summary::after {
    content: '';
    border-left: .5rem solid transparent;
    border-right: .5rem solid transparent;
    border-bottom: .8rem solid var(--color-primary);
    transition: transform 0.3s;
}

details img {
    width: 100%;
    margin: 10px 0;
}

.border {
    border: 1px solid var(--color-divider);
}
