/*
 * UE.legal Formulare
 * Generator Kündigung
 * Stiluri izolate sub .uelegal-form-generator
 */

.uelegal-form-generator {
    width: 100%;
    margin: 0;
    padding: 0;
}

.uelegal-form-generator .uelegal-form-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(500px, 1.15fr);
    gap: 32px;
    align-items: start;
    margin-top: 32px;
}

/* Formular */

.uelegal-form-generator .uelegal-form-panel {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.uelegal-form-generator .uelegal-form-panel h2 {
    margin: 30px 0 18px;
    font-size: 22px;
    line-height: 1.3;
}

.uelegal-form-generator .uelegal-form-panel h2:first-child {
    margin-top: 0;
}

.uelegal-form-generator .uelegal-form-panel p {
    margin: 0 0 18px;
}

.uelegal-form-generator .uelegal-form-panel label {
    display: inline-block;
    margin-bottom: 7px;
    font-weight: 600;
}

.uelegal-form-generator .uelegal-form-panel input[type="text"],
.uelegal-form-generator .uelegal-form-panel input[type="date"],
.uelegal-form-generator .uelegal-form-panel select {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    font: inherit;
}

/* Previzualizare */

.uelegal-form-generator .uelegal-document-panel {
    min-width: 0;
}

.uelegal-form-generator .uelegal-document-panel > h2 {
    margin-top: 0;
}

.uelegal-form-generator .uelegal-document {
    width: 100%;
    max-width: 794px;
    min-height: 1000px;
    padding: 64px 68px;
    background: #ffffff;
    border: 1px solid #d9dee7;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.10);
    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

.uelegal-form-generator .uelegal-document h2 {
    margin: 36px 0 26px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    line-height: 1.3;
    color: #111111;
}

.uelegal-form-generator .uelegal-document p {
    margin: 0 0 22px;
}

/* Tablet / mobil */

@media (max-width: 900px) {
    .uelegal-form-generator .uelegal-form-layout {
        grid-template-columns: 1fr;
    }

    .uelegal-form-generator .uelegal-document {
        max-width: 100%;
        min-height: auto;
        padding: 40px;
    }
}

@media (max-width: 520px) {
    .uelegal-form-generator .uelegal-form-panel {
        padding: 20px;
    }

    .uelegal-form-generator .uelegal-document {
        padding: 28px 22px;
        font-size: 15px;
    }
}

/* Notă juridică */
.uelegal-form-generator .uelegal-legal-note {
    margin: 4px 0 22px;
    padding: 14px 16px;
    border: 1px solid #f0c36d;
    border-left: 4px solid #d99a20;
    border-radius: 8px;
    background: #fff9e8;
    color: #4a3a16;
    font-size: 14px;
    line-height: 1.55;
}

.uelegal-form-generator .uelegal-legal-note strong {
    display: block;
    margin-bottom: 5px;
}

/* Notă importantă privind forma legală a Kündigung */
.uelegal-form-generator .uelegal-legal-note-important {
    margin-top: 8px;
    border-color: #e3a5a5;
    border-left-color: #b42318;
    background: #fff4f4;
    color: #5f1d1d;
}

/* Spațiu pentru semnătura olografă */
.uelegal-form-generator .uelegal-signature-area {
    padding-top: 55px;
    margin-bottom: 20px;
}

.uelegal-form-generator .uelegal-signature-area > span {
    display: block;
}

/* Acțiuni formular */
.uelegal-form-generator .uelegal-form-actions {
    margin-top: 24px;
}

.uelegal-form-generator .uelegal-print-button {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    background: #0f172a;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
}

.uelegal-form-generator .uelegal-print-button:hover {
    background: #1e293b;
}

.uelegal-form-generator .uelegal-print-button:focus-visible {
    outline: 3px solid rgba(15, 23, 42, 0.25);
    outline-offset: 3px;
}

/* Introducere generator */
.uelegal-form-generator .uelegal-form-intro {
    margin: 0 0 20px;
    color: #475569;
    font-size: 16px;
    line-height: 1.5;
}

.uelegal-form-generator .uelegal-form-intro + .uelegal-form-layout {
    margin-top: 0;
}

/* Previzualizarea rămâne vizibilă în timpul completării formularului */
@media (min-width: 901px) {
    .uelegal-form-generator .uelegal-document-panel {
        position: sticky;
        top: 85px;
        align-self: start;
    }
}
/* Ajutor UE.legal - componentă comună pentru formulare */
.uelegal-form-generator .uelegal-forms-help {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid #e2e8f0;
}

.uelegal-form-generator .uelegal-forms-help h3 {
    margin: 0 0 14px;
    font-size: 21px;
    line-height: 1.3;
    color: #0f172a;
}

.uelegal-form-generator .uelegal-forms-help p {
    margin: 0 0 20px;
    color: #475569;
    font-size: 15px;
    line-height: 1.65;
}

.uelegal-form-generator .uelegal-forms-help-button {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    border: 1px solid #0f172a;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font: inherit;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.uelegal-form-generator .uelegal-forms-help-button:hover {
    background: #0f172a;
    color: #ffffff;
}

.uelegal-form-generator .uelegal-forms-help-button:focus-visible {
    outline: 3px solid rgba(15, 23, 42, 0.20);
    outline-offset: 3px;
}

/* Formular solicitare ajutor UE.legal */
.uelegal-form-generator .uelegal-forms-help-form {
    margin-top: 26px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.uelegal-form-generator .uelegal-forms-help-form h4 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.3;
}

.uelegal-form-generator .uelegal-forms-help-info {
    margin: 0 0 22px;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

.uelegal-form-generator .uelegal-forms-help-form p {
    margin: 0 0 18px;
}

.uelegal-form-generator .uelegal-forms-help-form label {
    display: block;
    margin: 0;
    color: #334155;
    font-weight: 600;
}

.uelegal-form-generator .uelegal-forms-help-form label span {
    color: #64748b;
    font-size: 13px;
    font-weight: 400;
}

.uelegal-form-generator .uelegal-forms-help-form input[type="text"],
.uelegal-form-generator .uelegal-forms-help-form input[type="email"],
.uelegal-form-generator .uelegal-forms-help-form input[type="tel"],
.uelegal-form-generator .uelegal-forms-help-form textarea {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font: inherit;
    line-height: 1.4;
}

.uelegal-form-generator .uelegal-forms-help-form input[type="text"],
.uelegal-form-generator .uelegal-forms-help-form input[type="email"],
.uelegal-form-generator .uelegal-forms-help-form input[type="tel"] {
    min-height: 46px;
}

.uelegal-form-generator .uelegal-forms-help-form textarea {
    min-height: 120px;
    resize: vertical;
}

.uelegal-form-generator .uelegal-forms-help-form input:focus,
.uelegal-form-generator .uelegal-forms-help-form textarea:focus {
    border-color: #0f172a;
    outline: 2px solid rgba(15, 23, 42, 0.12);
    outline-offset: 1px;
}

.uelegal-form-generator .uelegal-forms-help-submit {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    border: 0;
    border-radius: 8px;
    background: #0f172a;
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.uelegal-form-generator .uelegal-forms-help-submit:hover {
    background: #1e293b;
}

.uelegal-form-generator .uelegal-forms-help-result {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.5;
}


/* UELEGAL LEBENSLAUF */


/* ============================================================
   FORM
============================================================ */

.uelegal-cv-generator textarea {
    width: 100%;
    min-height: 110px;
    resize: vertical;
}

.uelegal-cv-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.uelegal-cv-repeat-list {
    display: grid;
    gap: 14px;
    margin-bottom: 14px;
}

.uelegal-cv-repeat-item {
    position: relative;
    padding: 16px;
    border: 1px solid #d9e1ea;
    border-radius: 11px;
    background: #f8fafc;
}

.uelegal-cv-repeat-item textarea {
    min-height: 90px;
}

.uelegal-cv-remove {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    color: #a61b1b;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

.uelegal-cv-add-button {
    width: 100%;
    margin-bottom: 22px;
    padding: 11px 14px;
    border: 1px dashed #9babbc;
    border-radius: 9px;
    background: #fff;
    color: #174d7e;
    font-weight: 700;
    cursor: pointer;
}


/* ============================================================
   A4 DOCUMENT
============================================================ */

.uelegal-cv-document {
    padding: 0 !important;
    overflow: hidden;
    color: #24394e;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.42;
}

.uelegal-cv-sheet {
    display: grid;
    grid-template-columns: 30% 70%;
    width: 100%;
    min-height: 960px;
    background: #fff;
}


/* ============================================================
   LEFT SIDEBAR
============================================================ */

.uelegal-cv-sidebar {
    min-width: 0;
    padding: 31px 22px 35px;
    background:
        linear-gradient(
            180deg,
            #f0f5f9 0%,
            #f5f8fa 52%,
            #f2f6f9 100%
        );
}


/* PHOTO */

.uelegal-cv-photo-area {
    position: relative;
    width: 126px;
    height: 126px;
    margin: 0 auto 29px;
}

.uelegal-cv-photo-placeholder,
.uelegal-cv-photo {
    position: absolute;
    inset: 0;
    width: 126px;
    height: 126px;
    border-radius: 50%;
}

.uelegal-cv-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccd9e5;
    background: #e6edf3;
    color: #8d9dab;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.uelegal-cv-photo {
    z-index: 2;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 0 0 1px #cbd7e2;
}


/* CONTACT */

.uelegal-cv-sidebar-contact {
    padding-bottom: 21px;
    border-bottom: 1px solid #cbd7e1;
}

.uelegal-cv-contact-line {
    display: grid;
    grid-template-columns: 23px 1fr;
    gap: 8px;
    align-items: start;
    margin-bottom: 13px;
}

.uelegal-cv-contact-line:last-child {
    margin-bottom: 0;
}

.uelegal-cv-icon {
    color: #18568e;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

.uelegal-cv-contact-line strong {
    min-width: 0;
    color: #526679;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.uelegal-cv-mini-label {
    display: block;
    margin-bottom: 1px;
    color: #8997a4;
    font-size: 7.5px;
    text-transform: uppercase;
}


/* SIDEBAR SECTIONS */

.uelegal-cv-sidebar-section {
    margin-top: 28px;
}

.uelegal-cv-sidebar-section > h2 {
    margin: 0 0 18px;
    color: #174f82;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .015em;
}


/* SKILLS */

.uelegal-cv-skill-row strong {
    display: block;
    color: #526679;
    font-size: 9.5px;
    font-weight: 500;
    line-height: 1.65;
    white-space: pre-line;
}

.uelegal-cv-driving {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #d4dde5;
}

.uelegal-cv-driving span {
    display: block;
    margin-bottom: 3px;
    color: #82909d;
    font-size: 8px;
    text-transform: uppercase;
}

.uelegal-cv-driving strong {
    color: #41576b;
    font-size: 10px;
}


/* ============================================================
   RIGHT MAIN
============================================================ */

.uelegal-cv-main {
    min-width: 0;
    padding: 44px 34px 31px;
    background: #fff;
}


/* NAME */

.uelegal-cv-main-header {
    margin-bottom: 29px;
    padding-bottom: 17px;
    border-bottom: 2px solid #2b6ca3;
}

.uelegal-cv-main-header h1 {
    margin: 0;
    color: #164d7e;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 31px;
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: .01em;
}

.uelegal-cv-position {
    margin: 8px 0 0 !important;
    color: #53677a;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.uelegal-cv-personal-hidden {
    display: none !important;
}


/* ============================================================
   MAIN SECTION HEADINGS
============================================================ */

.uelegal-cv-main-section {
    margin-top: 31px;
}

.uelegal-cv-main-section:first-of-type {
    margin-top: 0;
}

.uelegal-cv-main-section > h2 {
    margin: 0 0 18px;
    color: #18558c;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .02em;
}


/* ============================================================
   TIMELINE
============================================================ */

.uelegal-cv-timeline {
    position: relative;
}

.uelegal-cv-timeline::before {
    content: "";
    position: absolute;
    top: 7px;
    bottom: 8px;
    left: 8px;
    width: 1px;
    background: #b9c9d7;
}

.uelegal-cv-entry {
    position: relative;
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 18px;
    margin-bottom: 25px;
    padding-left: 27px;
    break-inside: avoid;
}

.uelegal-cv-entry:last-child {
    margin-bottom: 0;
}

.uelegal-cv-entry::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 4px;
    z-index: 2;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2a6ca4;
    box-shadow: 0 0 0 3px #fff;
}

.uelegal-cv-entry-period {
    padding-top: 1px;
    color: #63778a;
    font-size: 9.5px;
    font-weight: 600;
    line-height: 1.35;
}

.uelegal-cv-entry-content {
    min-width: 0;
}

.uelegal-cv-entry-content strong {
    display: block;
    color: #164f82;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1.35;
}

.uelegal-cv-entry-content em {
    display: block;
    margin-top: 1px;
    color: #335a7d;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
}

.uelegal-cv-entry-content p {
    margin: 7px 0 0 !important;
    color: #526578;
    font-size: 9.5px;
    line-height: 1.48;
    white-space: pre-line;
}


/* make multiline responsibilities resemble CV bullets */

.uelegal-cv-entry-content p {
    padding-left: 11px;
}


/* ============================================================
   FOOTER
============================================================ */

.uelegal-cv-footer {
    margin-top: 42px;
    padding-top: 13px;
    break-inside: avoid;
}

.uelegal-cv-footer > p {
    margin: 0 0 25px !important;
    color: #687b8d;
    font-size: 9px;
}

.uelegal-cv-signature {
    width: 200px;
    border-bottom: 1px solid #8fa0af;
}

.uelegal-cv-signature strong {
    display: block;
    padding-bottom: 5px;
    color: #354c60;
    font-size: 10px;
}

.uelegal-cv-signature span {
    display: block;
    padding: 5px 0;
    color: #929faa;
    font-size: 7.5px;
}

.uelegal-cv-created {
    margin-top: 29px;
    padding-top: 7px;
    border-top: 1px solid #dce4ea;
    color: #9aa6b0;
    font-size: 7px;
    text-align: right;
}

.uelegal-cv-created strong {
    color: #416887;
}


/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 700px) {

    .uelegal-cv-two {
        grid-template-columns: 1fr;
    }

    .uelegal-cv-sheet {
        grid-template-columns: 1fr;
    }

    .uelegal-cv-sidebar {
        padding: 25px 22px;
    }

    .uelegal-cv-photo-area {
        width: 105px;
        height: 105px;
    }

    .uelegal-cv-photo-placeholder,
    .uelegal-cv-photo {
        width: 105px;
        height: 105px;
    }

    .uelegal-cv-main {
        padding: 30px 23px;
    }

    .uelegal-cv-main-header h1 {
        font-size: 25px;
    }

    .uelegal-cv-entry {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* CV V2 - spatiu sub fotografie */
.uelegal-cv-sidebar-contact {
    margin-top: 30px;
}

/* CV V2 - adresa pe doua randuri */
#cv-doc-address {
    white-space: pre-line;
}

/* CV V2 - fotografie perfect rotunda si contact sub fotografie */
.uelegal-cv-photo-area {
    width: 126px !important;
    height: 126px !important;
    min-width: 126px !important;
    min-height: 126px !important;
    max-width: 126px !important;
    max-height: 126px !important;
    aspect-ratio: 1 / 1;
    flex: 0 0 126px;
    margin: 0 auto 34px !important;
    position: relative;
}

.uelegal-cv-photo-placeholder,
.uelegal-cv-photo {
    width: 126px !important;
    height: 126px !important;
    min-width: 126px !important;
    min-height: 126px !important;
    max-width: 126px !important;
    max-height: 126px !important;
    aspect-ratio: 1 / 1;
    border-radius: 50% !important;
}

.uelegal-cv-photo {
    display: block;
    object-fit: cover !important;
    object-position: center center;
}

.uelegal-cv-sidebar-contact {
    margin-top: 0 !important;
}



/* =========================================================
   UELEGAL CV V2 - SPRACHKENNTNISSE FINAL
   ========================================================= */

.uelegal-cv-sidebar-section > h2 {
    font-size: 15px;
    line-height: 1.15;
    letter-spacing: 0;
    overflow-wrap: normal;
    word-break: normal;
}

.uelegal-cv-language {
    position: relative;
    display: block;
    margin: 0 0 16px;
    padding: 0;
}

.uelegal-cv-language-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 7px;
}

.uelegal-cv-language-top strong {
    display: block;
    margin: 0;
    color: #3f5569;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
}

.uelegal-cv-language-top span {
    display: block;
    margin: 0;
    color: #627588;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.25;
}

.uelegal-cv-language-track {
    position: relative;
    display: block;
    width: 100%;
    height: 5px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #c9d4dd;
}

.uelegal-cv-language-fill {
    display: block;
    height: 5px;
    margin: 0;
    padding: 0;
    border-radius: 10px;
    background: #1d5e96;
    max-width: 100%;
}

/*
 * Nu mai folosim pseudo-elementele vechi.
 */
.uelegal-cv-language::before,
.uelegal-cv-language::after {
    content: none;
    display: none;
}


/* =========================================================
   UE.LEGAL - FOREIGN VEHICLE TAX
   Steuererklärung für gebietsfremdes Fahrzeug
   ========================================================= */

.uelegal-fvt-generator .uelegal-form-panel > h2 {
    margin-top: 34px;
    padding: 12px 14px;
    border-left: 4px solid #1d5e96;
    background: #f2f6f9;
    color: #20384d;
    font-size: 18px;
    line-height: 1.3;
}

.uelegal-fvt-generator .uelegal-form-panel > h2:first-of-type {
    margin-top: 0;
}

.uelegal-fvt-generator .uelegal-form-panel > h3 {
    margin: 25px 0 12px;
    color: #354e63;
    font-size: 15px;
}

.uelegal-fvt-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
}

.uelegal-fvt-generator input[type="text"],
.uelegal-fvt-generator input[type="tel"],
.uelegal-fvt-generator input[type="date"],
.uelegal-fvt-generator input[type="number"],
.uelegal-fvt-generator select,
.uelegal-fvt-generator textarea {
    width: 100%;
    box-sizing: border-box;
}

.uelegal-fvt-generator textarea {
    resize: vertical;
    min-height: 85px;
}

.uelegal-fvt-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 18px;
    padding: 12px 14px;
    border: 1px solid #dde5eb;
    border-radius: 8px;
    background: #fafcfd;
}

.uelegal-fvt-options > span {
    flex: 0 0 100%;
    color: #40566a;
    font-weight: 700;
}

.uelegal-fvt-options label,
.uelegal-fvt-check {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.uelegal-fvt-options input[type="radio"],
.uelegal-fvt-check input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.uelegal-fvt-generator input:disabled,
.uelegal-fvt-generator select:disabled,
.uelegal-fvt-generator textarea:disabled {
    opacity: .48;
    cursor: not-allowed;
    background: #f1f3f5;
}


/* =========================================================
   DOCUMENT PREVIEW
   ========================================================= */

.uelegal-fvt-document {
    box-sizing: border-box;
    max-width: 100%;
    padding: 26px;
    background: #fff;
    color: #151515;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.45;
}

.uelegal-fvt-document p {
    margin: 8px 0;
}

.uelegal-fvt-doc-header {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(150px, .7fr);
    gap: 18px;
    margin-bottom: 18px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
}

.uelegal-fvt-doc-header > div:first-child {
    font-size: 14px;
    line-height: 1.35;
}

.uelegal-fvt-doc-header > div:first-child strong {
    display: inline-block;
    margin-bottom: 3px;
    font-size: 21px;
}

.uelegal-fvt-doc-header > div:last-child {
    padding: 9px 10px;
    border: 1px solid #555;
    font-size: 10px;
}

.uelegal-fvt-doc-header > div:last-child strong {
    display: block;
    min-height: 20px;
    margin-top: 5px;
    padding-top: 4px;
    border-top: 1px solid #999;
    font-size: 13px;
}

.uelegal-fvt-doc-section {
    margin: 0 0 18px;
    border: 1px solid #555;
}

.uelegal-fvt-doc-section > h2 {
    margin: 0;
    padding: 7px 9px;
    background: #e9edf0;
    color: #111;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 700;
}

.uelegal-fvt-doc-section > p {
    margin: 0;
    padding: 7px 9px;
    border-top: 1px solid #bbb;
}

.uelegal-fvt-doc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.uelegal-fvt-doc-grid > p {
    min-width: 0;
    margin: 0;
    padding: 7px 9px;
    border-top: 1px solid #bbb;
}

.uelegal-fvt-doc-grid > p:nth-child(odd) {
    border-right: 1px solid #bbb;
}

.uelegal-fvt-doc-grid span,
.uelegal-fvt-doc-section > p > span {
    display: block;
    margin-bottom: 2px;
    color: #555;
    font-size: 9px;
    font-weight: 400;
}

.uelegal-fvt-doc-grid strong,
.uelegal-fvt-doc-section strong {
    overflow-wrap: anywhere;
    color: #111;
    font-weight: 700;
}

.uelegal-fvt-declaration {
    padding-top: 11px !important;
    padding-bottom: 11px !important;
    font-weight: 700;
}

.uelegal-fvt-signature {
    margin: 0;
    padding: 12px 9px;
    border-top: 1px solid #bbb;
}

.uelegal-fvt-signature p {
    margin: 0 0 20px;
}

.uelegal-fvt-sign-line {
    width: 70%;
    height: 18px;
    border-bottom: 1px solid #333;
}

.uelegal-fvt-signature small {
    display: block;
    margin-top: 4px;
    color: #555;
    font-size: 8px;
}

.uelegal-fvt-assistant {
    margin: 0;
    padding: 10px 9px;
    border-top: 1px solid #bbb;
    background: #fafafa;
}

.uelegal-fvt-assistant p {
    margin: 3px 0;
}

.uelegal-fvt-doc-note {
    margin-top: 20px;
    padding: 12px 14px;
    border: 1px solid #777;
    background: #fafafa;
    color: #333;
    font-size: 9px;
    line-height: 1.45;
}

.uelegal-fvt-doc-note strong {
    color: #111;
    font-size: 10px;
}

.uelegal-fvt-doc-note p {
    margin: 4px 0 0;
}

.uelegal-fvt-created {
    margin-top: 12px;
    padding-top: 6px;
    border-top: 1px solid #ddd;
    color: #87939c;
    font-size: 8px;
    text-align: right;
}


/* =========================================================
   STICKY PREVIEW - DESKTOP
   ========================================================= */

@media (min-width: 901px) {

    .uelegal-fvt-generator .uelegal-document-panel {
        align-self: flex-start;
        position: sticky;
        top: 25px;
    }

}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 900px) {

    .uelegal-fvt-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .uelegal-fvt-document {
        padding: 18px;
    }

}


@media (max-width: 600px) {

    .uelegal-fvt-doc-header {
        grid-template-columns: 1fr;
    }

    .uelegal-fvt-doc-grid {
        grid-template-columns: 1fr;
    }

    .uelegal-fvt-doc-grid > p:nth-child(odd) {
        border-right: 0;
    }

    .uelegal-fvt-options {
        align-items: flex-start;
        flex-direction: column;
    }

}

/* =========================================================
   UE.LEGAL - INDEX FORMULARE
   ========================================================= */

.uelegal-forms-index {
    max-width: 1120px;
    margin: 0 auto;
    padding: 10px 0 55px;
}

.uelegal-forms-index-head {
    max-width: 760px;
    margin: 0 0 34px;
}

.uelegal-forms-index-kicker {
    display: inline-block;
    margin: 0 0 10px;
    color: #cf1f2c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.uelegal-forms-index-head h2 {
    margin: 0 0 12px;
    color: #071d36;
    font-size: 36px;
    line-height: 1.15;
}

.uelegal-forms-index-head p {
    margin: 0;
    color: #5c6d7e;
    font-size: 16px;
    line-height: 1.65;
}

.uelegal-forms-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
}

