.atb-modal .modal-content {
    font-family: var(--nav-font, 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif);
    border: none;
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.atb-modal .modal-header {
    background: #fafaf9;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    padding: 0.85rem 1.1rem;
}

.atb-modal .modal-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #0f172a;
}

.atb-modal .btn-close {
    font-size: 0.6rem;
    opacity: 0.4;
    transition: opacity 0.2s ease;
}

.atb-modal .btn-close:hover {
    opacity: 0.8;
}

.atb-modal .modal-body {
    padding: 0;
}

/* Board list */
.atb-list {
    max-height: 220px;
    overflow-y: auto;
    padding: 0.4rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 23, 42, 0.1) transparent;
}

.atb-list::-webkit-scrollbar {
    width: 4px;
}

.atb-list::-webkit-scrollbar-track {
    background: transparent;
}

.atb-list::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.12);
    border-radius: 4px;
}

.atb-list-empty {
    padding: 1.5rem 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.78rem;
}

.atb-list-empty svg {
    display: block;
    margin: 0 auto 0.6rem;
    opacity: 0.3;
}

.atb-board-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1.1rem;
    color: #0f172a;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: background 0.15s ease;
    cursor: pointer;
    border-left: 2px solid transparent;
}

.atb-board-item:hover {
    background: rgba(220, 38, 38, 0.04);
    border-left-color: #dc2626;
    color: #0f172a;
}

.atb-board-item .atb-board-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 0.65rem;
    transition: background 0.15s ease;
}

.atb-board-item:hover .atb-board-icon {
    background: rgba(220, 38, 38, 0.08);
}

.atb-board-item .atb-board-icon svg {
    width: 13px;
    height: 13px;
    color: #64748b;
}

.atb-board-item:hover .atb-board-icon svg {
    color: #dc2626;
}

.atb-board-count {
    font-size: 0.65rem;
    font-weight: 600;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 0.1rem 0.45rem;
    border-radius: 10px;
    min-width: 22px;
    text-align: center;
}

/* Create section */
.atb-create {
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    padding: 0.75rem 1.1rem;
    background: #fafaf9;
}

.atb-create-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 0.45rem;
    display: block;
}

.atb-create-row {
    display: flex;
    gap: 0.4rem;
}

.atb-create-row input {
    flex: 1;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 7px;
    padding: 0.45rem 0.7rem;
    font-family: inherit;
    font-size: 0.78rem;
    color: #0f172a;
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.atb-create-row input::placeholder {
    color: #cbd5e1;
}

.atb-create-row input:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.08);
}

.atb-create-btn {
    border: none;
    border-radius: 7px;
    padding: 0.45rem 0.9rem;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: #0f172a;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.atb-create-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.25);
}

/* Feedback */
.atb-feedback {
    display: none;
    padding: 0.5rem 1.1rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
}

.atb-feedback.is-success {
    color: #16a34a;
    background: rgba(22, 163, 74, 0.05);
}

.atb-feedback.is-error {
    color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.atb-feedback.is-warning {
    color: #d97706;
    background: rgba(217, 119, 6, 0.05);
}

/* Loading state */
.atb-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.8rem 1rem;
    color: #94a3b8;
    font-size: 0.78rem;
}

.atb-spinner {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(15, 23, 42, 0.08);
    border-top-color: #64748b;
    border-radius: 50%;
    animation: atbSpin 0.6s linear infinite;
}

@keyframes atbSpin {
    to { transform: rotate(360deg); }
}

/* Modal entrance */
.atb-modal.fade .modal-content {
    transform: scale(0.96) translateY(8px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.atb-modal.show .modal-content {
    transform: scale(1) translateY(0);
}
