.customer-overview-page {
    background: #f7f8fc;
    min-height: 100vh;
    padding: 1.5rem;
}

.customer-overview-card {
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
    border-radius: 14px;
}

.customer-overview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.customer-overview-table {
    width: 100%;
}

.customer-col-contact,
.customer-col-tax,
.customer-col-address {
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .customer-col-address {
        display: none;
    }
}

@media (max-width: 768px) {
    .customer-overview-page {
        padding: 1rem;
    }

    .customer-col-tax {
        display: none;
    }
}

@media (max-width: 600px) {
    .customer-col-contact {
        display: none;
    }
}

.flow-board-card {
    margin-top: 1rem;
}

.flow-board {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.flow-column {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.08);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 220px;
    position: relative;
}

.flow-column--active {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.flow-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: #0f172a;
}

.flow-count {
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: 999px;
    padding: 0.2rem 0.6rem;
    font-size: 0.85rem;
}

.flow-column-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-bottom: 2.5rem;
}

.flow-empty {
    color: #64748b;
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

.flow-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.flow-card[draggable="true"] {
    cursor: grab;
}

.flow-card[draggable="true"]:active {
    cursor: grabbing;
}

.flow-card--ready {
    border-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.15);
}

.flow-card--alert {
    border-color: #ef4444;
    background: #fef2f2;
}

.flow-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.flow-card-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
}

.flow-card-line span {
    white-space: nowrap;
}

.flow-card-number,
.flow-card-amount {
    font-weight: 600;
    color: #0f172a;
}

.flow-card-company {
    color: #475569;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.flow-card-separator {
    color: #94a3b8;
}

.flow-card-due {
    color: #b91c1c;
    font-weight: 600;
}

.flow-card-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.flow-card-action {
    min-width: 36px;
    min-height: 36px;
    padding: 0;
}

.flow-card-title {
    font-weight: 600;
    color: #0f172a;
}

.flow-card-menu {
    min-width: 36px;
    min-height: 36px;
    padding: 0;
}

.flow-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    color: #475569;
    font-size: 0.9rem;
}

.flow-card-total {
    font-weight: 600;
    color: #0f172a;
}

.flow-card-status {
    background: #e2e8f0;
    color: #475569;
    border-radius: 999px;
    padding: 0.15rem 0.6rem;
    font-size: 0.8rem;
    align-self: flex-start;
}

.flow-card-due {
    color: #b91c1c;
    font-size: 0.85rem;
    font-weight: 600;
}

.flow-card-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.flow-card-link {
    min-height: 36px;
}

.flow-add-button {
    position: absolute;
    left: 0.75rem;
    bottom: 0.75rem;
    border-radius: 999px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
}

@media (min-width: 768px) {
    .flow-board {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .flow-column {
        flex: 1 1 calc(50% - 0.5rem);
    }
}

@media (min-width: 1100px) {
    .flow-column {
        flex: 1 1 calc(33.333% - 0.75rem);
    }
}
