@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.cashshop-item-icon {
    width: 40px;
    height: 40px;
    display: inline-block;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background-color: #111827;
    background-origin: border-box;
    background-clip: border-box;
    image-rendering: pixelated;
    flex: 0 0 auto;
}

.cashshop-item-icon-large {
    width: 64px;
    height: 64px;
}

.site-section-heading.compact {
    margin-top: 2rem;
}

.site-balance-purchase-panel {
    margin-top: 2rem;
}

.site-balance-purchase-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.site-balance-purchase-card {
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 24, 39, 0.72);
}

.site-store-icon-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 72px;
    margin: 0.75rem 0 0.5rem;
}

.site-store-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.gm-store-shell {
    display: grid;
    gap: 1.25rem;
}

.gm-store-header {
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 24, 39, 0.78);
}

.gm-store-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) auto minmax(240px, 1fr);
    gap: 1rem;
    align-items: end;
}

.gm-store-account-input,
.gm-store-filter-input {
    width: 100%;
}

.gm-store-account-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.gm-store-account-card {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 24, 39, 0.78);
}

.gm-store-grid {
    align-items: stretch;
}

.gm-store-card {
    min-height: 100%;
}

.gm-store-card-active {
    border-color: rgba(76, 175, 80, 0.55);
    box-shadow: inset 0 0 0 1px rgba(76, 175, 80, 0.18);
}

.gm-store-card-inactive {
    border-color: rgba(244, 67, 54, 0.55);
    background: linear-gradient(180deg, rgba(76, 18, 18, 0.88), rgba(17, 24, 39, 0.86));
    box-shadow: inset 0 0 0 1px rgba(244, 67, 54, 0.18);
}

.gm-cashshop-item-icon {
    width: 96px;
    height: 96px;
}

.gm-store-noicon {
    min-height: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.72);
}

.gm-store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.9rem;
}

.gm-store-actions {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .site-store-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    .gm-store-toolbar,
    .gm-store-account-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
