#engie-prestart-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.engie-prestart-slide-container {
    position: relative;
    width: 500px;
    max-width: 100%;
    height: 550px;
    border: 1px solid #b3b3b3;
    border-radius: 5px;
    background: #ffffff;
    overflow: hidden;
}

.engie-prestart-slide-container {
    position: relative;
    width: 500px;
    max-width: 100%;
    height: 550px;
    border: 1px solid #f3f3f3;
    border-radius: 5px;
    background: #ffffff;
    overflow: hidden;
}

.engie-prestart-slide {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.45s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto; 
    overflow-x: hidden;
}

.engie-prestart-slide.active {
    left: 0;
    opacity: 1;
    transform: translateX(0);
}

.engie-prestart-slide.exit-left {
    left: -100%;
    opacity: 0;
    transform: translateX(-50px);
}

.engie-prestart-slide.exit-right {
    left: 100%;
    opacity: 0;
    transform: translateX(50px);
}

.engie-prestart-slide-inner {
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}


.engie-prestart-slide-inner {
    box-sizing: border-box;
    padding: 20px;
    width: 100%;
    height: 100%;
}

/* Back arrow (visible from 5th slide; controlled by JS) */
.engie-prestart-back-arrow {
    position: absolute;
    top: 10px;
    left: 10px;
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: none;
}

/* Colors */
.engie-navy {
    background-color: #002b5c;
}
.engie-success {
    background-color: #28a745;
}
.engie-orange {
    background-color: #ff9900;
}
.engie-white {
    color: #ffffff;
}

/* General buttons */
.engie-btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    margin-top: 15px;
}

.engie-btn-success {
    background-color: #28a745;
    color: #ffffff;
}

.engie-btn-primary {
    background-color: #002b5c;
    color: #ffffff;
}

.engie-btn-success-outline {
    background-color: #002b5c;
    color: #ffffff;
    border: 2px solid #28a745;
}

.engie-btn-white {
    background-color: #ffffff;
    color: #002b5c;
}

.engie-btn-orange {
    background-color: #ff9900;
    color: #ffffff;
}

/* Inputs */
.engie-input,
.engie-participant-form input[type="text"],
.engie-participant-form input[type="email"],
.engie-participant-form input[type="password"],
.engie-participant-form input[type="url"] {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
    background: white;
}

/* ----------------------------------------------------
   SLIDE 1 — Converted to Engie Prestart Plugin Format
-----------------------------------------------------*/

.engie-prestart-slide[data-slide="1"]{
    display: none !important;
}

/* Slide 1 container */
.engie-slide-1 {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;   /* Center Y */
    align-items: center;       /* Center X */
    text-align: center;
    border: 1px solid #e2e2e2;
}

