/**
 * WCAG Badge Public Display - Compact Footer Version
 * Version: 2.1.0 - Optimized for Footer Display
 */

/* ============================================
   BASE STYLES
   ============================================ */

* {
    box-sizing: border-box;
}

/* ============================================
   MAIN BADGE CONTAINER - COMPACT
   ============================================ */

.wcag-badge-public {
    background: transparent;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    max-width: 220px;
    box-shadow: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin: 6px auto;
    transition: all 0.3s ease;
}

.wcag-badge-public:hover {
    box-shadow: none;
    transform: none;
}

/* ============================================
   BADGE HEADER CONTAINER - COMPACT
   ============================================ */

.wcag-badge-public-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

/* ============================================
   WCAG OFFICIAL ICON - COMPACT
   ============================================ */

.wcag-badge-public-icon {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.wcag-badge-public-icon img {
    width: 56px;
    height: 20px;
    display: block;
    object-fit: contain;
}

/* META ย้ายออกมาด้านล่างแล้ว - ไม่อยู่ใน icon อีกต่อไป
.wcag-badge-public-icon .wcag-badge-public-meta {
    margin: 0;
    padding: 0;
    border: none;
    text-align: center;
}

.wcag-badge-public-icon .wcag-badge-public-meta small {
    font-size: 9px !important;
    white-space: nowrap;
    position: relative;
    top: -53px;
    left: -2px;
}
*/

/* ============================================
   BADGE CONTENT SECTION - COMPACT
   ============================================ */

.wcag-badge-public-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-left: 15px;
    height: auto;
    min-height: 50px;
}

/* ============================================
   ACCESSIBILITY SCORE LABEL
   ============================================ */

.wcag-badge-public-label {
    font-size: 7px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1;
}

/* ============================================
   SCORE DISPLAY - COMPACT
   ============================================ */

.wcag-badge-public-score {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.3px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff !important;
}

/* Score colors based on value - removed for white text */
.wcag-badge-public-score[style*="#2E7D32"] {
    text-shadow: none;
}

.wcag-badge-public-score[style*="#1565C0"] {
    text-shadow: none;
}

.wcag-badge-public-score[style*="#E65100"] {
    text-shadow: none;
}

.wcag-badge-public-score[style*="#C62828"] {
    text-shadow: none;
}

/* ============================================
   LEVEL BADGE - COMPACT
   ============================================ */

.wcag-badge-public-level {
    display: inline-block;
    padding: 3px 7px;
    border-radius: 8px;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    align-self: flex-start;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    transition: all 0.2s ease;
}

.wcag-badge-public-level:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

/* Grade color variants */
.wcag-badge-grade-aaa {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    color: #FFFFFF;
}

.wcag-badge-grade-aa {
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
    color: #FFFFFF;
}

