html,
body {
    min-height: 100%;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
    margin: 0;
    background: #f4f5f8;
    color: #151823;
}

button,
input,
textarea {
    font: inherit;
}

button {
    letter-spacing: 0;
}

a,
.btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #6f55d9;
    border-color: #6f55d9;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(111, 85, 217, 0.35);
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* Auth */

.auth-landing {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(135deg, rgba(187, 247, 208, 0.72), rgba(248, 250, 252, 0.95) 48%, rgba(191, 219, 254, 0.7)),
        #f5f7fb;
}

.auth-panel {
    width: min(100%, 460px);
    padding: 34px;
    border: 1px solid rgba(209, 213, 219, 0.8);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 80px rgba(17, 24, 39, 0.12);
    backdrop-filter: blur(12px);
}

.auth-eyebrow {
    margin: 0 0 12px;
    color: #166534;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-panel h1 {
    margin: 0;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 0;
}

.auth-copy {
    margin: 12px 0 24px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.55;
}

.google-signin-btn {
    height: 46px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    background: white;
    color: #3c4043;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.google-signin-btn:hover {
    border-color: #c1c7cd;
    background: #f8fafd;
    color: #202124;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.12);
}

.google-signin-btn svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
}

.google-signin-btn-disabled,
.google-signin-btn-disabled:hover {
    cursor: not-allowed;
    opacity: 0.62;
    background: #f8fafc;
    border-color: #e5e7eb;
    color: #4b5563;
    box-shadow: none;
}

.auth-error {
    margin-bottom: 16px;
    padding: 10px 12px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 14px;
    font-weight: 700;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #6b7280;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #e5e7eb;
}

.password-auth-form {
    display: grid;
    gap: 9px;
}

.password-auth-form label {
    color: #374151;
    font-size: 13px;
    font-weight: 800;
}

.password-auth-form input[type="email"],
.password-auth-form input[type="password"] {
    width: 100%;
    height: 44px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0 12px;
    background: white;
    color: #111827;
}

.password-auth-form input:focus {
    border-color: #6f55d9;
    outline: none;
    box-shadow: 0 0 0 3px rgba(111, 85, 217, 0.14);
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 4px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 700;
}

.auth-checkbox input {
    width: 16px;
    height: 16px;
}

.password-auth-form button {
    height: 46px;
    border: none;
    border-radius: 12px;
    background: #111827;
    color: white;
    font-weight: 800;
}

.password-auth-form button:hover {
    background: #1f2937;
}

.register-details {
    margin-top: 18px;
}

.register-details summary {
    cursor: pointer;
    color: #5f47c8;
    font-size: 14px;
    font-weight: 800;
}

.register-form {
    margin-top: 14px;
}

/* Landing dashboard */

.home-page {
    min-height: 100vh;
    padding: 0 42px 42px;
    background: #f4f5f8;
}

.home-header {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 -42px;
    padding: 0 42px;
    border-bottom: 1px solid #e1e4eb;
}

.home-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #151823;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
}

.home-brand:hover {
    color: #151823;
}

.home-brand-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #7156d9;
    color: white;
}

.home-brand-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.home-account {
    display: flex;
    align-items: center;
    gap: 18px;
    color: #596176;
    font-size: 14px;
    font-weight: 500;
}

.home-signout {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #151823;
    text-decoration: none;
}

.home-signout:hover {
    background: rgba(17, 24, 39, 0.06);
    color: #151823;
}

.home-signout svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-main {
    width: min(1104px, 100%);
    padding-top: 38px;
}

.home-hero {
    margin-bottom: 38px;
}

.home-hero h1 {
    margin: 0 0 6px;
    color: #111420;
    font-size: 38px;
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: 0;
}

.home-hero p {
    margin: 0;
    color: #636b80;
    font-size: 16px;
}

.home-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 32px;
}

.board-filter-tabs {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border-radius: 13px;
    background: #eef0f5;
    box-shadow: 0 2px 6px rgba(17, 24, 39, 0.08);
}

.board-filter-tabs button {
    height: 30px;
    border: 0;
    border-radius: 10px;
    padding: 0 12px;
    background: transparent;
    color: #596176;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.board-filter-tabs button.active {
    background: white;
    color: #151823;
    box-shadow: 0 1px 4px rgba(17, 24, 39, 0.1);
}

.new-retro-btn {
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 10px;
    padding: 0 18px;
    background: #7156d9;
    color: white;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(113, 86, 217, 0.24);
}

.new-retro-btn span {
    font-size: 20px;
    line-height: 1;
}

