/* Kanban Board - Modern Design System */
:root {
    --bg-base: #0f0f12;
    --bg-elevated: #18181c;
    --bg-card: #1e1e24;
    --bg-hover: #25252c;
    --border: rgba(255, 255, 255, 0.08);
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent: #6366f1;
    --accent-hover: #818cf8;
    --accent-muted: rgba(99, 102, 241, 0.2);
    --priority-low: #22c55e;
    --priority-medium: #eab308;
    --priority-high: #ef4444;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.5;
    min-height: 100vh;
}

.app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Board switcher */
.board-switcher {
    position: relative;
}

.btn-board-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 180px;
    justify-content: space-between;
}

.btn-board-dropdown:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--bg-hover);
}

.board-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 240px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s;
    z-index: 200;
}

.board-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.board-dropdown-list {
    padding: 8px 0;
    max-height: 280px;
    overflow-y: auto;
}

.board-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.board-dropdown-item:hover {
    background: var(--bg-hover);
}

.board-dropdown-item.active {
    color: var(--accent);
    font-weight: 500;
}

.btn-create-board {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-top: 1px solid var(--border);
    color: var(--accent);
    font-family: var(--font);
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-create-board:hover {
    background: var(--accent-muted);
}

/* Profile selector */
.profile-selector {
    position: relative;
}

.btn-profile {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-profile:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-profile i:first-child {
    font-size: 20px;
    color: var(--accent);
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 200px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s;
    z-index: 200;
}

.profile-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-dropdown-list {
    padding: 8px 0;
}

/* Auth screen */
.auth-screen {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.auth-tab {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-tab:hover {
    color: var(--text-primary);
}

.auth-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.auth-form h2 {
    margin: 0 0 24px 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.auth-error {
    color: var(--priority-high);
    font-size: 13px;
    margin-bottom: 12px;
    min-height: 20px;
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.user-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: var(--text-secondary);
    font-size: 14px;
}

.user-badge i {
    font-size: 20px;
    color: var(--accent);
}

/* Profile prompt (select who you are) - legacy, hidden */
.profile-prompt {
    display: none;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.profile-prompt-content {
    text-align: center;
    max-width: 400px;
}

.profile-prompt-content > i {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 16px;
}

.profile-prompt-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.profile-prompt-content p {
    margin: 0 0 24px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.profile-prompt-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.btn-profile-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-profile-option:hover {
    border-color: var(--accent);
    background: var(--accent-muted);
    color: var(--accent);
}

.profile-prompt-hint {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    margin-bottom: 0 !important;
}

.empty-hint {
    color: var(--text-muted);
    padding: 16px;
    font-size: 0.9rem;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}

.brand-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    padding: 10px 18px;
    background: var(--bg-hover);
    color: var(--text-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: var(--bg-card);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-icon:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.btn-icon i {
    font-size: 1.1em;
}

.btn-sm {
    padding: 6px 10px;
    font-size: 12px;
    border-radius: var(--radius-sm);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: none;
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

/* Main content */
.app-main {
    flex: 1;
    padding: 24px;
    overflow: auto;
}

.kanban-board {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 8px 0;
    min-height: calc(100vh - 140px);
    align-items: flex-start;
}

.kanban-board::-webkit-scrollbar {
    height: 10px;
}

.kanban-board::-webkit-scrollbar-track {
    background: var(--bg-elevated);
    border-radius: 10px;
}

.kanban-board::-webkit-scrollbar-thumb {
    background: var(--bg-hover);
    border-radius: 10px;
}

.kanban-board::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Column */
.kanban-column {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    min-width: 320px;
    max-width: 320px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: border-color 0.2s;
}

.kanban-column:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.column-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.column-count {
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 20px;
}

.column-actions {
    display: flex;
    gap: 4px;
}

.cards-container {
    flex: 1;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 4px 0;
    border-radius: var(--radius-md);
    transition: background 0.2s;
}

.cards-container.drag-over {
    background: var(--accent-muted);
    outline: 2px dashed var(--accent);
    outline-offset: 2px;
}

.add-card-btn {
    margin-top: 12px;
    width: 100%;
    justify-content: center;
    background: transparent;
    color: var(--text-muted);
    border: 1px dashed var(--border);
}

.add-card-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-muted);
}

/* Card */
.kanban-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px;
    cursor: grab;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    border-left: 3px solid var(--text-muted);
}

.kanban-card:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
    border-color: rgba(255, 255, 255, 0.1);
}

.kanban-card:active {
    cursor: grabbing;
}

.kanban-card.dragging {
    opacity: 0.6;
    transform: rotate(1deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.kanban-card.priority-low {
    border-left-color: var(--priority-low);
}

.kanban-card.priority-medium {
    border-left-color: var(--priority-medium);
}

.kanban-card.priority-high {
    border-left-color: var(--priority-high);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.card-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    flex: 1;
    word-wrap: break-word;
    line-height: 1.4;
}

.card-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}

.card-description {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    word-wrap: break-word;
    white-space: pre-wrap;
    line-height: 1.5;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.card-priority {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.priority-low {
    background: rgba(34, 197, 94, 0.2);
    color: var(--priority-low);
}

.priority-medium {
    background: rgba(234, 179, 8, 0.2);
    color: var(--priority-medium);
}

.priority-high {
    background: rgba(239, 68, 68, 0.2);
    color: var(--priority-high);
}

.card-assignee {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

.card-assignee i {
    font-size: 14px;
    color: var(--text-muted);
}

.card-due {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-secondary);
}

.card-due i {
    font-size: 12px;
    color: var(--text-muted);
}

.card-due.overdue {
    color: var(--priority-high);
}

.card-due.overdue i {
    color: var(--priority-high);
}

/* Empty state */
.empty-board {
    text-align: center;
    padding: 60px 40px;
    color: var(--text-muted);
    width: 100%;
}

.empty-board h4 {
    color: var(--text-secondary);
    margin: 0 0 8px 0;
    font-size: 1.1rem;
}

.empty-board p {
    margin: 0;
    font-size: 0.9rem;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.modal-dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-dialog-lg {
    max-width: 520px;
}

.modal-dialog-xl {
    max-width: 720px;
}

.form-group-checkbox {
    margin-bottom: 0;
}

.form-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 20px 0;
}

.form-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 12px 0;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 400 !important;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.admin-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.admin-tab {
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-tab:hover {
    color: var(--text-primary);
}

.admin-tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.admin-table td {
    font-size: 14px;
}

.admin-table .badge {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
}

.admin-table .badge-yes {
    background: rgba(34, 197, 94, 0.2);
    color: var(--priority-low);
}

.admin-table .badge-no {
    background: var(--bg-hover);
    color: var(--text-muted);
}

.admin-table .text-muted {
    color: var(--text-muted);
    font-style: italic;
}

.modal-content {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.modal-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.modal-close:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-card);
}

/* Form */
.form-group {
    margin-bottom: 18px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
}

.form-group.flex-1 {
    flex: 1;
}

.form-group-actions {
    flex: 0 0 auto;
    min-width: 120px;
}

.form-group-actions .btn-primary {
    width: 100%;
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-input,
.form-select {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--accent);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

.card-comments-list {
    max-height: 220px;
    overflow-y: auto;
    border: 1px solid var(--border);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 10px;
    margin-bottom: 10px;
}

.card-comments-empty {
    color: var(--text-muted);
    font-size: 13px;
}

.card-comment-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
}

.card-comment-item:last-child {
    border-bottom: none;
}

.card-comment-meta {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
}

.card-comment-author {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
}

.card-comment-time {
    font-size: 12px;
    color: var(--text-muted);
}

.card-comment-text {
    color: var(--text-secondary);
    font-size: 13px;
    white-space: pre-wrap;
    word-break: break-word;
}

.card-comments-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.card-attach-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.card-attach-hint {
    color: var(--text-muted);
    font-size: 12px;
}

.card-attachments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.card-attachment-item {
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
}

.card-attachment-link {
    display: block;
}

.card-attachment-image {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

.card-attachment-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px;
    font-size: 11px;
    color: var(--text-muted);
}

.card-attachment-delete {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
}

/* Users list */
.user-form {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.users-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.users-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
}

.users-list li:last-child {
    margin-bottom: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    font-weight: 500;
    color: var(--text-primary);
}

.user-email {
    font-size: 12px;
    color: var(--text-muted);
}

.user-delete {
    padding: 6px 10px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.user-delete:hover {
    color: var(--priority-high);
    background: rgba(239, 68, 68, 0.15);
}

/* Board settings */
.board-members-section,
.board-danger-zone {
    margin-top: 24px;
}

.section-title {
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.add-member-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.add-member-row .form-select.flex-1 {
    flex: 1;
    min-width: 0;
}

.members-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.member-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
}

.member-item:last-child {
    margin-bottom: 0;
}

.member-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.member-name {
    font-weight: 500;
    color: var(--text-primary);
}

.member-role {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: capitalize;
}

.btn-remove-member {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-remove-member:hover {
    color: var(--priority-high);
    background: rgba(239, 68, 68, 0.15);
}

.board-danger-zone {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    margin-top: 24px;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(239, 68, 68, 0.15);
    color: var(--priority-high);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-md);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .header-actions .btn-label {
        display: none;
    }

    .form-row {
        flex-direction: column;
    }

    .form-group-actions {
        min-width: auto;
    }
}