.wcag-badge-grade-a {
    background: linear-gradient(135deg, #E65100 0%, #BF360C 100%);
    color: #FFFFFF;
}

.wcag-badge-grade-b {
    background: linear-gradient(135deg, #F57C00 0%, #E65100 100%);
    color: #FFFFFF;
}

.wcag-badge-grade-c {
    background: linear-gradient(135deg, #FBC02D 0%, #F9A825 100%);
    color: #000000;
}

.wcag-badge-grade-d {
    background: linear-gradient(135deg, #F57F17 0%, #F9A825 100%);
    color: #FFFFFF;
}

.wcag-badge-grade-f,
.wcag-badge-grade-failed {
    background: linear-gradient(135deg, #C62828 0%, #B71C1C 100%);
    color: #FFFFFF;
}

/* ============================================
   DETAILS TEXT - COMPACT
   ============================================ */

.wcag-badge-public-details {
    font-size: 7px;
    color: #ffffff;
    line-height: 1.3;
    margin-top: 1px;
}

.wcag-badge-public-details small {
    font-size: 9px !important;
    display: block;
    line-height: 1.3;
    color: #ffffff;
    position: relative;
    left: -147px;
    top: -37px;
}

/* ============================================
   META INFORMATION - COMPACT
   ============================================ */

.wcag-badge-public-meta {
    width: 100%;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    display: block;
}

.wcag-badge-public-meta small {
    color: #ffffff;
    font-size: 8px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.2px;
    display: block;
}

/* ============================================
   NO DATA STATE (Placeholder)
   ============================================ */

.wcag-badge-no-data {
    background: transparent;
    border: none;
    border-radius: 6px;
    padding: 8px 11px;
    text-align: center;
    color: #ffffff;
    font-size: 8px;
    max-width: 238px;
    margin: 8px 0;
    box-shadow: none;
}

.wcag-badge-no-data p {
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.wcag-badge-no-data p::before {
    content: "⚠";
    font-size: 18px;
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */

@media (max-width: 768px) {
    .wcag-badge-public {
        max-width: 100%;
        padding: 7px 10px;
    }

    .wcag-badge-public-container {
        gap: 8px;
    }

    .wcag-badge-public-score {
        font-size: 17px;
    }

    .wcag-badge-public-level {
        font-size: 7px;
        padding: 3px 6px;
    }

    .wcag-badge-public-label {
        font-size: 6px;
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */

@media (max-width: 480px) {
    .wcag-badge-public {
        padding: 7px 8px;
        max-width: 100%;
    }

    .wcag-badge-public-container {
        flex-direction: column;
        gap: 7px;
        text-align: center;
    }

    .wcag-badge-public-icon {
        align-self: center;
    }

    .wcag-badge-public-content {
        align-items: center;
        width: 100%;
    }

    .wcag-badge-public-score {
        font-size: 15px;
    }

    .wcag-badge-public-level {
        font-size: 7px;
        padding: 3px 6px;
        align-self: center;
    }

    .wcag-badge-public-label {
        font-size: 6px;
    }

    .wcag-badge-public-details {
        text-align: center;
        font-size: 6px;
    }

    .wcag-badge-no-data {
        padding: 7px 8px;
    }

    .wcag-badge-no-data p {
        font-size: 7px;
    }
}

/* ============================================
   SIZE VARIANTS - FOR EMBED
   ============================================ */

/* Small Size - Optimized for Sidebar/Embed (280px width) */
.wcag-badge-small {
    padding: 10px 12px;
    max-width: 280px;
    margin: 8px 0;
    border-radius: 6px;
}

.wcag-badge-small .wcag-badge-public-container {
    gap: 10px;
    margin-bottom: 6px;
}

.wcag-badge-small .wcag-badge-public-icon {
    width: 44px;
    height: 16px;
}

.wcag-badge-small .wcag-badge-public-icon img {
    width: 44px;
    height: 16px;
}

.wcag-badge-small .wcag-badge-public-content {
    gap: 4px;
}

.wcag-badge-small .wcag-badge-public-label {
    font-size: 7px;
    letter-spacing: 0.6px;
}

.wcag-badge-small .wcag-badge-public-score {
    font-size: 22px;
    letter-spacing: -0.4px;
}

.wcag-badge-small .wcag-badge-public-level {
    font-size: 8px;
    padding: 3px 8px;
    border-radius: 10px;
    letter-spacing: 0.5px;
}

.wcag-badge-small .wcag-badge-public-details {
    font-size: 7px;
    line-height: 1.3;
    margin-top: 1px;
}

.wcag-badge-small .wcag-badge-public-details small {
    font-size: 7px;
    line-height: 1.3;
}

.wcag-badge-small .wcag-badge-public-meta {
    margin-top: 6px;
    padding-top: 6px;
}

.wcag-badge-small .wcag-badge-public-meta small {
    font-size: 7px;
    letter-spacing: 0.3px;
}

/* Medium Size - Default Enhanced */
.wcag-badge-medium {
    padding: 14px 18px;
    max-width: 380px;
}

.wcag-badge-medium .wcag-badge-public-icon {
    width: 66px;
    height: 24px;
}

.wcag-badge-medium .wcag-badge-public-icon img {
    width: 66px;
    height: 24px;
}

.wcag-badge-medium .wcag-badge-public-score {
    font-size: 36px;
}

.wcag-badge-medium .wcag-badge-public-level {
    font-size: 11px;
    padding: 5px 12px;
}

/* Large Size - Modal Style */
.wcag-badge-large {
    padding: 12px 16px;
    max-width: 280px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.wcag-badge-large .wcag-badge-public-container {
    gap: 10px;
    margin-bottom: 6px;
}

.wcag-badge-large .wcag-badge-public-icon {
    width: 88px;
    height: 31px;
}

.wcag-badge-large .wcag-badge-public-icon img {
    width: 88px;
    height: 31px;
}

.wcag-badge-large .wcag-badge-public-content {
    gap: 3px;
    margin-left: 10px;
}

.wcag-badge-large .wcag-badge-public-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.wcag-badge-large .wcag-badge-public-score {
    font-size: 18px;
    letter-spacing: -0.3px;
    font-weight: 700;
}

.wcag-badge-large .wcag-badge-public-level {
    font-size: 13px;
    padding: 8px 18px;
    border-radius: 20px;
}

.wcag-badge-large .wcag-badge-public-details {
    font-size: 12px;
    margin-top: 8px;
}

.wcag-badge-large .wcag-badge-public-details small {
    font-size: 12px;
}

.wcag-badge-large .wcag-badge-public-meta {
    margin-top: 16px;
    padding-top: 16px;
}

/* ============================================
   LOGO ONLY MODE (detail='off')
   ============================================ */

/* Logo Only Container - กึ่งกลางและไม่มีรายละเอียดอื่น */
.wcag-badge-public.wcag-badge-logo-only {
    padding: 10px;
    max-width: fit-content;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Centered Icon Container */
.wcag-badge-public-icon-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.wcag-badge-public-icon-centered img {
    width: 150px;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto;
}

/* Logo Only - Small Size */
.wcag-badge-small.wcag-badge-logo-only .wcag-badge-public-icon-centered img {
    width: 120px;
}

/* Logo Only - Medium Size */
.wcag-badge-medium.wcag-badge-logo-only .wcag-badge-public-icon-centered img {
    width: 180px;
}

/* Logo Only - Large Size */
.wcag-badge-large.wcag-badge-logo-only .wcag-badge-public-icon-centered img {
    width: 220px;
}

/* Logo Only - Responsive Mobile */
@media (max-width: 480px) {
    .wcag-badge-public.wcag-badge-logo-only {
        padding: 8px;
    }

    .wcag-badge-public-icon-centered img {
        width: 100px;
    }

    .wcag-badge-small.wcag-badge-logo-only .wcag-badge-public-icon-centered img {
        width: 90px;
    }

    .wcag-badge-medium.wcag-badge-logo-only .wcag-badge-public-icon-centered img {
        width: 120px;
    }

    .wcag-badge-large.wcag-badge-logo-only .wcag-badge-public-icon-centered img {
        width: 150px;
    }
}

/* Logo Only - Responsive Tablet */
@media (max-width: 768px) and (min-width: 481px) {
    .wcag-badge-public-icon-centered img {
        width: 130px;
    }

    .wcag-badge-small.wcag-badge-logo-only .wcag-badge-public-icon-centered img {
        width: 110px;
    }

    .wcag-badge-medium.wcag-badge-logo-only .wcag-badge-public-icon-centered img {
        width: 160px;
    }

    .wcag-badge-large.wcag-badge-logo-only .wcag-badge-public-icon-centered img {
        width: 190px;
    }
}

/* ============================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================ */

/* Focus styles for keyboard navigation */
.wcag-badge-public:focus-within {
    outline: 3px solid #0066CC;
    outline-offset: 3px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .wcag-badge-public {
        border-width: 3px;
        border-color: #000000;
    }

    .wcag-badge-public-level {
        border: 2px solid currentColor;
    }

    .wcag-badge-no-data {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    .wcag-badge-public,
    .wcag-badge-public-level,
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .wcag-badge-public:hover {
        transform: none;
    }

    .wcag-badge-public-level:hover {
        transform: none;
    }
}

/* Dark mode support - keep transparent */
@media (prefers-color-scheme: dark) {
    .wcag-badge-public {
        background: transparent;
        border: none;
        color: #ffffff;
    }

    .wcag-badge-public-details {
        color: #ffffff;
    }

    .wcag-badge-public-meta small {
        color: #ffffff;
    }

    .wcag-badge-no-data {
        background: transparent;
        border: none;
        color: #ffffff;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .wcag-badge-public {
        box-shadow: none;
        border: none;
        page-break-inside: avoid;
        background: transparent;
        color: #000000;
    }

    .wcag-badge-public:hover {
        transform: none;
        box-shadow: none;
    }

    .wcag-badge-public-label,
    .wcag-badge-public-score,
    .wcag-badge-public-details,
    .wcag-badge-public-meta small {
        color: #000000 !important;
    }

    .wcag-badge-public-level {
        box-shadow: none;
        border: 2px solid #000000;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .wcag-badge-no-data {
        border: none;
        background: transparent;
        color: #000000;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Compact version */
.wcag-badge-public.wcag-badge-compact {
    padding: 16px;
    max-width: 350px;
}

.wcag-badge-public.wcag-badge-compact .wcag-badge-public-container {
    gap: 16px;
}

.wcag-badge-public.wcag-badge-compact .wcag-badge-public-score {
    font-size: 36px;
}

.wcag-badge-public.wcag-badge-compact .wcag-badge-public-level {
    font-size: 11px;
    padding: 6px 14px;
}

/* Centered alignment */
.wcag-badge-public.wcag-badge-centered {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   ANIMATION
   ============================================ */

@keyframes wcag-badge-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wcag-badge-public.wcag-badge-animate {
    animation: wcag-badge-fade-in 0.5s ease-out;
}

/* ============================================
   LOADING STATE
   ============================================ */

.wcag-badge-public.wcag-badge-loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.wcag-badge-public.wcag-badge-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid #0066CC;
    border-top-color: transparent;
    border-radius: 50%;
    animation: wcag-badge-spin 0.8s linear infinite;
}

@keyframes wcag-badge-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   RTL SUPPORT (Right-to-Left languages)
   ============================================ */

[dir="rtl"] .wcag-badge-public-container {
    flex-direction: row-reverse;
}

[dir="rtl"] .wcag-badge-public-level {
    align-self: flex-end;
}

/* ============================================
   SCREEN READER ONLY TEXT
   ============================================ */

.wcag-badge-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   FOOTER SPECIFIC STYLING (CUSTOM)
   ============================================ */

/* Center alignment helper for footer */
footer .wcag-badge-public,
.footer .wcag-badge-public {
    margin-left: auto;
    margin-right: auto;
}

/* W3C Logo in Footer - Enlarged */
#wcag-main-landmark .elementor-location-footer .elementor-element .e-con-inner .elementor-element .elementor-element .elementor-widget-shortcode .elementor-shortcode .wcag-badge-public .wcag-badge-public-container .wcag-badge-public-icon img {
    width: 150% !important;
}

/* Badge Content Area - Size Control */
.wcag-badge-public .wcag-badge-public-content {
    transform: translatex(0px) translatey(0px);
    min-width: 99px;
    max-width: 176px;
}

/* W3C Logo - Minimum Width */
.wcag-badge-public .wcag-badge-public-icon img {
    min-width: 115px;
}

/* Date Meta in Footer - Font Size */
.elementor-location-footer .elementor-element .wcag-badge-public-meta {
    font-size: 8px;
    line-height: 1em !important;
}

/* Date Small Tag - Font Size */
.wcag-badge-public .wcag-badge-public-meta small {
    font-size: 18px;
}

/* Footer Badge Transform */
.elementor-location-footer .elementor-element .wcag-badge-public {
    transform: translatex(0px) translatey(0px);
}

/* ============================================
   FOOTER RESPONSIVE - CUSTOM
   ============================================ */

/* 481px and larger screen sizes */
@media (min-width: 481px) {

    /* Badge Content Width in Footer */
    #wcag-main-landmark .elementor-location-footer .elementor-element .e-con-inner .elementor-element .elementor-element .elementor-widget-shortcode .elementor-shortcode .wcag-badge-public .wcag-badge-public-container .wcag-badge-public-content {
        width: 104px !important;
    }
}

/* 769px and larger screen sizes */
@media (min-width: 769px) {

    /* Score Font Size - Desktop */
    .wcag-badge-public .wcag-badge-public-score {
        font-size: 18px !important;
    }

    /* Level Badge Font Size - Desktop */
    .wcag-badge-public .wcag-badge-public-level {
        font-size: 11px !important;
    }

    /* Footer Badge Padding - Desktop */
    .elementor-location-footer .elementor-element .wcag-badge-public {
        padding-top: 0px;
        padding-right: 0px;
        padding-bottom: 0px;
        padding-left: 46px;
    }

    /* WCAG Checker Trigger - Desktop */
    #wcag-checker-trigger {
        width: 100%;
    }
}

/* ============================================
   WCAG CHECKER CONTROLS
   ============================================ */

/* Hide Current Score Display */
#wcag-current-score-display {
    display: none;
}

/* WCAG Checker Trigger Button */
#wcag-checker-trigger {
    text-align: center;
    justify-content: normal;
    align-content: center;
    float: none;
}

/* ============================================
   HIDE ACCESSIBILITY SCORE TEXT AND PERCENTAGE
   Custom modification to show logo only
   ============================================ */

/* Hide "ACCESSIBILITY SCORE" label */
.wcag-badge-public-label {
    display: none !important;
}

/* Hide percentage score value */
.wcag-badge-public-score {
    display: none !important;
}

/* ============================================
   SEVERITY LEVEL 4: MINOR BADGE
   ============================================ */

.wcag-severity-badge-public.wcag-severity-minor {
    background: #FFA000;
    color: #000000;
    font-weight: 700;
    border: 2px solid #FF8F00;
}

/* ============================================
   INFO ICON AND HEADER
   ============================================ */

.wcag-card-header-with-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 8px;
    gap: 8px;
}

.wcag-card-title-public {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.wcag-info-icon {
    cursor: help;
    opacity: 0.6;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1565C0;
}

.wcag-info-icon:hover {
    opacity: 1;
    transform: scale(1.1);
    color: #0D47A1;
}

.wcag-info-icon svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   SEVERITY INFO MODAL
   ============================================ */

.wcag-severity-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: none;
}

.wcag-severity-info-modal .wcag-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.wcag-severity-info-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.wcag-severity-info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 2px solid #E0E0E0;
    background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
    color: #ffffff;
}

.wcag-severity-info-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
}

.wcag-severity-info-header .wcag-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    padding: 0;
    color: #ffffff;
}

.wcag-severity-info-header .wcag-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.wcag-severity-info-body {
    padding: 28px;
    overflow-y: auto;
    flex: 1;
}

.wcag-severity-explanation {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wcag-severity-level-item {
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    padding: 20px;
    background: #FAFAFA;
    transition: all 0.2s ease;
}

.wcag-severity-level-item:hover {
    border-color: #1565C0;
    background: #F5F9FF;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.1);
}

.wcag-severity-level-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.wcag-severity-level-header strong {
    font-size: 18px;
    color: #1a1a1a;
}

.wcag-severity-level-desc {
    padding-left: 48px;
}

.wcag-severity-level-desc p {
    margin: 8px 0;
    line-height: 1.6;
    color: #424242;
}

.wcag-severity-level-desc p strong {
    color: #1565C0;
    font-weight: 600;
}

.wcag-severity-info-footer {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 2px solid #E0E0E0;
    background: #FFF9E6;
    padding: 16px;
    border-radius: 8px;
}

.wcag-severity-info-footer p {
    margin: 0;
    font-size: 14px;
    color: #5D4037;
    line-height: 1.5;
}

.wcag-severity-info-footer strong {
    color: #E65100;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .wcag-severity-info-content {
        width: 95%;
        max-height: 90vh;
    }

    .wcag-severity-info-header {
        padding: 20px;
    }

    .wcag-severity-info-header h3 {
        font-size: 18px;
    }

    .wcag-severity-info-body {
        padding: 20px;
    }

    .wcag-severity-level-header strong {
        font-size: 16px;
    }

    .wcag-severity-level-desc {
        padding-left: 0;
    }

    .wcag-card-header-with-info {
        padding: 10px 12px 6px;
    }
}
