main {
    display: flex;
}

.content {
    flex: 1; /* Neemt alle beschikbare ruimte in */
    padding: 2rem;
}

/* ===== PAGE HEADER ===== */
.page-header {
    margin-bottom: 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between; /* Verdeelt items met ruimte ertussen */
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap; /* Wrappen naar volgende regel op kleine schermen */
}

.header-text-content h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.header-text-content p {
    color: #6b7280;
    font-size: 1.1rem;
}

.add-project-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #9B6A6c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    white-space: nowrap; /* Voorkomt line-break in button tekst */
}

.add-project-btn:hover {
    background-color: #8a5d5f;
    transform: translateY(-1px); /* Zweef-effect */
}

.add-project-btn:active {
    transform: translateY(0);
}

/* ===== Overview Cards ===== */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cards-container .box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    flex: 1 1 calc(25% - 1.125rem); /* 4 kaarten per rij, minus gap compensatie */
    min-width: 250px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Verdeelt ruimte tussen top en bottom */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cards-container .box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cards-container .box .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.zwart {
    color: black;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.roze {
    color: #E2B4BD;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.groen {
    color: #A3C1AD;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.entries-filter {
    display: flex;
    margin: 2rem 0 1rem 0;
    background-color: #f3f4f6;
    color: #1f2937;
    width: fit-content; /* Breedte past zich aan aan content */
    gap: 1rem;
}
.entries-filter span {
    background-color: #f8f9fa;
    color: #424b54;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.entries-filter span:hover {
    background-color: #9B6A6c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(155, 106, 108, 0.2);
}

.entries-filter span.active {
    background-color: #9B6A6c;
    color: #ede7e3;
    border-color: #424b54;
} 
.entries-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.entries-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.entry-card {
    border: rgb(229, 231, 235) 1px solid;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s, background-color 0.2s;
    padding: 20px;
    color: #424b54;
    border-radius: 8px;
}

/* Afwisselende kleuren voor zebra-striping effect */
.entry-card:nth-child(even) {
    background-color: #c9a5a8;
}

.entry-card:nth-child(odd) {
    background-color: #93A8AC;
}

.entry-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.entry-header {
    display: flex;
    margin-bottom: 0.5rem;
}
.entry-header h3 {
    font-size: 1.2rem; 
    font-weight: 600; 
    color: #1f2937; 
    margin-right: 1rem;
}
.role {
    font-size: 1rem; 
    font-weight: 600;
    padding: 0.25rem 0.75rem; 
    border-radius: 20px; /* Pill-vorm */
    color: white;
    margin-right: 1rem;
}

.who {
    font-size: 1rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px; 
}

/* Kleurenschema gekoppeld aan card achtergrond */
.entry-card:nth-child(even) .role {
    background-color: #A3C1AD;
}

.entry-card:nth-child(odd) .role {
    background-color: #c9a5a8;
}

.entry-card:nth-child(even) .who {
    color: #567265;
}

.entry-card:nth-child(odd) .who {
    color: #424b54;
}

.entry-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.entry-info span {
    font-size: 2rem;
    font-weight: 600; 
    color: #567265;
}

.entry-footer{
    display: flex;
    margin-top: 0.5rem;
}
.entry-footer svg {
    margin-right: 0.5rem;
}
.date {
    font-size: 0.9rem;
    color: #424b54; 
    margin-bottom: 0.75rem;
    margin-right: 0.75rem;
    padding-top: 0.2rem;
}

.project{
    font-size: 1rem;
    font-weight: 500;
    color: #424b54;
    padding-top: 0.2rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .cards-container .box {
        flex: 1 1 calc(33.333% - 1rem); /* 3 kaarten per rij */
    }
}

@media (max-width: 900px) {
    .cards-container .box {
        flex: 1 1 calc(50% - 0.75rem); /* 2 kaarten per rij */
    }
    
    .header-content {
        flex-direction: column; /* Stapelt titel en button verticaal */
        align-items: flex-start;
        gap: 1rem;
    }
    
    .header-text-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    .content {
        padding: 1rem;
    }
    
    .cards-container {
        gap: 1rem;
    }
    
    .cards-container .box {
        flex: 1 1 100%; /* 1 kaart per rij op mobiel */
        min-width: unset; /* Reset min-width */
    }
    
    .header-text-content h1 {
        font-size: 1.75rem;
    }
    
    .entries-filter {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .entries-filter span {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .entry-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .entry-footer {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