.create-board-panel {
    display: grid;
    grid-template-columns: minmax(180px, 0.9fr) minmax(220px, 1.2fr) auto;
    gap: 10px;
    width: min(760px, 100%);
    margin-bottom: 28px;
    padding: 12px;
    border: 1px solid #d7dbe5;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 6px rgba(17, 24, 39, 0.07);
}

.create-board-panel input {
    min-width: 0;
    height: 38px;
    border: 1px solid #d7dbe5;
    border-radius: 9px;
    padding: 0 12px;
    background: #f8f9fc;
}

.create-board-panel button {
    height: 38px;
    border: 0;
    border-radius: 9px;
    padding: 0 14px;
    background: #111827;
    color: white;
    font-weight: 800;
}

.create-board-panel button:disabled {
    cursor: default;
    opacity: 0.45;
}

.board-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 18px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.board-card {
    position: relative;
    min-height: 120px;
    border: 1px solid #d9dde6;
    border-top: 5px solid #28c5b0;
    border-radius: 10px;
    background: white;
    box-shadow: 0 2px 4px rgba(17, 24, 39, 0.08);
    overflow: hidden;
}

.board-card a {
    min-height: 120px;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 6px;
    padding: 24px 20px 16px;
    color: #151823;
    text-decoration: none;
}

.board-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.board-card-title {
    min-width: 0;
    color: #151823;
    font-size: 16px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.board-card-badges {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.board-card-lock {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #667085;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.board-status-pill {
    height: 22px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 800;
}

.board-status-pill.done {
    background: #e7e9ef;
    color: #151823;
}

.board-status-pill.active {
    background: #7156d9;
    color: white;
}

.board-card-description {
    color: #596176;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.board-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #596176;
    font-size: 13px;
}

.board-card-arrow {
    margin-left: auto;
    color: #151823;
    font-size: 20px;
    line-height: 1;
}

.board-card-delete {
    position: absolute;
    right: 14px;
    bottom: 12px;
    border: 0;
    border-radius: 8px;
    padding: 6px 8px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 12px;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.board-card:hover .board-card-delete,
.board-card-delete:focus-visible {
    opacity: 1;
    pointer-events: auto;
}

.empty-boards {
    color: #596176;
}

/* Board */

.retro-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #f4f5f8;
}

.retro-topbar {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px 12px;
    background: #f4f5f8;
    position: sticky;
    top: 0;
    z-index: 100;
}

.retro-title-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.retro-title {
    margin: 0;
    color: #151823;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0;
}

.board-presence {
    display: flex;
    align-items: center;
    margin-top: 8px;
    padding-left: 2px;
}

.presence-avatar {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: -4px;
    border: 2px solid #f4f5f8;
    border-radius: 999px;
    background: #7156d9;
    color: white;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    cursor: default;
    box-shadow: 0 2px 5px rgba(17, 24, 39, 0.12);
}

.presence-avatar:first-child {
    margin-left: 0;
}

.presence-avatar:nth-child(2n) {
    background: #0f9f8f;
}

.presence-avatar:nth-child(3n) {
    background: #e26d5c;
}

.presence-avatar:nth-child(4n) {
    background: #3066be;
}

.presence-more {
    background: #111827;
}

.back-btn {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #151823;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.back-btn:hover {
    background: rgba(17, 24, 39, 0.06);
}

.retro-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.toolbar-btn,
.complete-btn {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #d6dae5;
    border-radius: 10px;
    padding: 0 14px;
    background: white;
    color: #151823;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(17, 24, 39, 0.08);
}

.toolbar-btn:hover {
    border-color: #c7ccd8;
}

.toolbar-btn:disabled {
    opacity: 0.48;
    cursor: default;
}

.toolbar-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.complete-btn {
    border-color: #7156d9;
    background: #7156d9;
    color: white;
}

.complete-btn:disabled {
    border-color: #cfd4df;
    background: #eef1f6;
    color: #596176;
    cursor: default;
    box-shadow: none;
}

.timer-control {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid #d6dae5;
    border-radius: 12px;
    background: white;
    box-shadow: 0 2px 5px rgba(17, 24, 39, 0.08);
}

.timer-duration-group {
    display: flex;
    align-items: center;
    gap: 4px;
}

.timer-duration-btn {
    width: 36px;
    height: 30px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #596176;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.timer-duration-btn.active {
    background: #7156d9;
    color: white;
}

.timer-duration-btn:disabled {
    cursor: default;
    opacity: 0.72;
}

.timer-pill {
    width: 66px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border-radius: 10px;
    background: #ddd9ef;
    color: #151823;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 14px;
    font-weight: 900;
}

.timer-pill span {
    display: none;
}

.timer-pill.finished {
    background: #fee2e2;
    color: #b91c1c;
}

.timer-icon-btn {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #151823;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.timer-icon-btn:hover {
    background: #f0f2f7;
}

.timer-icon-btn:disabled {
    opacity: 0.42;
    cursor: default;
}

.timer-icon-btn:disabled:hover {
    background: transparent;
}

.retro-board {
    flex: 1;
    min-height: 0;
    display: flex;
    gap: 20px;
    overflow: auto;
    padding: 12px 22px 28px;
}

.retro-column {
    flex: 1 1 340px;
    min-width: min(350px, calc(100vw - 44px));
    display: flex;
    flex-direction: column;
    padding: 0;
}

.retro-column[draggable="true"] {
    cursor: grab;
}

.retro-column[draggable="true"]:active {
    cursor: grabbing;
}

.retro-column.column-dragging {
    opacity: 0.56;
}

.retro-column-header {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border: 1px solid #d8dde8;
    border-radius: 10px;
    margin-bottom: 20px;
    background: white;
}

.retro-column-header-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.retro-column-header-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.74);
    font-size: 19px;
}