.uelegal-form-card {
    position: relative;
    display: flex !important;
    gap: 20px;
    min-height: 230px;
    padding: 26px !important;
    overflow: hidden;
    border: 1px solid #dce4eb !important;
    border-radius: 15px;
    background: #fff !important;
    color: inherit !important;
    text-decoration: none !important;
    box-shadow: 0 7px 24px rgba(7,29,54,.07);
    transition: transform .18s ease, box-shadow .18s ease;
}

.uelegal-form-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(7,29,54,.13);
    text-decoration: none !important;
}

.uelegal-form-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 90px;
    height: 5px;
    background: #173f68;
}

.uelegal-form-card-featured::after {
    background: #cf1f2c;
}

.uelegal-form-card-icon {
    display: flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 13px;
    background: #edf3f8;
    color: #123c65;
    font-size: 18px;
    font-weight: 900;
}

.uelegal-form-card-featured .uelegal-form-card-icon {
    background: #fff0f1;
    color: #c91f2d;
}

.uelegal-form-card-content {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
}

.uelegal-form-card-type {
    display: block;
    margin: 1px 0 8px;
    color: #778898;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.uelegal-form-card-content h3 {
    margin: 0 0 3px !important;
    color: #071d36 !important;
    font-size: 21px !important;
    line-height: 1.25;
}

