/* Custom styles using Tailwind */
.header-bg {
    background-color: #3f51b5; /* Màu xanh dương đậm */
}

.footer-bg {
    background-color: #303f9f; /* Màu xanh đậm hơn */
}

/* Lean Canvas Grid Layout */
.lean-canvas-grid-layout {
    display: grid;
    /* Default for mobile: single column */
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 16px; /* Gap between cards */
}

@media (min-width: 768px) {
    .lean-canvas-grid-layout {
        grid-template-columns: repeat(5, 1fr); /* 5 columns for desktop */
        grid-template-rows: repeat(2, minmax(180px, 1fr)); /* 2 rows, min height 180px */
        gap: 16px;
    }
    /* Specific placement for Lean Canvas components */
    .lean-canvas-grid-layout > :nth-child(1) { grid-column: 1 / span 1; grid-row: 1 / span 1; } /* Problem */
    .lean-canvas-grid-layout > :nth-child(2) { grid-column: 2 / span 1; grid-row: 1 / span 1; } /* Solution */
    .lean-canvas-grid-layout > :nth-child(3) { grid-column: 3 / span 1; grid-row: 1 / span 2; } /* Unique Value Proposition (spans 2 rows) */
    .lean-canvas-grid-layout > :nth-child(4) { grid-column: 4 / span 1; grid-row: 1 / span 1; } /* Channels */
    .lean-canvas-grid-layout > :nth-child(5) { grid-column: 5 / span 1; grid-row: 1 / span 1; } /* Customer Segments */
    .lean-canvas-grid-layout > :nth-child(6) { grid-column: 1 / span 1; grid-row: 2 / span 1; } /* Key Metrics */
    .lean-canvas-grid-layout > :nth-child(7) { grid-column: 2 / span 1; grid-row: 2 / span 1; } /* Unfair Advantage */
    .lean-canvas-grid-layout > :nth-child(8) { grid-column: 4 / span 1; grid-row: 2 / span 1; } /* Cost Structure */
    .lean-canvas-grid-layout > :nth-child(9) { grid-column: 5 / span 1; grid-row: 2 / span 1; } /* Revenue Streams */
}


.lc-card {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-title {
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-semibold */
    color: #4b5563; /* text-gray-700 */
    margin-bottom: 0.5rem;
    height: 3.5rem; /* Đảm bảo chiều cao cố định cho tiêu đề */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.card-content {
    background-color: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 0.75rem;
    flex-grow: 1;
    resize: vertical;
    width: 100%;
    font-size: 0.875rem; /* text-sm */
    line-height: 1.5;
    outline: none;
    transition: border-color 0.2s ease-in-out;
}

.card-content:focus {
    border-color: #3b82f6; /* ring-blue-500 */
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

/* Ensure cards take full width on mobile */
@media (max-width: 767px) {
    .lc-card {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
}
