
/* ===== Global Styles ===== */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

/* ===== Layout Container ===== */
.container {
    max-width: 1300px;
    margin: 30px auto;
    background: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* ===== Headings ===== */
h2 {
    color: #595252;
    border-bottom: 3px solid #FFC900;
    padding-bottom: 6px;
    margin-bottom: 15px;
}

/* ===== Placeholders ===== */
.placeholder {
    background: #fafafa;
    border: 1px dashed #ccc;
    padding: 20px;
    color: #999;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 30px;
}

/* ===== Tables ===== */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    color: #000;
}

th, td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #FFC900;
    color: #595252;
}

/* ===== Links / Logout ===== */
.logout {
    color: #FFC900;
    text-decoration: none;
    font-weight: bold;
}

.logout:hover {
    text-decoration: underline;
}

/* ===== Logo ===== */
img.logo {
    width: 150px;
    margin-bottom: 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 15px;
    background: #FFC900;
    color: #595252;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
}

.btn:hover {
    opacity: 0.9;
}

/* ===== Embryo status colors ===== */
.instorage { color: green; }
.used      { color: gray; }
.discarded { color: red; }

/* ===== Calendar ===== */
#calendar {
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
    width: 100%;
    overflow: hidden;
}

.fc-daygrid-day-frame {
    padding: 4px;
}

/* ===== Footer ===== */
.site-footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: #f4f4f4;
    color: #555;
    font-size: 14px;
}

.site-footer a {
    color: #555;
    text-decoration: none;
    margin: 0 10px;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* ===== HEADER ===== */
.site-header {
    background-color: #FFC900;
    padding: 20px;
    position: relative;
    text-align: left;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.site-header h1 {
    margin: 0;
    color: #595252;
    font-weight: bold;
    font-size: 1.4rem;
}

.site-header img.logo {
    width: 80px;
    height: auto;
    border-radius: 8px;
    margin-left: 15px;
}

/* ===== NAVIGATION ===== */
.site-nav {
    background: #595252;
    padding: 10px 20px;
    color: #FFC900;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-nav div {
    margin: 5px 0;
}

.site-nav a {
    color: #FFC900;
    text-decoration: none;
    margin-left: 15px;
    font-weight: normal;
}

.site-nav a:hover {
    text-decoration: underline;
}

/* ===== NOTIFICATION BELL ===== */
.icon-link {
    font-size: 20px;
    position: relative;
    text-decoration: none;
    color: #FFC900;
}

.icon-link span {
    position: absolute;
    top: -8px;
    right: -10px;
    background: red;
    color: white;
    font-size: 12px;
    border-radius: 50%;
    padding: 2px 6px;
}

/* ===== RESPONSIVE (MOBILE) ===== */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .site-header h1 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .site-header img.logo {
        margin: 10px 0;
        width: 60px;
    }

    .site-nav {
        flex-direction: column;
        text-align: center;
    }

    .site-nav a {
        margin: 5px 0;
    }
}

/* ===== Content Spacer ===== */
.content-spacer {
    margin-top: 40px;
}

/* ===== More Sections, Tables, Forms... ===== */


.btn-link {
    display: inline-block;
    padding: 8px 16px;
    margin: 5px;
    background-color: #FFC900;
    color: #595252;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.btn-link:hover {
    background-color: #FFC900;
}
.bcs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* exactly 2 per row */
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.chart-box {
    background: #fafafa;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
}

.chart-box canvas {
    width: 100% !important;
    height: 300px !important;   /* force same height */
    max-width: 400px;           /* keep them tidy */
    margin: 0 auto;
}
