/* ── Tabbed Segment Styles ── */
.eval-tab-wrapper {
margin-bottom: 40px;
background: #fff;
padding: 10px;
border-radius: 16px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.eval-tab-scroll {
display: flex;
overflow-x: auto;
gap: 8px;
scroll-behavior: smooth;
}

.eval-tab {
padding: 14px 24px;
font-size: 14px;
font-weight: 600;
color: #64748b;
background: transparent;
border: none;
border-radius: 12px;
cursor: pointer;
transition: all 0.25s ease;
white-space: nowrap;
}

.eval-tab:hover {
color: #1a6b5c;
background: #f0fdfa;
}

.eval-tab.active {
color: #fff;
background: #1a6b5c;
box-shadow: 0 4px 12px rgba(26, 107, 92, 0.25);
}

/* Tab Visibility Functionality */
.eval-panel {
display: none;
animation: panelFadeIn 0.4s ease;
}

.eval-panel.active {
display: block;
}

@keyframes panelFadeIn {
from {
opacity: 0;
transform: translateY(8px);
}

to {
opacity: 1;
transform: translateY(0);
}
}

/* ── Interactive Premium Cards ── */
.eval-card {
display: flex;
flex-direction: column;
justify-content: space-between;
border-radius: 16px;
background: #fff;
height: 100%;
border: 1px solid #e2e8f0;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
overflow: hidden;
}

.eval-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

.eval-card-body {
padding: 24px;
flex-grow: 1;
}

.eval-badge {
display: inline-block;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.5px;
padding: 5px 12px;
border-radius: 30px;
margin-bottom: 16px;
}

.eval-title {
font-size: 19px;
font-weight: 700;
color: #0f172a;
line-height: 1.4;
margin-bottom: 12px;
}

.eval-desc {
font-size: 14px;
color: #64748b;
line-height: 1.6;
margin-bottom: 20px;
}

/* Feature Bullet Items */
.eval-features {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 10px;
}

.eval-features li {
font-size: 13.5px;
color: #334155;
display: flex;
align-items: center;
gap: 10px;
}

.eval-features li i {
font-size: 14px;
}

/* Color Variant Set Rules */
.eval-green {
border-top: 4px solid #1a6b5c;
}

.eval-green .eval-badge {
background: #e6f5f0;
color: #1a6b5c;
}

.eval-green .eval-features li i {
color: #1a6b5c;
}

.eval-blue {
border-top: 4px solid #1A5276;
}

.eval-blue .eval-badge {
background: #e8f1fb;
color: #1A5276;
}

.eval-blue .eval-features li i {
color: #1A5276;
}

.eval-orange {
border-top: 4px solid #9a5d0a;
}

.eval-orange .eval-badge {
background: #fef3e2;
color: #9a5d0a;
}

.eval-orange .eval-features li i {
color: #9a5d0a;
}

.eval-teal {
border-top: 4px solid #0a7565;
}

.eval-teal .eval-badge {
background: #e0f4f0;
color: #0a7565;
}

.eval-teal .eval-features li i {
color: #0a7565;
}

.eval-pink {
border-top: 4px solid #8e2461;
}

.eval-pink .eval-badge {
background: #fdedf4;
color: #8e2461;
}

.eval-pink .eval-features li i {
color: #8e2461;
}

.eval-purple {
border-top: 4px solid #5b3fa0;
}

.eval-purple .eval-badge {
background: #f0ecfb;
color: #5b3fa0;
}

.eval-purple .eval-features li i {
color: #5b3fa0;
}

/* Modern Integrated Footer Actions Bar */
.eval-card-actions {
display: flex;
border-top: 1px solid #f1f5f9;
background: #f8fafc;
padding: 12px 20px;
gap: 10px;
}

.eval-card-actions a {
flex: 1;
text-align: center;
padding: 9px 12px;
font-size: 13px;
font-weight: 600;
text-decoration: none;
border-radius: 8px;
transition: all 0.2s ease;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
}

.btn-view-policy {
background: #fff;
color: #475569;
border: 1px solid #cbd5e1;
}

.btn-view-policy:hover {
background: #f1f5f9;
color: #1e293b;
}

.btn-download-pdf {
background: #1a6b5c;
color: #fff;
border: 1px solid transparent;
}

.btn-download-pdf:hover {
background: #145347;
color: #fff;
}

/* ── Grading Matrix Presentation Card ── */
.table-container-card {
background: #fff;
border-radius: 16px;
border: 1px solid #e2e8f0;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.table-card-header {
padding: 24px;
border-bottom: 1px solid #e2e8f0;
background: #fff;
}

.grading-table {
margin: 0;
width: 100%;
}

.grading-table thead th {
background: #f8fafc;
color: #475569;
font-weight: 700;
font-size: 13px;
text-transform: uppercase;
letter-spacing: 0.5px;
padding: 16px 24px;
border-bottom: 2px solid #e2e8f0;
}

.grading-table tbody td {
padding: 16px 24px;
vertical-align: middle;
font-size: 14px;
color: #334155;
border-bottom: 1px solid #f1f5f9;
}

/* Grade Badge Styles */
.grade-pill {
display: inline-block;
padding: 4px 12px;
font-weight: 700;
font-size: 12px;
border-radius: 6px;
text-align: center;
min-width: 45px;
}

.grade-a1 {
background: #d1fae5;
color: #065f46;
}

.grade-a2 {
background: #e0f2fe;
color: #0369a1;
}

.grade-b1 {
background: #e0f4f0;
color: #0a7565;
}

.grade-b2 {
background: #f0ecfb;
color: #5b3fa0;
}

.grade-c1 {
background: #fef3e2;
color: #9a5d0a;
}

.grade-d {
background: #fff7ed;
color: #c2410c;
}

.grade-e {
background: #fee2e2;
color: #991b1b;
}

/* Responsive Adaptations */
@media (max-width: 768px) {
.eval-tab {
padding: 10px 16px;
font-size: 13px;
}
}

/* ── Rules Card Layout Structure ── */
.rules-card {
display: flex;
flex-direction: column;
justify-content: space-between;
border-radius: 20px;
background: #fff;
height: 100%;
border: 1px solid #e2e8f0;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
overflow: hidden;
position: relative;
}

.rules-card:hover {
transform: translateY(-6px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

.rules-card-body {
padding: 30px 24px 30px 24px;
position: relative;
}

/* Icon Accents styling */
.rule-icon-wrapper {
width: 50px;
height: 50px;
border-radius: 14px;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 22px;
margin-bottom: 20px;
transition: transform 0.3s ease;
}

.rules-card:hover .rule-icon-wrapper {
transform: scale(1.1);
}

.rule-badge {
display: block;
position: absolute;
top: 30px;
right: 24px;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.5px;
text-transform: uppercase;
padding: 4px 12px;
border-radius: 30px;
}

.rule-title {
font-size: 19px;
font-weight: 700;
color: #0f172a;
line-height: 1.4;
margin-bottom: 12px;
}

.rule-desc {
font-size: 14px;
color: #64748b;
line-height: 1.6;
margin-bottom: 20px;
}

/* Customized Bullet List Content */
.rule-bullets {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 12px;
border-top: 1px dashed #e2e8f0;
padding-top: 20px;
}

.rule-bullets li {
font-size: 13.5px;
color: #334155;
display: flex;
align-items: flex-start;
gap: 10px;
line-height: 1.4;
}

.rule-bullets li i {
font-size: 10px;
margin-top: 5px;
flex-shrink: 0;
}

/* Dynamic Aesthetic Variation Palette Setup */
.rule-teal {
border-top: 5px solid #1a6b5c;
}

.rule-teal .rule-icon-wrapper {
background: #e6f5f0;
color: #1a6b5c;
}

.rule-teal .rule-badge {
background: #e6f5f0;
color: #1a6b5c;
}

.rule-teal .rule-bullets li i {
color: #1a6b5c;
}

.rule-blue {
border-top: 5px solid #1A5276;
}

.rule-blue .rule-icon-wrapper {
background: #e8f1fb;
color: #1A5276;
}

.rule-blue .rule-badge {
background: #e8f1fb;
color: #1A5276;
}

.rule-blue .rule-bullets li i {
color: #1A5276;
}

.rule-green {
border-top: 5px solid #0a7565;
}

.rule-green .rule-icon-wrapper {
background: #e0f4f0;
color: #0a7565;
}

.rule-green .rule-badge {
background: #e0f4f0;
color: #0a7565;
}

.rule-green .rule-bullets li i {
color: #0a7565;
}

.rule-orange {
border-top: 5px solid #9a5d0a;
}

.rule-orange .rule-icon-wrapper {
background: #fef3e2;
color: #9a5d0a;
}

.rule-orange .rule-badge {
background: #fef3e2;
color: #9a5d0a;
}

.rule-orange .rule-bullets li i {
color: #9a5d0a;
}

.rule-purple {
border-top: 5px solid #5b3fa0;
}

.rule-purple .rule-icon-wrapper {
background: #f0ecfb;
color: #5b3fa0;
}

.rule-purple .rule-badge {
background: #f0ecfb;
color: #5b3fa0;
}

.rule-purple .rule-bullets li i {
color: #5b3fa0;
}

.rule-pink {
border-top: 5px solid #8e2461;
}

.rule-pink .rule-icon-wrapper {
background: #fdedf4;
color: #8e2461;
}

.rule-pink .rule-badge {
background: #fdedf4;
color: #8e2461;
}

.rule-pink .rule-bullets li i {
color: #8e2461;
}

/* Bottom layout notice callout block */
.notice-info-box {
background: #fff;
padding: 18px 24px;
border-radius: 12px;
border-left: 4px solid #1a6b5c;
display: inline-block;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
text-align: left;
max-width: 800px;
}

[data-info-section="Evaluation1"] .eval-panel[hidden]{display:none!important}
[data-info-section="Evaluation1"] .eval-tab:focus-visible{outline:3px solid #1a6b5c;outline-offset:3px}
[data-info-section="Evaluation1"] a[aria-disabled="true"]{opacity:.5;cursor:default}
