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

a {
    color: inherit;
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    padding: 8px 16px;
    background: #FFFFFF;
    color: #000000;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

.shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-main {
    padding-bottom: 48px;
}

.section {
    padding: 96px 0 0 0;
}

.btn-primary {
    font-weight: 500;
    background: #FFFFFF;
    color: #000000;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: #FFFFFF;
}

.hidden {
    display: none !important;
}

.page-bin .section-bin-workspace {
    padding-top: 64px;
}

.page-bin .bin-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.page-bin .bin-main {
    background-color: #0a0b0cd8;
    width: 600px;
    display: grid;
    gap: 16px;
    align-content: start;
}

.page-bin .bin-panel {
    border: 1px solid #121314ff;
    padding: 20px;
    display: grid;
    gap: 16px;
}

.page-bin .panel-text {
    margin: 0;
    color: #C4C4C4;
}

.page-bin .bin-field {
    display: grid;
    gap: 8px;
}

.page-bin .bin-field--compact {
    max-width: 260px;
}

.page-bin .bin-label {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.page-bin .bin-hint {
    margin: 0;
    color: #C4C4C4;
    font-size: 13px;
}

.page-bin .bin-textarea,
.page-bin .bin-input {
    width: 100%;
    background-color: #060707ff;
    border: 1px solid #121314ff;
    color: #FFFFFF;
    padding: 12px;
    font-family: inherit;
}

.page-bin .bin-textarea {
    min-height: 160px;
    resize: vertical;
}

.page-bin .bin-input {
    min-height: auto;
}

.page-bin .bin-select {
    width: 100%;
    border: 1px solid #121314ff;
    background: #060707ff;
    color: #FFFFFF;
    padding: 10px 12px;
    font-family: inherit;
}

.page-bin .bin-select:focus,
.page-bin .bin-input:focus,
.page-bin .bin-textarea:focus {
    outline: none;
    border-color: #FFFFFF;
}

.page-bin .bin-dropzone {
    position: relative;
    background-color: #060707ff;
    border: 1px dashed rgb(37, 40, 43);
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 200px;
}

.page-bin .bin-dropzone__body {
    display: grid;
    gap: 6px;
    text-align: center;
}

.page-bin .dz-primary {
    font-family: 'AllianceNo2', system-ui, sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.page-bin .dz-secondary {
    color: #C4C4C4;
    font-size: 13px;
}

.page-bin .file-input {
    display: none;
}

.page-bin .bin-row {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.page-bin .bin-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.page-bin .bin-actions .btn {
    min-width: 140px;
}

.page-bin .bin-panel .btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-bin .bin-progress {
    padding: 12px;
    display: grid;
    gap: 6px;
}

.page-bin .bin-progress progress {
    width: 100%;
    height: 12px;
    accent-color: #FFFFFF;
    background-color: #0A0A0A;
}

.page-bin .bin-progress progress::-webkit-progress-bar {
    background: #0A0A0A;
}

.page-bin .bin-progress progress::-webkit-progress-value {
    background: #FFFFFF;
}

.page-bin .bin-progress progress::-moz-progress-bar {
    background: #FFFFFF;
}

.page-bin .bin-result {
    padding: 12px;
    display: grid;
    gap: 8px;
}

.page-bin .bin-result__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.page-bin .bin-result__content {
    min-width: 0;
}

.page-bin .bin-result__row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.page-bin .bin-result__row .bin-input {
    background: none;
    flex: 1 1 260px;
}

.page-bin .bin-result__qr {
    background-color: #000000;
    display: grid;
    place-items: center;
}

.page-bin .bin-result__qr canvas {
    display: block;
}

.page-bin .bin-error {
    border: 1px solid #ff9b9b;
    background: rgba(255, 155, 155, 0.08);
    color: #ffd7d7;
    padding: 12px;
    font-size: 14px;
}

.page-bin .bin-file-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.site-footer {
    border-top: 1px solid #121314ff;
    background-color: #08090A;
    margin-top: 12px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    padding: 24px 0;
}

.footer-heading {
    font-family: 'AllianceNo2', system-ui, sans-serif;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
    margin-top: 0;
    color: #FFFFFF;
    font-weight: normal;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 32px;
}

.footer-list a {
    font-size: 13px;
    color: #C4C4C4;
    transition: color 0.15s ease-in-out;
}

.footer-list a:hover,
.footer-list a:focus {
    color: #FFFFFF;
}

.footer-bottom {
    margin-bottom: 0;
    padding-bottom: 24px;
    text-align: center;
}

.footer-copy {
    font-size: 12px;
    color: #ffffff32;
    margin: 0;
}

@media (max-width: 1040px) {
    .page-bin .bin-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .page-bin .bin-main {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-bin .bin-result__layout {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .nav-list {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        padding: 16px 24px 24px 24px;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        z-index: 100;
        transition: opacity 0.2s ease-out, visibility 0.2s ease-out;
    }

    .site-nav.site-nav-open .nav-list {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    .site-nav {
        order: 1;
    }

    .nav-toggle {
        order: 2;
        display: block;
    }

    .header-inner {
        height: auto;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .section {
        padding: 72px 0;
    }
}

@media (max-width: 720px) {
    .page-bin .bin-panel {
        padding: 16px;
    }

    .page-bin .bin-row {
        flex-direction: column;
        align-items: stretch;
    }

    .page-bin .bin-actions {
        width: 100%;
    }

    .page-bin .bin-actions .btn {
        flex: 1 1 auto;
        width: 100%;
    }
}

.shell h1 {
    font-weight: 400;
    font-family: 'AllianceNo2';
    font-size: 48px;
}

.shell hr {
    border: 1px solid #121314ff;
    margin-bottom: 48px;
}

.shell a {
    text-decoration: underline;
}

.shell h2 {
    font-weight: 400;
    font-family: 'AllianceNo2';
    margin-top: 48px;
}

.shell ul li {
    margin-bottom: 12px;
}
