* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background-color: #f5f5f5;
}

.header {
    background-color: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo h1 {
    color: #2c5f4f;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
}
.logo img {
    width: 240px;        /* logo size */
    height: auto;        /* keep aspect ratio */
    /*position: absolute;*/
    left: 20px;
    right: 20px;
}

.logo p {
    color: #8bc34a;
    font-size: 14px;
    letter-spacing: 3px;
}

.login-btn {
    background-color: #8bc34a;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-btn:hover {
    background-color: #7cb342;
}

.green-banner {
    background: linear-gradient(135deg, #8bc34a 0%, #7cb342 100%);
    padding: 40px;
    min-height: 100px;
}

.dashboard {
    max-width: 1200px;
    margin: -30px auto 40px;
    padding: 0 40px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.card {
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
}

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

.card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f9f9f9;
}

.card.disabled .icon {
    background-color: #e0e0e0;
}

.icon {
    width: 60px;
    height: 60px;
    background-color: #8bc34a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.card-content h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
}

.card-content p {
    font-size: 13px;
    color: #666;
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .header {
        padding: 15px 20px;
    }

    .dashboard {
        padding: 0 20px;
    }
}

.card .icon {
    width: 48px;          /* same visual size as SVG */
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
