/* batch Container */
.batch {
background: #ffffff;
width: 100%;
max-width: 440px;
border-radius: 24px;
padding: 24px 20px 20px 24px;
border: 1px solid var(--bs-border-color);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Header Section */
.batch-header {
display: flex;
justify-content: space-between;
align-items: center;
padding-bottom: 12px;
border-bottom: 1px solid #eef2f5;
}
.batch-title {
color: #0c383e;
font-size: 1.25rem;
line-height: 1;
font-weight: 700;
}
/* Filter Tabs */
.batch .tabs {
display: flex;
gap: 16px;
align-items: center;
overflow-x: auto;
overflow-y: hidden;
max-width: 215px;
}
.tab {
background: none;
border: none;
color: #6c757d;
font-size: 0.95rem;
font-weight: 500;
cursor: pointer;
padding-bottom: 6px;
position: relative;
transition: color 0.2s;
}
.tab.active {
color: #10a368;
font-weight: 600;
}
/* Active Green Indicator Line */
.tab.active::after {
content: '';
position: absolute;
bottom: -13px;
left: 50%;
transform: translateX(-50%);
width: 24px;
height: 3px;
background-color: #10a368;
border-radius: 2px;
}
/* Scrollable List Body */
.batch-list {
margin-top: 16px;
max-height: 350px;
overflow-y: auto;
padding-right: 10px;
display: flex;
flex-direction: column;
gap: 12px;
}
/* Custom Scrollbar */
.batch-list::-webkit-scrollbar {
width: 6px;
}
.batch-list::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
}
.batch-list::-webkit-scrollbar-thumb {
background: #c5c8cd;
border-radius: 10px;
}
.batch-list::-webkit-scrollbar-thumb:hover {
background: #a3a7ad;
}
/* Container for Item + Details border wrapper */
.batch-group {
display: flex;
flex-direction: column;
border: 1px solid #e5e9ee;
border-radius: 12px;
transition: border-color 0.2s;
}
.batch-group:hover {
border-color: #c0c7d0;
}
/* Item Header Button */
.batch-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 14px 16px;
background-color: #ffffff;
border-radius: 12px;
cursor: pointer;
}
.batch-date {
color: #5a6578;
font-size: 0.95rem;
font-weight: 500;
}
.batch-actions {
display: flex;
align-items: center;
gap: 5px;
}
/* Status Badges */
.status-badge {
font-size: 0.8rem;
font-weight: 500;
padding: 4px 14px;
border-radius: 12px;
line-height: 1.2;
}
.status-badge.open {
background-color: #0c5070;
color: #ffffff;
}
.status-badge.passed
 {
background-color: #ff9800;
color: #ffffff;
}
.status-badge.upcoming
{
background-color: #2196f3;
color: #ffffff;
}
.status-badge.closed
{
background-color: #ff000c;
color: #ffffff;
}
/* Up / Down Arrow Toggle */
.arrow-icon {
width: 16px;
height: 16px;
stroke: #5a6578;
stroke-width: 2.2;
stroke-linecap: round;
stroke-linejoin: round;
fill: none;
transition: transform 0.2s ease;
}
/* Rotate arrow when active */
.batch-group.active .arrow-icon {
transform: rotate(180deg);
}
/* Details Dropdown Content */
.batch-details {
display: none;
background-color: #f8f9fa;
border-top: 1px solid #eef2f5;
padding: 14px 16px;
border-radius: 0 0 12px 12px;
justify-content: space-between;
}
.batch-group.active .batch-details {
display: flex;
}
.detail-col {
display: flex;
flex-direction: column;
gap: 0px;
font-size: 0.9rem;
}
.detail-title {
color: #495057;
font-weight: 600;
}
.detail-title span {
color: #718096;
font-weight: 400;
}
.detail-time {
color: #718096;
font-size: 12px;
}
.detail-time .highlight {
color: #43a047;
font-weight: 600;
}