.uelegal-form-card-content > strong {
    display: block;
    margin: 0 0 13px;
    color: #315a7c;
    font-size: 13px;
}

.uelegal-form-card-content p {
    margin: 0 0 18px !important;
    color: #647383;
    font-size: 14px;
    line-height: 1.6;
}

.uelegal-form-card-action {
    display: inline-block;
    margin-top: auto;
    color: #123f69;
    font-size: 13px;
    font-weight: 800;
}

.uelegal-form-card-featured .uelegal-form-card-action {
    color: #c91f2d;
}

.uelegal-forms-index-info {
    margin-top: 28px;
    padding: 22px 25px;
    border-left: 4px solid #173f68;
    border-radius: 0 10px 10px 0;
    background: #f3f7fa;
}

.uelegal-forms-index-info strong {
    display: block;
    margin-bottom: 5px;
    color: #0c2946;
    font-size: 15px;
}

.uelegal-forms-index-info p {
    margin: 0 !important;
    color: #5e7080;
    font-size: 13px;
    line-height: 1.6;
}

@media (max-width: 800px) {
    .uelegal-forms-cards {
        grid-template-columns: 1fr;
    }

    .uelegal-form-card {
        min-height: 0;
    }
}

@media (max-width: 520px) {
    .uelegal-form-card {
        gap: 15px;
        padding: 20px !important;
    }

    .uelegal-form-card-icon {
        flex: 0 0 48px;
        width: 48px;
        height: 48px;
        font-size: 15px;
    }

    .uelegal-form-card-content h3 {
        font-size: 18px !important;
    }
}