.retro-column-title {
    color: #151823;
    font-size: 15px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.retro-column-count {
    margin-top: 1px;
    color: #596176;
    font-size: 13px;
}

.column-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
}

.column-action-btn {
    width: 27px;
    height: 27px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.62);
    color: #151823;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.column-action-btn:hover {
    background: white;
}

.column-action-btn:disabled {
    opacity: 0.38;
    cursor: default;
}

.column-action-btn.danger {
    color: #b91c1c;
}

.lane-emerald {
    border-color: #b6eee2;
    background: linear-gradient(180deg, #e8faf7 0%, #f3fbf9 100%);
}

.lane-rose {
    border-color: #f8c8d4;
    background: linear-gradient(180deg, #fff0f4 0%, #fbf7fa 100%);
}

.lane-amber {
    border-color: #f4dbaf;
    background: linear-gradient(180deg, #fff7eb 0%, #fbfaf7 100%);
}

.lane-blue {
    border-color: #bdd3fb;
    background: linear-gradient(180deg, #edf4ff 0%, #f6f8ff 100%);
}

.lane-default {
    border-color: #d3d8e2;
    background: linear-gradient(180deg, #f5f7fb 0%, #fafbfc 100%);
}

.retro-card-list {
    flex: 1;
    min-height: 76px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
}

.retro-card-list:empty::after {
    content: "Drop cards here";
    height: 46px;
    border: 2px dashed #dfe3eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
    background: transparent;
}

.retro-card {
    border: 1px solid #d8dde7;
    border-radius: 10px;
    padding: 16px 14px;
    background: white;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.05);
    cursor: grab;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease;
}

.retro-card:hover {
    transform: translateY(-1px);
    border-color: #c9cfdb;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.08);
}

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

.retro-card.locked,
.retro-card.locked:active {
    cursor: default;
}

.retro-card-content {
    color: #151823;
    font-size: 15px;
    line-height: 1.45;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.ticket-edit-input {
    width: 100%;
    min-height: 92px;
    resize: vertical;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 12px;
    background: #f9fafb;
    color: #111827;
    line-height: 1.5;
}

.ticket-edit-input:focus {
    outline: none;
    border-color: #9ca3af;
    background: white;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.06);
}

.ticket-edit-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 10px;
}

.ticket-edit-save,
.ticket-edit-cancel {
    height: 32px;
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ticket-edit-save {
    border-color: #7156d9;
    background: #7156d9;
    color: white;
}

.ticket-edit-save:hover {
    border-color: #5f47c8;
    background: #5f47c8;
}

.ticket-edit-save:disabled {
    opacity: 0.45;
    cursor: default;
}

.ticket-edit-save:disabled:hover {
    border-color: #7156d9;
    background: #7156d9;
}

.ticket-edit-cancel {
    border-color: #d6dae5;
    background: white;
    color: #151823;
}

.ticket-edit-cancel:hover {
    border-color: #c7ccd8;
    background: #f4f5f8;
}

.retro-card-author {
    margin-top: 14px;
    color: #667085;
    font-size: 11px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.retro-card-divider {
    height: 1px;
    margin: 10px 0 12px;
    background: #e7eaf0;
}

.retro-card-actions {
    display: flex;
    gap: 8px;
}

.icon-btn {
    min-width: 28px;
    height: 28px;
    padding: 0 7px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    color: #475169;
    font-size: 13px;
    font-weight: 700;
    transition: 0.15s ease;
}

.icon-btn:disabled {
    opacity: 0.42;
    cursor: default;
}

.icon-btn:disabled:hover {
    background: transparent;
}

.vote-up-btn:hover {
    background: #eefdf5;
}

.vote-up-btn.active {
    background: #dcfce7;
    color: #047857;
}

.vote-down-btn:hover {
    background: #fff1f2;
}

.vote-down-btn.active {
    background: #ffe4e6;
    color: #be123c;
}

.edit-ticket-btn:hover {
    background: rgba(17, 24, 39, 0.06);
}

.vote-icon {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vote-count {
    min-width: 1ch;
    color: #6f55d9;
    line-height: 1;
}

.add-card-btn {
    height: 46px;
    border: 2px dashed #dfe3eb;
    border-radius: 10px;
    background: transparent;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.15s ease;
}

.add-card-btn:hover {
    background: white;
    border-color: #cfd5df;
}

.retro-add-card {
    border: 1px solid #d8dde7;
    border-radius: 10px;
    padding: 14px;
    background: white;
}

.retro-add-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.insert-line {
    height: 4px;
    border-radius: 999px;
    background: #6f55d9;
    margin: 4px 0 8px;
}

/* Modals */

.share-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(17, 24, 39, 0.42);
}

.share-modal {
    width: min(100%, 520px);
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: white;
    box-shadow: 0 24px 70px rgba(17, 24, 39, 0.22);
    padding: 22px;
}

.share-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.share-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.share-modal-header p {
    margin: 6px 0 0;
    color: #6b7280;
    font-size: 14px;
}

.share-modal-close {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border: none;
    border-radius: 10px;
    background: #f3f4f6;
    color: #374151;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.share-modal-close:hover {
    background: #e5e7eb;
}

.share-link-row,
.column-create-row,
.share-invite-row {
    display: flex;
    gap: 10px;
}

.share-invite-row {
    margin-top: 14px;
}

.share-link-input {
    min-width: 0;
    flex: 1;
    height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 0 12px;
    color: #111827;
    background: #f9fafb;
    font-size: 14px;
}

.share-copy-btn {
    height: 42px;
    min-width: 84px;
    border: none;
    border-radius: 12px;
    background: #111827;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.share-copy-btn:hover {
    opacity: 0.95;
}

.share-copy-btn:disabled {
    opacity: 0.45;
    cursor: default;
}

.column-manager-list {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
}

.column-manager-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
}

.column-manager-meta {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.column-manager-meta strong,
.column-manager-meta small {
    display: block;
}

.column-manager-meta strong {
    color: #111827;
    font-size: 14px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.column-manager-meta small {
    margin-top: 1px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
}

.column-manager-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 18px;
}

.column-remove-btn {
    min-width: 74px;
    height: 34px;
    border: 1px solid #fecaca;
    border-radius: 10px;
    background: #fff7f7;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.column-remove-btn:disabled {
    opacity: 0.42;
    cursor: default;
}

.complete-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.complete-cancel-btn,
.complete-confirm-btn {
    height: 40px;
    border-radius: 12px;
    padding: 0 14px;
    font-weight: 800;
    cursor: pointer;
}

.complete-cancel-btn {
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
}

.complete-confirm-btn {
    border: 1px solid #7156d9;
    background: #7156d9;
    color: white;
}

.share-error {
    margin: 10px 0 0;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 700;
}

.share-status {
    margin: 10px 0 0;
    color: #047857;
    font-size: 13px;
    font-weight: 800;
}

.share-empty {
    margin: 16px 0 0;
    color: #6b7280;
    font-size: 13px;
    font-weight: 700;
}

.share-user-list {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 16px 0 0;
    list-style: none;
}

.share-user-list li {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
}

.share-user-list span {
    min-width: 0;
    overflow: hidden;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.share-user-list button {
    border: none;
    background: transparent;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.board-access-denied {
    min-height: 100vh;
    display: grid;
    place-content: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
}

.board-access-denied h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
}

.board-access-denied p {
    margin: 0;
    color: #6b7280;
}

.board-access-denied button {
    justify-self: center;
    height: 40px;
    border: none;
    border-radius: 10px;
    padding: 0 14px;
    background: #111827;
    color: white;
    font-weight: 800;
}

@media (max-width: 1120px) {
    .board-list {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
    }

    .retro-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .retro-toolbar {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .home-page {
        padding: 0 20px 28px;
    }

    .home-header {
        margin: 0 -20px;
        padding: 0 20px;
    }

    .home-controls {
        align-items: flex-start;
        flex-direction: column;
    }

    .board-list,
    .create-board-panel {
        grid-template-columns: 1fr;
    }

    .timer-control {
        height: auto;
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .share-link-row,
    .column-create-row,
    .share-invite-row {
        flex-direction: column;
    }
}
