@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* /Components/Layout/LoginLayout.razor.rz.scp.css */
body[b-628r3rebzm] {
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

html[b-628r3rebzm] {
    height: -webkit-fill-available;
}

#blazor-error-ui[b-628r3rebzm] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-628r3rebzm] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Shared/Mail/MailAttachments.razor.rz.scp.css */
.mail-attachments[b-7yz35l1dbr] {
    margin-bottom: 1rem;
    padding: .75rem;
    border: 1px solid var(--hz-border);
    border-radius: var(--hz-radius-sm);
    background: var(--hz-surface-2);
}

.mail-attachments-title[b-7yz35l1dbr] {
    font-size: .8rem;
    font-weight: 600;
    color: var(--hz-text-muted);
    margin-bottom: .5rem;
}

.mail-attachment-list[b-7yz35l1dbr] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mail-attachment[b-7yz35l1dbr] {
    display: flex;
    align-items: center;
    gap: .5rem;
    min-width: 0;
    padding: .35rem .5rem;
    border: 1px solid var(--hz-border);
    border-radius: var(--hz-radius-sm);
    background: var(--hz-surface);
}

.mail-attachment-icon[b-7yz35l1dbr] {
    color: var(--hz-text-muted);
    font-size: 1.1rem;
}

.mail-attachment-name[b-7yz35l1dbr] {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mail-attachment-size[b-7yz35l1dbr] {
    color: var(--hz-text-subtle);
    font-size: .8rem;
    white-space: nowrap;
}
/* /Components/Shared/Mail/MailFolderTree.razor.rz.scp.css */
.mail-tree[b-lpncirnml1] {
    margin: 0;
    padding: 0;
    list-style: none;
}
/* /Components/Shared/Mail/MailFolderTreeItem.razor.rz.scp.css */
.mail-tree-item[b-ljyffrmaes] {
    list-style: none;
}

.mail-tree-row[b-ljyffrmaes] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.25rem;
    border-radius: 0.25rem;
    cursor: default;
    user-select: none;
}

.mail-tree-row:hover[b-ljyffrmaes] {
    background-color: var(--hz-surface-2);
}

.mail-tree-row.active[b-ljyffrmaes] {
    background-color: rgba(var(--hz-primary-rgb), .18);
    color: #fff;
}

.mail-tree-toggle[b-ljyffrmaes],
.mail-tree-toggle-spacer[b-ljyffrmaes] {
    display: inline-flex;
    width: 1.1rem;
    flex-shrink: 0;
    cursor: pointer;
    justify-content: center;
}

.mail-tree-check[b-ljyffrmaes] {
    margin: 0;
    flex-shrink: 0;
}

.mail-tree-name[b-ljyffrmaes] {
    display: inline-flex;
    gap: 0.4rem;
    cursor: pointer;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ancestor folder without mails of its own */
.mail-tree-name-virtual[b-ljyffrmaes] {
    opacity: 0.75;
}

/* indentation comes from the row's padding-left (per depth), so the highlight spans the full width */
.mail-tree-children[b-ljyffrmaes] {
    margin: 0;
    padding-left: 0;
}
