/* Box Sizing Reset */
.flm-uo-cert-fullwidth-wrapper,
.flm-uo-cert-fullwidth-wrapper * {
box-sizing: border-box;
}

/* Outer Wrapper - 100% Spacing */
.flm-uo-cert-fullwidth-wrapper {
width: 100%;
display: flex;
flex-direction: column;
gap: 24px;
margin: 20px 0;
}

/* Section Containers - 100% Full Width */
.flm-uo-cert-container {
width: 100%;
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 12px;
padding: 24px;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
color: #1f2937;
}

/* Header */
.flm-uo-cert-header {
width: 100%;
display: flex;
align-items: center;
gap: 16px;
margin-bottom: 20px;
padding-bottom: 16px;
border-bottom: 1px solid #f3f4f6;
}

.flm-uo-cert-icon {
background-color: #eff6ff;
color: #2563eb;
padding: 12px;
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}

.flm-uo-cert-icon.warning-icon {
background-color: #fffbebf7;
color: #d97706;
}

.flm-uo-cert-title {
margin: 0;
font-size: 1.15rem;
font-weight: 600;
color: #111827;
}

.flm-uo-cert-desc {
margin: 4px 0 0 0;
font-size: 0.85rem;
color: #6b7280;
}

/* Card List */
.flm-uo-cert-grid {
width: 100%;
display: flex;
flex-direction: column;
gap: 16px;
}

/* Card Styling */
.flm-uo-cert-card {
width: 100%;
border: 1px solid #e5e7eb;
border-radius: 10px;
padding: 20px;
background-color: #f9fafb;
display: flex;
flex-direction: column;
}

.flm-uo-cert-card.ready {
border-color: #bbf7d0;
background-color: #f0fdf4;
}

.flm-uo-cert-card.promo-card {
background-color: #ffffff;
border: 1px solid #d1d5db;
}

.flm-uo-cert-card-header {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}

/* Parallel Title and Action Layout */
.flm-uo-cert-title-row {
width: 100%;
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 16px;
margin-bottom: 12px;
}

.flm-uo-cert-title-area {
flex: 1;
}

.flm-uo-cert-card h4 {
margin: 0 0 4px 0;
font-size: 1.05rem;
font-weight: 600;
color: #111827;
}

.flm-uo-cert-subtext {
font-size: 0.85rem;
color: #4b5563;
margin: 0;
}

.uo-cert-count {
font-size: 0.8rem;
font-weight: 600;
color: #6b7280;
}

/* Badges */
.uo-badge {
font-size: 0.7rem;
font-weight: 700;
padding: 4px 8px;
border-radius: 6px;
text-transform: uppercase;
letter-spacing: 0.025em;
}

.uo-badge-success { background: #dcfce7; color: #15803d; }
.flm-uo-badge-warning { background: #fef3c7; color: #b45309; }
.uo-badge-info { background: #dbeafe; color: #1d4ed8; }

/* Button Action Wrapper Controls - Positioned Parallel */
.flm-uo-cert-card-actions,
.uo-cert-footer-action {
display: flex;
justify-content: flex-end;
flex-shrink: 0;
}

/* Progress Bars */
.flm-uo-cert-progress-bar {
width: 100%;
height: 8px;
background-color: #e5e7eb;
border-radius: 9999px;
overflow: hidden;
margin-bottom: 12px;
}

.flm-uo-cert-progress-fill {
height: 100%;
background-color: #2563eb;
border-radius: 9999px;
transition: width 0.3s ease;
}

.flm-uo-cert-card.ready .flm-uo-cert-progress-fill {
background-color: #16a34a;
}

/* Scenario 2 Tag */
.uo-cert-remaining-tag {
font-size: 0.8rem;
font-weight: 600;
color: #d97706;
background: #fffbe0;
padding: 4px 10px;
border-radius: 20px;
border: 1px solid #fef3c7;
white-space: nowrap;
}

.uo-cert-requirements {
width: 100%;
margin-top: 12px;
padding-top: 12px;
border-top: 1px dashed #e5e7eb;
}

.uo-req-title {
font-size: 0.85rem;
font-weight: 600;
color: #374151;
margin: 0 0 10px 0;
}

.uo-req-list {
width: 100%;
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
gap: 10px;
}

.uo-req-list li {
width: 100%;
font-size: 0.875rem;
display: flex;
align-items: center;
gap: 10px;
color: #4b5563;
}

.uo-req-list li.status-done {
color: #16a34a;
}

.uo-req-list li.status-missing a {
color: #2563eb;
text-decoration: underline;
font-weight: 500;
}

/* Compact Button Rules */
.uo-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: auto;
padding: 8px 18px;
font-size: 0.875rem;
font-weight: 500;
border-radius: 6px;
text-decoration: none !important;
transition: all 0.2s ease;
cursor: pointer;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
white-space: nowrap;
}

.uo-btn-primary {
background-color: #16a34a;
color: #ffffff !important;
border: 1px solid #15803d;
}

.uo-btn-primary:hover {
background-color: #15803d;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.uo-btn-outline {
background-color: #ffffff;
color: #2563eb !important;
border: 1px solid #2563eb;
}

.uo-btn-outline:hover {
background-color: #eff6ff;
border-color: #1d4ed8;
color: #1d4ed8 !important;
}

.flm-uo-btn-disabled {
background-color: #f3f4f6;
color: #9ca3af !important;
border: 1px solid #e5e7eb;
cursor: not-allowed;
box-shadow: none;
}

/* Responsive collapse on narrow screens */
@media (max-width: 640px) {
.flm-uo-cert-title-row {
  flex-direction: column;
  gap: 12px;
}
.flm-uo-cert-card-actions,
.uo-cert-footer-action {
  width: 100%;
}
.uo-btn {
  width: 100%;
  white-space: normal;
}
}








.flm-fail span {
    color: white;
    background: red;
}
.flm-pass span {
    color: white;
    background: green;
}
.flm-not_available span {
    color: black;
    background: yellow;
}
.flm-no-status span {
    color: #9CA3AF;
    background: #E5E7EB;
}

.ld-course-status.ld-course-status-not-enrolled {
  background: #f0f3f6;
  border-radius: 6px;
  display: flex;
  margin: 1em 0;
  padding: 1em 0;
}

.ld-course-status-segment {
  border-right: 2px solid #bec5cb;
  flex: 1 auto;
  justify-content: space-around;
  padding: 0 1em;
  text-align: center;
  width: 33%;
}

.ld-status-waiting{
  border-radius: 12px;
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  /* line-height: 1.1; */
  margin-bottom: 5px;
  /* padding: 5px 12px; */
  text-align: center;
  text-transform: uppercase;
  background-color: #ffd200;
  color: #000000bf;
}


