﻿.notion-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .75rem 0;
    border-bottom: 1px solid var(--nx-border);
    margin-bottom: .5rem;
}

.notion-toolbar-left, .notion-toolbar-right {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}

.status-line {
    margin: .25rem 0 .5rem;
}

.notion-tree-container {
    border: 1px solid var(--nx-border);
    border-radius: 10px;
    padding: .5rem;
    background: var(--nx-bg);
    min-height: 120px;
}

.loading, .empty {
    padding: 1.5rem;
    text-align: center;
}

/* notion-tree */
.notion-tree-node {
}

.notion-tree-row {
    display: flex;
    align-items: center;
    gap: .4rem;
    padding: .18rem .35rem;
    border-radius: 6px;
}

    .notion-tree-row:hover {
        background: #f0f1f3;
    }

.notion-tree-children {
    margin-left: 1.15rem;
    border-left: 1px dashed #d5d7db;
    padding-left: .4rem;
}

.notion-tree-toggle {
    border: none;
    background: none;
    cursor: pointer;
    width: 1.1rem;
    height: 1.1rem;
    line-height: 1;
    color: #6b7280;
    font-size: .8rem;
    padding: 0;
}

.notion-tree-toggle-spacer, .notion-tree-check-spacer {
    display: inline-block;
    width: 1.1rem;
}

.notion-tree-check {
    margin: 0;
}

.notion-tree-icon {
    width: 1.25rem;
    text-align: center;
}

.notion-tree-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .notion-tree-title.is-db {
        font-weight: 600;
    }

.notion-tree-dl {
    opacity: 0;
    transition: opacity .12s;
    padding: 0 .4rem;
    line-height: 1.3;
}

.notion-tree-row:hover .notion-tree-dl {
    opacity: 1;
}

.format-toggle {
    margin-left: .5rem;
}

.sso-btn {
    display: inline-flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.alt-login {
    margin-top: .6rem;
}

.token-block {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--nx-border);
}
