:root {
    --dekra-green: #008752;
    --dekra-green-hover: #007044;
    --dekra-green-dark: #00502f;
    --dekra-green-light: #e6f6ee;
    --dekra-dark-nav: #08281a;
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --border-focus: #008752;
    --radius-lg: 12px;
    --radius-md: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================================================
   HEADER BAR (EXACT SPLIT LAYOUT AS IN MOCKUP)
   ========================================================================== */
.dekra-header-bar {
    display: flex;
    align-items: stretch;
    height: 72px;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.header-split-left {
    background-color: #ffffff;
    padding: 0 36px;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}
.header-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.header-logo-link img {
    height: 42px;
    width: auto;
}

.header-split-nav {
    background-color: var(--dekra-dark-nav);
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 32px;
}
.header-nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    height: 100%;
}
.nav-item {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 600;
    height: 100%;
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: color 0.15s ease;
    white-space: nowrap;
}
.nav-item:hover {
    color: #ffffff;
}
.nav-item.active {
    color: #ffffff;
    font-weight: 750;
}
.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--dekra-green);
    border-radius: 2px 2px 0 0;
}
.nav-logout {
    color: #f87171 !important;
    font-size: 0.9rem;
    gap: 6px;
}
.nav-logout:hover {
    color: #ef4444 !important;
}

.header-split-expert {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    flex: 0 0 auto;
    border-left: 1px solid #e2e8f0;
}
.expert-box-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.expert-title {
    font-size: 1.15rem;
    font-weight: 850;
    color: var(--dekra-green-dark);
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.expert-subtitle {
    font-size: 0.76rem;
    font-weight: 650;
    color: var(--text-muted);
    margin-top: 1px;
    white-space: nowrap;
}

/* ==========================================================================
   HERO SECTION (MATCHING MOCKUP LIGHT/DARK SPLIT)
   ========================================================================== */
.dekra-hero {
    background: linear-gradient(90deg, #ffffff 0%, #f8fafc 45%, #0d281c 90%, #081d14 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 56px 36px 64px;
    position: relative;
    overflow: hidden;
}
.hero-container {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-content {
    max-width: 760px;
}
.hero-eyebrow {
    display: inline-block;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.hero-title {
    font-size: 2.85rem;
    font-weight: 850;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #0f172a;
}
.hero-subtitle {
    font-size: 1.12rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 28px;
}
.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 650;
    color: #1e293b;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.feature-pill i {
    color: var(--dekra-green);
    font-size: 1.05rem;
}

.hero-side-badge {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: none;
    position: relative;
}
@media (min-width: 1024px) {
    .hero-side-badge {
        display: block;
    }
}
.hero-side-badge::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 28px;
    bottom: 28px;
    width: 3px;
    background-color: var(--dekra-green);
    border-radius: 2px;
}
.hero-side-badge .side-tagline {
    padding-left: 12px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: #ffffff;
    line-height: 1.9;
}

/* ==========================================================================
   MAIN CONTENT & EXPANDED WIDTH
   ========================================================================== */
.main-wrapper {
    max-width: 1320px;
    margin: 32px auto 60px;
    padding: 0 36px;
    width: 100%;
    flex: 1;
}

/* FLASH NOTICES */
.flash-notice {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 550;
}
.flash-notice.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.flash-notice.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* CARDS */
.dekra-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.card-header-step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 24px;
}
.step-number {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--dekra-green);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.card-title-group h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}
.card-title-group p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* EXPERT IDENTITY BANNER */
.expert-identity-banner {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-md);
    padding: 14px 20px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.95rem;
    color: #166534;
}
.expert-identity-banner strong {
    color: #14532d;
}

/* FORMS */
.form-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.form-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.form-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #334155;
}
.form-label .required {
    color: #dc2626;
    margin-left: 2px;
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 11px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.98rem;
    color: var(--text-main);
    background-color: #ffffff;
    transition: all 0.15s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(0, 135, 82, 0.15);
}
.form-textarea {
    resize: vertical;
    min-height: 90px;
}

/* PASSWORD INPUT WITH EYE TOGGLE */
.password-input-wrapper {
    position: relative;
    width: 100%;
}
.password-input-wrapper .form-input {
    padding-right: 46px;
}
.password-toggle-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    padding: 0;
    transition: color 0.15s ease;
    border-top-right-radius: var(--radius-md);
    border-bottom-right-radius: var(--radius-md);
}
.password-toggle-btn:hover {
    color: var(--dekra-green);
}
.password-toggle-btn:focus-visible {
    outline: 2px solid var(--dekra-green);
    outline-offset: -2px;
}

/* WHEEL CARDS */
.wheel-card {
    background: #fbfcfd;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 20px;
}
.wheel-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f7;
}
.wheel-tag {
    background: var(--dekra-green);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 5px 12px;
    border-radius: 6px;
}
.wheel-remove-btn {
    background: none;
    border: none;
    color: #dc2626;
    font-size: 0.85rem;
    font-weight: 650;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 4px;
}
.wheel-remove-btn:hover {
    background: #fee2e2;
}