/* Title */
.engie-slide-1 .engie-heading {
    color: #000000; /* Slide 1 uses black title */
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Highlight text (navy background) */
.engie-slide-1 .engie-highlight-text {
    background-color: #001f5b;
    color: #ffffff;
    padding: 25px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 420px;
}

/* Info box */
.engie-slide-1 .engie-info-box {
    position: relative;
    background-color: #ffffff;
    border: 2px solid #001f5b;
    color: #001f5b;
    padding: 15px 15px 15px 40px;
    border-radius: 4px;
    margin-bottom: 30px;
    width: 75%;
    max-width: 420px;
    box-sizing: border-box;
}

/* Info icon */
.engie-slide-1 .engie-info-icon {
    position: absolute;
    top: -10px;
    left: -10px;
    background-color: #007bff;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Info text */
.engie-slide-1 .engie-info-content {
    margin: 0;
    font-size: 11px;
    text-align: left;
}

/* Continue button */
.engie-slide-1 .engie-btn-success {
    background-color: #28a745;
    color: #ffffff;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.engie-slide-1 .engie-btn-success:hover {
    background-color: #218838;
}


/* ----------------------------------------------------
   SLIDE 2 — Converted to Engie Prestart Plugin Format
-----------------------------------------------------*/

.engie-slide-2 {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;   /* Center Y */
    align-items: center;       /* Center X */
    text-align: center;
    padding: 40px 30px;
    border-top: 26px solid #001f5b;
    border-right: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    border-left: 2px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
}

/* Lock icon */
.engie-slide-2 .engie-lock-icon {
    font-size: 48px;
    color: #888888;
    margin-bottom: 50px;
}

/* Title */
.engie-slide-2 .engie-top-title {
    font-size: 20px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 50px;
}

/* Input field */
.engie-slide-2 .engie-input {
    width: 100%;
    max-width: 500px;
    padding: 12px;
    margin-bottom: 50px;
    font-size: 15px;
    border: 2px solid #b9b9b9;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Error message */
.engie-slide-2 .engie-error-message {
    margin-top: 15px;
    color: #c62828;
    font-size: 14px;
}


/* ----------------------------------------------------
   SLIDE 3 — Converted to Engie Prestart Plugin Format
-----------------------------------------------------*/

.engie-slide-3 {
    background-color: #ffffff;
    width: 500px;
    max-width: 100%;
    min-height: 550px;
    height: auto;
    padding: 30px 10px 10px 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;   /* content starts at top */
    align-items: center;           /* center horizontally */
    overflow-y: auto;
    margin-bottom: 10px;          /* matches your design */
    margin-top: 20px;
}

/* Custom scrollbar */
.engie-slide-3::-webkit-scrollbar {
    width: 6px;
}

.engie-slide-3::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/* Intro text */
.engie-slide-3 .engie-top-text {
    color: #000000;
    font-size: 16px;
    margin-bottom: 25px;
    text-align: center;
    width: 100%;
}

/* Checkbox rows */
.engie-slide-3 .engie-checkbox {
    max-width: 500px;
    width: 100%;
    font-size: 14px;
    color: #333333;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}

/* Checkbox alignment */
.engie-slide-3 .engie-checkbox input[type="checkbox"] {
    margin-top: 4px;
}

.engie-select-country {
    width: 100%;
    padding: 12px 10px;
    margin-bottom: 10px;
    border: 1px solid #ececec;
    border-radius: 6px;
    font-size: 14px;
    color: #404040;
}


/* ----------------------------------------------------
   SLIDE 4 — Converted to Engie Prestart Plugin Format
-----------------------------------------------------*/

.engie-slide-4 {
    background-color: #f3f3f3;
    display: flex;
    flex-direction: column;
    justify-content: center;   /* Center Y */
    align-items: center;       /* Center X */
    text-align: center;
    padding: 30px;
    gap: 20px;
    box-sizing: border-box;
    border: 1px solid #c0c0c0;
}

/* Logo / Tagline */
.engie-slide-4 .engie-logo {
    font-size: 20px;
    font-weight: bold;
    color: #ffc107; /* Yellow accent */
}

/* Tagline text */
.engie-slide-4 .engie-tagline {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 20px;
}

/* Welcome title */
.engie-slide-4 .engie-welcome-title {
    font-size: 24px;
    font-weight: bold;
    color: #002b5c; /* Navy blue */
}

/* Subheading */
.engie-slide-4 .engie-welcome-subtitle {
    font-size: 20px;
    font-weight: bold;
    color: #002b5c;
}

/* Description paragraph */
.engie-slide-4 .engie-welcome-paragraph {
    font-size: 16px;
    color: #002b5c;
    line-height: 1.5;
    max-width: 500px;
    text-align: center;
}


/* ----------------------------------------------------
   SLIDE 5 — Converted to Engie Prestart Plugin Format
-----------------------------------------------------*/

.engie-slide-5 {
    background-color: #f3f3f3;
    display: flex;
    flex-direction: column;
    justify-content: center;   /* Center Y */
    align-items: center;       /* Center X */
    text-align: center;
    padding: 5px;
    gap: 5px;
    box-sizing: border-box;
}

/* Main title */
.engie-slide-5 .engie-main-title {
    color: #001f5b;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

/* Description text */
.engie-slide-5 .engie-main-paragraph {
    color: #001f5b;
    font-size: 14px;
    text-align: center;
    max-width: 350px;
}

.engie-slide-5 .engie-main-paragraph-des {
    color: #001f5b;
    font-size: 9px;
    text-align: center;
    max-width: 350px;
}

/* Attention title */
.engie-slide-5 .engie-attention-title {
    color: #001f5b;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

/* Back button (your global back arrow) */
.engie-prestart-back-arrow {
    position: absolute;
    top: 20px;
    left: 20px;
    background: transparent;
    border: none;
    font-size: 26px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.engie-prestart-back-arrow:hover {
    opacity: 0.7;
}

/* Color variations depending on slide background */
.engie-slide-5 .engie-prestart-back-arrow {
    color: #001f5b; /* Slide 5 uses white background → navy arrow */
}


/* ----------------------------------------------------
   SLIDE 6 — Converted to Engie Prestart Plugin Format
-----------------------------------------------------*/

.engie-slide-6 {
    background-color: #001f5b; /* Navy blue background */

    display: flex;
    flex-direction: column;
    justify-content: center;   /* Center Y */
    align-items: center;       /* Center X */
    text-align: center;

    padding: 30px;
    gap: 20px;
    box-sizing: border-box;
}

/* “OR” text */
.engie-slide-6 .engie-or-text {
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
}

/* Primary button (Perform the check) */
.engie-slide-6 .engie-btn-success {
    background-color: #28a745;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 80%;
    max-width: 350px;
}

.engie-slide-6 .engie-btn-success:hover {
    background-color: #218838;
}

/* Secondary button (Consult best practice sheets) */
.engie-slide-6 .engie-btn-success-outline {
    background-color: #001f5b;
    color: #ffffff;
    border: 2px solid #28a745;
    padding: 14px 30px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 80%;
    max-width: 350px;
}

.engie-slide-6 .engie-btn-success-outline:hover {
    background-color: #002b7a;
}


/* ----------------------------------------------------
   SLIDE 7 — Converted to Engie Prestart Plugin Format
-----------------------------------------------------*/

.engie-slide-7 {
    background-color: #001f5b; /* Navy blue */
    
    display: flex;
    flex-direction: column;
    justify-content: center;   /* Center Y */
    align-items: center;       /* Center X */
    text-align: center;

    padding: 30px;
    gap: 20px;
    box-sizing: border-box;
}

/* Top text */
.engie-slide-7 .engie-white-text {
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

/* Scrollable checkbox box */
.engie-slide-7 .engie-scroll-box {
    width: 100%;
    max-width: 500px;
    height: 350px;
    border: 2px solid #28a745;
    background-color: #ffffff;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 6px;
}

/* Checkbox styling */
.engie-slide-7 .engie-parent-activities-list label {
    display: block;
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 12px;
    text-align: left;
}

.engie-slide-7 .engie-parent-activities-list input[type="checkbox"] {
    margin-right: 0px;
}

/* Continue button */
.engie-slide-7 .engie-btn-next-from-parents {
    background-color: #28a745;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.engie-slide-7 .engie-btn-next-from-parents:hover {
    background-color: #218838;
}

/* ----------------------------------------------------
   SLIDE 8 — Converted to Engie Prestart Plugin Format
-----------------------------------------------------*/

.engie-slide-8 {
    background-color: #001f5b; /* Navy blue */
    display: flex;
    flex-direction: column;
    justify-content: center;   /* Center Y */
    
    text-align: center;
    padding: 30px;
    gap: 20px;
    box-sizing: border-box;
}

/* Top title */
.engie-slide-8 .engie-white-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Activity boxes container */
.engie-slide-8 .engie-selected-activities-box {
    width: 100%;
    max-width: 500px;
    max-height: 250px;
    overflow-y: auto;

    display: flex;
    flex-direction: column;
    gap: 0px;

    background-color: transparent;
    border: none;
    padding: 0;
}

/* Individual activity item */
.engie-slide-8 .engie-selected-activities-list li {
    list-style: none;
    background-color: #ffffff;
    border: 2px solid #28a745;
    color: #001f5b;
    font-size: 16px;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 6px;
    box-sizing: border-box;
    text-align: left;
    margin-bottom: 5px;
}

/* Continue button */
.engie-slide-8 .engie-btn-next {
    background-color: #28a745;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 50px;
}

.engie-slide-8 .engie-btn-next:hover {
    background-color: #218838;
}

/* Disclaimer */
.engie-slide-8 .engie-white-disclaimer {
    color: #ffffff;
    font-size: 8px;
    text-align: center;
    margin-top: 10px;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .engie-slide-8 {
        width: 100%;
        padding: 30px 20px;
    }

    .engie-slide-8 .engie-selected-activities-box {
        width: 100%;
        max-width: 500px;
    }

    .engie-slide-8 .engie-btn-next {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}


/* ----------------------------------------------------
   SLIDE 9 — Converted to Engie Prestart Plugin Format
-----------------------------------------------------*/

.engie-slide-9 {
    background-color: #001f5b; /* Navy blue */

    display: flex;
    flex-direction: column;
    justify-content: center;   /* Center Y */
    align-items: center;       /* Center X */
    text-align: center;

    padding: 30px;
    gap: 25px;
    box-sizing: border-box;
}

/* Top title */
.engie-slide-9 .engie-white-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

/* White triangle with "i" */
.engie-slide-9 .engie-info-triangle {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 50px solid #ffffff;
    position: relative;
    margin: 10px 0;
}

/* "i" inside triangle */
.engie-slide-9 .engie-info-icon-inner {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    font-weight: bold;
    color: #001f5b;
}

/* Info text */
.engie-slide-9 .engie-white-paragraph {
    color: #ffffff;
    font-size: 16px;
    text-align: center;
    max-width: 500px;
    line-height: 1.4;
}

/* Start button */
.engie-slide-9 .engie-btn-next {
    background-color: #28a745;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.engie-slide-9 .engie-btn-next:hover {
    background-color: #218838;
}


/* Slide 10 */
.engie-slide-10 {
    background-color: #002b5c;
    color: #ffffff;
}
.engie-activity-title-box {
    background-color: #ffffff;
    color: #002b5c;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.engie-progress-indicator {
    color: #ffffff;
    margin-bottom: 10px;
}
.engie-big-checkbox-label {
    display: block;
    margin-top: 20px;
}
.engie-big-checkbox {
    transform: scale(1.5);
    margin-right: 10px;
}

.engie-btn-next-child:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}


/* Slide 11 */
.engie-slide-11 {
    background-color: #002b5c;
    color: #ffffff;
    text-align: center;
}
.engie-green-tick {
    font-size: 40px;
    color: #fff;
    margin-bottom: 10px;
    z-index: 999;
}
.engie-or-text {
    display: block;
    margin: 10px 0;
}

/* Slide 12 */
.engie-slide-12 {
    background-color: #002b5c;
    color: #ffffff;
}
.engie-info-box-on-blue {
    background-color: #ffffff;
    color: #002b5c;
}

/* Slide 13 */
.engie-slide-13 {
    background-color: #002b5c;
    color: #ffffff;
    text-align: center;
}

/* ----------------------------------------------------
   SLIDE 14 — Best Practice Sheets
-----------------------------------------------------*/

.engie-slide-14 {
    background-color: #fff; /* Navy blue */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Title stays at top */
    align-items: center;
    text-align: center;
    padding: 30px;
    box-sizing: border-box;
    gap: 5px;

    position: relative; /* For back arrow if needed */
}


/* Scrollable PDF box wrapper */
.engie-slide-14 .engie-pdf-box {
    width: 450px;              /* EXACT width you requested */
    max-height: 450px;         /* Scroll area height */
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
    background-color: transparent;
    border-radius: 6px;
}

/* PDF list inside */
.engie-slide-14 .engie-pdf-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Individual PDF buttons */
.engie-slide-14 .engie-pdf-button {
    background-color: #001f5b;
    color: #ffffff;
    border: 2px solid #28a745;
    padding: 12px 20px;
    font-size: 22px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.3s ease;
}

.engie-slide-14 .engie-pdf-button:hover {
    background-color: #002b7a;
}

/* Exit button */
.engie-slide-14 .engie-btn-orange {
    background-color: #ff5722;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.engie-slide-14 .engie-btn-orange:hover {
    background-color: #e64a19;
}

/* ----------------------------------------------------
   SLIDE 16 — "No Activity Affected" Message
-----------------------------------------------------*/

.engie-slide-16 {
    background-color: #001f5b; /* Navy blue */

    display: flex;
    flex-direction: column;
    justify-content: center;   /* Center vertically */
    align-items: center;       /* Center horizontally */
    text-align: center;

    padding: 30px;
    gap: 20px;
    box-sizing: border-box;
}

/* White text paragraphs */
.engie-slide-16 .engie-info-text {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.5;
    max-width: 500px;
}

/* Orange exit button */
.engie-slide-16 .engie-btn-orange {
    background-color: #ff5722;
    color: #ffffff;
    border: none;
    padding: 14px 30px;
    font-size: 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.engie-slide-16 .engie-btn-orange:hover {
    background-color: #e64a19;
}

/* Checkboxes */
.engie-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}
.engie-checkbox span {
    margin-left: 6px;
}

/* Error messages */
.engie-error-message {
    color: #ff4444;
    font-size: 12px;
    margin-top: 5px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .engie-prestart-slide-inner {
        padding: 15px;
    }
    .engie-scroll-box {
        width: 100%;
    }
}