/* ==========================================================
   UELEGAL FAHRZEUGVOLLMACHT
   ========================================================== */

#uelegal-fahrzeugvollmacht .uelegal-fv-document {
    min-height: 1000px;
}

#uelegal-fahrzeugvollmacht .uelegal-fv-title {
    margin: 0;
    color: #0f172a;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 1px;
}

#uelegal-fahrzeugvollmacht .uelegal-fv-subtitle {
    margin: 6px 0 38px;
    color: #475569;
    font-size: 17px;
    text-align: center;
}

#uelegal-fahrzeugvollmacht .uelegal-fv-document h3 {
    margin: 28px 0 14px;
    padding-bottom: 7px;
    border-bottom: 1px solid #cbd5e1;
    color: #0f172a;
    font-size: 17px;
    line-height: 1.3;
}

#uelegal-fahrzeugvollmacht .uelegal-fv-data {
    margin-bottom: 20px;
}

#uelegal-fahrzeugvollmacht .uelegal-fv-data p {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 12px;
    margin: 7px 0;
}

#uelegal-fahrzeugvollmacht .uelegal-fv-data span {
    overflow-wrap: anywhere;
}

#uelegal-fahrzeugvollmacht .uelegal-fv-text {
    margin-top: 30px;
}

#uelegal-fahrzeugvollmacht .uelegal-fv-text p {
    margin-bottom: 18px;
    text-align: justify;
}

