html,
body {
    font-family: var(--falcon-font-sans-serif, "Poppins", "Segoe UI", sans-serif);
    background: var(--falcon-body-bg, #f9fafd);
}

.content-card {
    background: var(--falcon-card-bg, #fff);
    border: 1px solid var(--falcon-border-color, #edf2f9);
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: var(--falcon-box-shadow-sm, 0 0.125rem 0.25rem rgba(15, 23, 42, 0.04));
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.drop-zone {
    border: 2px dashed #2c7be5;
    border-radius: 0.75rem;
    background: #edf4ff;
    padding: 1rem;
    min-height: 120px;
}

.drop-zone.dragover {
    background: #dbe9ff;
}

.readonly-text {
    min-height: 180px;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}

.board-card {
    background: var(--falcon-card-bg, #fff);
    border: 1px solid var(--falcon-border-color, #edf2f9);
    border-left: 5px solid #2c7be5;
    border-radius: 0.75rem;
    padding: 1rem;
    box-shadow: var(--falcon-box-shadow-sm, 0 0.125rem 0.25rem rgba(15, 23, 42, 0.04));
}

.validation-message {
    color: #dc3545;
}

#blazor-error-ui {
    background: #fff3cd;
    color: #5f4b10;
    bottom: 0;
    box-shadow: 0 0.125rem 0.5rem rgba(15, 23, 42, 0.1);
    border: 1px solid #ffe69c;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

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

.warehouse-board {
    width: 100%;
    margin-top: 0;
    padding-top: 0;
}

.warehouse-total {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    margin: 0 0 10px;
    color: #1f2937;
}

.warehouse-row {
    background: #efefef;
    border: 1px solid #d2d6da;
    border-bottom: 3px solid #5b47a9;
    margin-bottom: 6px;
    padding: 18px 16px 14px;
    width: 100%;
}

.warehouse-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr 1.6fr 1.3fr 1fr;
    gap: 10px 14px;
}

.warehouse-grid-bottom {
    margin-top: 20px;
}

.warehouse-cell {
    min-height: 54px;
    text-align: center;
}

.warehouse-label {
    font-size: 12px;
    color: #7b818b;
    line-height: 1.2;
    margin-bottom: 3px;
}

.warehouse-value {
    font-size: 16px;
    font-weight: 700;
    color: #252a33;
    line-height: 1.18;
    white-space: pre-line;
}

.warehouse-products {
    color: #be1e2d;
}

.warehouse-empty {
    background: #fff;
    border: 1px solid #d9dde2;
    padding: 12px;
    color: #566071;
    width: 100%;
}

@media (max-width: 1200px) {
    .warehouse-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.login-modal-wrap {
    width: 100%;
    max-width: 460px;
}

.login-modal {
    padding: 1.4rem 1.3rem;
    border-radius: 1rem;
}

.login-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.page-title {
    font-size: 2.1rem;
    line-height: 1.15;
    margin-bottom: 0.8rem;
}

h1[tabindex="-1"]:focus,
h1[tabindex="-1"]:focus-visible {
    outline: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

.email-preview-html {
    font-size: 0.95rem;
    line-height: 1.45;
    color: #1f2937;
}

.email-preview-html img {
    max-width: 100%;
    height: auto;
}

.email-preview-html table {
    max-width: 100%;
}
