﻿/* ================= BASE ================= */

.circular-section {
    background: #f8fafc;
    padding: 24px;
    border-radius: 18px;
    margin-top: 40px;
}

.oc-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.oc-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.oc-header p {
    font-size: 14px;
    color: #64748b;
    margin: 4px 0 0;
}

.circle-icon {
    width: 38px;
    height: 38px;
    background:  #3b82f6;
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================= TOOLBAR ================= */

.oc-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 24px 0;
    flex-wrap: wrap;
}

.oc-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
/* ===== FILTER PILLS (View-All Style) ===== */

.pill {
    background: #ffffff;
    border: 1.5px solid #3b82f6; /* same blue as View All */
    color: #2563eb;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Hover */
.pill:hover {
    background: #eff6ff;
    color: #1d4ed8;
}

/* Active (Filled Blue) */
.pill.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

/* Focus (optional) */
.pill:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}
.search-box input {
    border: none;
    padding: 8px 14px;
    border-radius: 20px;
    width: 220px;
    background: #eef2f7;
}

/* ================= CARD ================= */

.circular-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    }

.border-hr { border-left: 4px solid #3b82f6; }
.border-urgent { border-left: 4px solid #ef4444; }
.border-general { border-left: 4px solid #22c55e; }

.card-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.tag {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.tag.hr { background: #e0e7ff; color: #1d4ed8; }
.tag.urgent { background: #fee2e2; color: #b91c1c; }
.tag.general { background: #dcfce7; color: #15803d; }

.badge-new {
    font-size: 10px;
    background: #22c55e;
    color: #fff;
    padding: 2px 6px;
    border-radius: 8px;
}

.ref {
    font-size: 11px;
    color: #64748b;
    margin-left: auto;
}

.arrow {
    font-size: 22px;
    color: #94a3b8;
}

.circular-card h5 {
    font-size: 15px;
    font-weight: 600;
}

.circular-card p {
    font-size: 13px;
    color: #64748b;
}
/* Proper spacing between cards */
.circular-item {
   /* display: flex; */
}


.circular-card {
    width: 100%;
 👈 creates clear vertical gap */
}

/* ================= FOOTER ================= */

.card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 12px;
}

.card-footer a {
    color: #0ea5e9;
    text-decoration: none;
}
/* Equal height cards */
.circular-card {
    height: 100%;
}

/* Flex layout inside card */
.card-body-flex {
    display: flex;
    flex-direction: column;
    gap:10px;
    height: 100%;
}

/* Push footer to bottom */
.card-body-flex > .card-footer {
    margin-top: auto;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .search-box input {
        width: 100%;
    }

    .oc-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 576px) {
    .circle-icon {
        width: 32px;
        height: 32px;
    }

    .circular-card {
        padding: 14px;
    }
}



/* ================= CARD ================= */

.circular-card {
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    height: 100%;                /* equal height */
}

/* Inner flex layout */
.card-body-flex {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Push footer down */
.card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.oc-cards {
    row-gap: 24px;   /* vertical spacing */
}