/* DROPZONE */
.upload-dropzone {
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 10px;
}
.upload-dropzone:hover {
    border-color: var(--dekra-green);
    background: #f0fdf4;
}
.upload-dropzone i {
    font-size: 2.2rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}
.upload-dropzone .dz-title {
    font-weight: 750;
    font-size: 1rem;
    color: var(--text-main);
    display: block;
    margin-bottom: 4px;
}
.upload-dropzone .dz-hint {
    font-size: 0.84rem;
    color: var(--text-muted);
}
.preview-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}
.preview-item {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BUTTONS */
.btn-primary {
    background-color: var(--dekra-green);
    color: #ffffff;
    font-weight: 750;
    font-size: 1.08rem;
    padding: 15px 32px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    transition: background-color 0.15s, transform 0.1s;
}
.btn-primary:hover {
    background-color: var(--dekra-green-hover);
}
.btn-primary:active {
    transform: translateY(1px);
}
.btn-secondary {
    background-color: #ffffff;
    color: var(--text-main);
    border: 1.5px solid var(--border-color);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 11px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.15s;
}
.btn-secondary:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
}

/* SUBMIT PANEL */
.submit-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: var(--shadow-md);
}
.submit-info {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 680px;
}
.submit-info i {
    color: var(--dekra-green);
    margin-right: 8px;
}

/* TABLE */
.table-responsive {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}
.dekra-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    text-align: left;
}
.dekra-table th {
    background: #f8fafc;
    padding: 14px 20px;
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.dekra-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #edf2f7;
    font-size: 0.95rem;
}
.dekra-table tr:hover td {
    background-color: #f8fafc;
}

/* STATUS BADGES */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 750;
    padding: 5px 12px;
    border-radius: 20px;
}
.status-badge.processing {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}
.status-badge.approved, .status-badge.accepted {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}
.status-badge.pending_approval {
    background: #fefce8;
    color: #a16207;
    border: 1px solid #fde047;
}

/* FOOTER */
.dekra-footer {
    background-color: var(--dekra-dark-nav);
    color: #94a3b8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 36px 36px;
    margin-top: auto;
}
.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}
.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}
.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.15s;
}
.footer-links a:hover {
    color: #ffffff;
}
.footer-tagline {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #cbd5e1;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .dekra-header-bar {
        height: auto;
        flex-direction: column;
    }
    .header-split-left {
        justify-content: space-between;
        padding: 12px 20px;
        border-bottom: 1px solid #e2e8f0;
    }
    .header-split-nav {
        justify-content: center;
        padding: 12px 16px;
    }
    .header-nav-list {
        flex-wrap: wrap;
        gap: 16px;
    }
    .header-split-expert {
        padding: 10px 20px;
        border-left: none;
        border-top: 1px solid #e2e8f0;
    }
    .hero-title {
        font-size: 2rem;
    }
    .main-wrapper {
        padding: 0 16px;
    }
    .submit-panel {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-primary {
        width: 100%;
    }
}

/* INFO HELP BUTTONS & LABELS */
.info-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--dekra-green);
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    line-height: 1.2;
}
.info-help-btn:hover {
    background: #dcfce7;
    color: #15803d;
    border-color: #86efac;
}
.field-label-with-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

/* COMPACT WHEEL CARDS */
.wheel-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.15s ease;
}
.wheel-card:focus-within {
    border-color: #cbd5e1;
}
.wheel-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}
.wheel-header-titles {
    display: flex;
    align-items: center;
    gap: 10px;
}
.wheel-eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--dekra-green);
    background: #f0fdf4;
    padding: 2px 8px;
    border-radius: 4px;
}
.wheel-card-header h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}
.remove-link {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.15s ease;
}
.remove-link:hover {
    background: #fef2f2;
    color: #dc2626;
}
.compact-field-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}
@media (max-width: 900px) {
    .compact-field-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 560px) {
    .compact-field-grid {
        grid-template-columns: 1fr;
    }
}
.compact-dropzone {
    border: 1.5px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.compact-dropzone:hover {
    background: #f0fdf4;
    border-color: var(--dekra-green);
}
.compact-dropzone-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.compact-dropzone-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dekra-green);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.compact-dropzone-texts {
    display: flex;
    flex-direction: column;
}
.compact-dropzone-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
}
.compact-dropzone-hint {
    font-size: 0.76rem;
    color: #64748b;
}
.compact-dropzone-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #334155;
    flex-shrink: 0;
    pointer-events: none;
}