#uelegal-fahrzeugvollmacht .uelegal-fv-signature {
    margin-top: 48px;
}

#uelegal-fahrzeugvollmacht .uelegal-fv-signature p {
    margin-bottom: 55px;
}

#uelegal-fahrzeugvollmacht .uelegal-fv-sign-line {
    width: 320px;
    max-width: 80%;
    border-bottom: 1px solid #111827;
}

#uelegal-fahrzeugvollmacht .uelegal-fv-signature small {
    display: block;
    margin-top: 7px;
    color: #475569;
}

#uelegal-fahrzeugvollmacht .uelegal-fv-doc-note {
    margin-top: 38px;
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    color: #475569;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 520px) {

    #uelegal-fahrzeugvollmacht .uelegal-fv-data p {
        display: block;
    }

    #uelegal-fahrzeugvollmacht .uelegal-fv-data strong {
        display: block;
        margin-bottom: 2px;
    }
}



/* Fahrzeugvollmacht - Sprachwahl */

#uelegal-fahrzeugvollmacht .uelegal-fv-language {
    margin: 0 0 30px;
    padding: 18px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
}

#uelegal-fahrzeugvollmacht .uelegal-fv-language h2 {
    margin: 0 0 8px;
}

#uelegal-fahrzeugvollmacht .uelegal-fv-language > p {
    margin-bottom: 14px;
    color: #475569;
    font-size: 14px;
}

