﻿header {

    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    z-index: 999;
}

/* Hide mobile cards on desktop */
.mobile-view {
    display: none;
}

/* Hide desktop grid on mobile */
@media (max-width: 768px) {
    .desktop-view {
        display: none;
    }

    .mobile-view {
        display: block;
        width: 100%;
    }

    table tbody {
        display: block;
        width: 100%;
    }

    table tbody tr {
        display: block;
        width: 100%;
    }

    table tbody tr td {
        display: block;
        width: 100%;
    }
}

.mobile-view table {
    width: 100% !important; /* Full width */
    border-collapse: collapse; /* Remove gaps between cells */
    table-layout: fixed; /* Fix column widths */
}

    /* Table cells full-width on mobile */
    .mobile-view table tbody tr,
    .mobile-view table tbody td {
        display: block; /* Stack rows and cells */
        width: 100% !important; /* Full width */
        box-sizing: border-box; /* Include padding */
        margin: 0; /* Remove default margin */
        padding: 0.5rem 1rem; /* Optional padding for spacing */
    }

    /* Optional: add spacing between "cards" */
    .mobile-view table tbody tr {
        margin-bottom: 1rem;
        border: 1px solid #e0e0e0;
        border-radius: 0.5rem;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }
.mcard {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 0;
    max-width: 500px;
    margin: 10px auto;
}

.mcard-header {
    margin: 5px;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #e8e8e8;
    background: #fff;
}

.mcard-body {
    padding: 10px 15px;
}

/* Grid inside card */
.grid-1 {
    display: grid;
    grid-template-columns: 1fr; /* one column */
    gap: 15px; /* spacing between items */
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns even on mobile */
    gap: 5px;
}

.grid-item {
    padding: 3px;
    border-radius: 3px;
    font-size:14px;
}

.box {
    max-width: 400px;
    width: 100%; /* lets it shrink on small screens */
}
.box {
    max-width: 400px;
    width: 100%; /* lets it shrink on small screens */
    height: 100px;
    background: #ffffff;
    transition: background 0.2s;
    cursor: pointer;
    border: 1px solid #dee2e6;
    vertical-align: middle;
    display: table;
    padding-top: 30px;
    font-size: 18px;
}

    .box:hover {
        border-color: #055da8; /* border appears on hover */
        background: #fffbed;

    }

        .box:hover button {
            font-weight: bold;
        }

.epic table > tbody > tr > td:first-child{
     font-weight:bold;
}
.epic table > tbody > tr > td:nth-child(2) {
    color: #032f92;
}