/* COMPACT DOCUMENTS SECTION */
.compact-doc-box {
    border: 1.5px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.compact-doc-box:hover {
    background: #f0fdf4;
    border-color: var(--dekra-green);
}

/* MODALS */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}
.custom-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 40, 26, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.custom-modal-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    max-width: 580px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalScaleIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.custom-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}
.custom-modal-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}
.custom-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f0fdf4;
    color: var(--dekra-green);
}
.custom-modal-header h3 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 750;
    color: #0f172a;
}
.custom-modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #64748b;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
}
.custom-modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}
.custom-modal-body {
    padding: 20px 22px;
    overflow-y: auto;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.5;
}
.modal-intro {
    margin: 0 0 14px 0;
}
.pnm-locations-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}
@media (max-width: 520px) {
    .pnm-locations-grid {
        grid-template-columns: 1fr;
    }
}
.pnm-location-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px;
}
.pnm-loc-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
    color: var(--dekra-green);
    background: #f0fdf4;
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 6px;
}
.pnm-location-card h4 {
    margin: 0 0 4px 0;
    font-size: 0.92rem;
    color: #0f172a;
}
.pnm-location-card p {
    margin: 0;
    font-size: 0.82rem;
    color: #64748b;
}
.pnm-examples-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
}
.pnm-examples-box h4 {
    margin: 0 0 6px 0;
    font-size: 0.86rem;
    color: #1e293b;
}
.pnm-examples-box ul {
    margin: 0;
    padding-left: 18px;
    font-size: 0.82rem;
}
.pnm-examples-box li {
    margin-bottom: 3px;
}
.pnm-examples-box code {
    background: #e2e8f0;
    padding: 2px 5px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.82rem;
    color: #0f172a;
}
.pnm-tip-box {
    display: flex;
    gap: 10px;
    background: #fefce8;
    border: 1px solid #fef08a;
    border-radius: 10px;
    padding: 10px 12px;
    align-items: flex-start;
}
.pnm-tip-box p {
    margin: 0;
    font-size: 0.8rem;
    color: #713f12;
}
.custom-modal-footer {
    padding: 12px 22px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    justify-content: flex-end;
}
.sm-surface-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}
.sm-surface-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
}
.sm-surface-card.highlight-card {
    background: #f0fdf4;
    border-color: #86efac;
}
.sm-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.sm-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 750;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
}
.sm-badge.bicolor-badge {
    background: #dcfce7;
    color: #15803d;
}
.sm-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #475569;
    background: #e2e8f0;
    padding: 2px 6px;
    border-radius: 4px;
}
.sm-surface-card h4 {
    margin: 0 0 4px 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
}
.sm-surface-card p {
    margin: 0;
    font-size: 0.83rem;
    color: #475569;
    line-height: 1.4;
}

/* AI PRELOADER MODAL (DEKRA STYLED) */
.ai-modal-overlay {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(8, 40, 26, 0.78) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 999999 !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    align-items: center !important;
    justify-content: center !important;
}
.ai-modal-overlay.visible {
    display: flex !important;
}
.ai-modal-box {
    background: #ffffff;
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    padding: 38px 32px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(8, 40, 26, 0.4), 0 0 0 1px rgba(226, 232, 240, 0.8);
    position: relative;
    animation: preloaderScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}
@keyframes preloaderScaleIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}
.ai-radar-scanner {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ai-pulse-circle {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2.5px solid var(--dekra-green);
    opacity: 0;
    animation: preloaderPulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}
@keyframes preloaderPulseRing {
    0% { transform: scale(0.6); opacity: 0.85; }
    50% { opacity: 0.4; }
    100% { transform: scale(1.45); opacity: 0; }
}
.ai-rim-icon {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dekra-green) 0%, var(--dekra-dark-green) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 135, 82, 0.4);
    animation: preloaderSpin 8s linear infinite;
}
@keyframes preloaderSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.ai-rim-icon svg {
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.ai-modal-box h3 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.ai-modal-subtitle {
    margin: 0 0 22px;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
}
.ai-steps-progress {
    display: flex;
    flex-direction: column;
    gap: 13px;
    text-align: left;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 18px;
    margin-bottom: 20px;
}
.ai-step {
    display: flex;
    align-items: center;
    gap: 14px;
    opacity: 0.38;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.ai-step.active {
    opacity: 1;
    transform: translateX(2px);
}
.ai-step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.35s ease;
}
.ai-step.active .ai-step-dot {
    background: var(--dekra-green);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 135, 82, 0.25);
    animation: preloaderStepPulse 1.8s ease-in-out infinite alternate;
}
@keyframes preloaderStepPulse {
    0% { box-shadow: 0 0 0 3px rgba(0, 135, 82, 0.2); }
    100% { box-shadow: 0 0 0 8px rgba(0, 135, 82, 0.4); }
}
.ai-step-text strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 750;
    color: #1e293b;
    line-height: 1.3;
}
.ai-step-text small {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}
.ai-modal-note {
    font-size: 0.8rem;
    color: #94a3b8;
    line-height: 1.4;
}