#uelegal-fahrzeugvollmacht .uelegal-fv-language label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 9px 0;
    cursor: pointer;
}

#uelegal-fahrzeugvollmacht .uelegal-fv-language input {
    width: auto;
    margin: 0;
}

#uelegal-fahrzeugvollmacht .uelegal-fv-translation {
    color: #475569;
    font-style: italic;
}



/* =========================================================
   UE.LEGAL FORMS DOCUMENT GATE
   ========================================================= */

body.uelegal-gate-open {
    overflow: hidden;
}

.uelegal-gate-overlay {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, .66);
    backdrop-filter: blur(3px);
}

.uelegal-gate-overlay.is-open {
    display: flex;
}

.uelegal-gate-dialog {
    position: relative;
    width: min(100%, 520px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 32px;
    border-radius: 14px;
    background: #fff;
    box-shadow:
        0 24px 70px rgba(15, 23, 42, .28);
}

.uelegal-gate-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 30px;
    line-height: 38px;
    cursor: pointer;
}

.uelegal-gate-logo {
    margin-bottom: 14px;
    color: #123b63;
    font-size: 17px;
    font-weight: 800;
}

.uelegal-gate-dialog h2 {
    margin: 0 0 10px;
    color: #0f172a;
    font-size: 25px;
    line-height: 1.2;
}

.uelegal-gate-intro {
    margin: 0 0 22px;
    color: #475569;
    font-size: 15px;
    line-height: 1.55;
}

.uelegal-gate-email-label {
    display: block;
    margin-bottom: 7px;
    color: #0f172a;
    font-weight: 700;
}

.uelegal-gate-email-label span {
    color: #cf172f;
}

#uelegal-gate-email {
    width: 100%;
    height: 48px;
    margin: 0 0 20px;
    padding: 0 13px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    color: #0f172a;
    font-size: 16px;
}

#uelegal-gate-email:focus {
    border-color: #123b63;
    outline: 3px solid rgba(18, 59, 99, .10);
}

.uelegal-gate-newsletter {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    margin: 0 0 17px;
    color: #334155;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

.uelegal-gate-newsletter input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
}

.uelegal-gate-privacy {
    margin: 0 0 18px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.uelegal-gate-privacy a {
    color: #123b63;
    font-weight: 700;
}

.uelegal-gate-error {
    margin: 0 0 15px;
    padding: 10px 12px;
    border: 1px solid #fecaca;
    border-radius: 6px;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 13px;
}

.uelegal-gate-submit {
    width: 100%;
    min-height: 50px;
    padding: 12px 18px;
    border: 0;
    border-radius: 7px;
    background: #0f172a;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.uelegal-gate-submit:hover {
    background: #123b63;
}

.uelegal-gate-submit:disabled {
    opacity: .65;
    cursor: wait;
}

.uelegal-gate-small {
    margin: 13px 0 0;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

@media (max-width: 600px) {

    .uelegal-gate-overlay {
        padding: 12px;
    }

    .uelegal-gate-dialog {
        padding: 26px 20px 22px;
        border-radius: 10px;
    }

    .uelegal-gate-dialog h2 {
        padding-right: 25px;
        font-size: 22px;
    }
}

