/* -- © 2025 AleiniCom - All rights reserved. -- */
@media (max-width: 768px) {
.header-logo {
    height: 50px;
    width: auto;
    vertical-align: middle;
    left: 14px;                              /* Move logo closer to the left edge */
    top: 15px;                               /* Raise the logo up */
    position: absolute;                     /* Ensure positioning works */
    margin: 0;
}
.ppheader {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffd700;
    text-align: center;
    width: 100%;
    margin: 0;
    background: rgba(0,0,0,0.90); 
    position: fixed;
    margin-top: 6px;                    /* Adjusted to push header down */
    top: -7px;                          /* Pushes the top border just above the viewport */
    left: -6px;                         /* Pushes the left border just off-screen */
    right: -6px;                        /* Pushes the right border just off-screen */
    width: auto;
    border-color: #ffd700;
    border-style: solid;
    border-width: 1px;
    z-index: 1001;
}
.pptitle {
    color: #ffd700;
    -webkit-text-stroke: 1px #000;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    flex: 1 1 auto;
    text-align: center;
    position: relative;
    left: -10px;                           /* Move the title a little to the left. Adjust value as needed */
    width: 300px;
}
.lang-option1 {
    display: none;
}
.lang-option2 {
    display: none;
 }
.ppclose-btn {
    position: absolute;
    top: 22px;
    right: 18px;
    color: #ffd700;
    background: rgba(34,34,34,0.85);
    border: 2px solid #ffd700;
    border-radius: 50%;
    box-shadow: none;
    outline: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    width: 30px;
    height: 30px;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, color 0.2s;
}
/* SVG inside close button */
.ppclose-btn svg {
    width: 22px;
    height: 22px;
    display: block;
    pointer-events: none;
}

/* Ensure mobile page is scrollable */
html, body {
    height: auto !important;
    min-height: 100vh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    position: static !important;
}

/* Ensure main content is scrollable and not blocked by fixed header */
.ppbody, main {
    position: static !important;
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh !important;
    padding-top: 0 !important; /* leave space for fixed header */
    box-sizing: border-box;
}

    /* Unset overflow and height for all direct children of body to prevent scroll lock */
body > * {
    overflow: unset !important;
    height: auto !important;
}

section.alcpp {
  margin-top: -100px !important;
  padding-top: 0 !important;
}

/* //// Custom confirm box adjustments for mobile //// */
body.lang-us .custom-confirm-box {
    width: 400px;                        /* Adjust width for mobile */
    max-width: 70vw !important;          /* Prevent spanning full width */
    min-width: 260px !important;         /* Match desktop min width */
    height: 340px !important;            /* Adjust height for mobile */
    position: fixed !important;
    left: 50% !important;
    top: 120px !important;               /* Move lower on the screen; adjust as needed */
    transform: translate(-50%, 0) !important; /* Remove vertical centering */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    z-index: 12000 !important;
}
body.lang-es .custom-confirm-box {
    width: 400px;                        /* Adjust width for mobile */
    max-width: 70vw !important;          /* Prevent spanning full width */
    min-width: 260px !important;         /* Match desktop min width */
    height: 340px !important;            /* Adjust height for mobile */
    position: fixed !important;
    left: 50% !important;
    top: 120px !important;               /* Move lower on the screen; adjust as needed */
    transform: translate(-50%, 0) !important; /* Remove vertical centering */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    z-index: 12000 !important;
}
body.lang-fr .custom-confirm-box {
    width: 400px;                        /* Adjust width for mobile */
    max-width: 70vw !important;          /* Prevent spanning full width */
    min-width: 260px !important;         /* Match desktop min width */
    height: 340px !important;            /* Adjust height for mobile */
    position: fixed !important;
    left: 50% !important;
    top: 120px !important;               /* Move lower on the screen; adjust as needed */
    transform: translate(-50%, 0) !important; /* Remove vertical centering */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    z-index: 12000 !important;
}
body.lang-de .custom-confirm-box {
    width: 400px;                        /* Adjust width for mobile */
    max-width: 70vw !important;          /* Prevent spanning full width */
    min-width: 260px !important;         /* Match desktop min width */
    height: 340px !important;            /* Adjust height for mobile */
    position: fixed !important;
    left: 50% !important;
    top: 120px !important;               /* Move lower on the screen; adjust as needed */
    transform: translate(-50%, 0) !important; /* Remove vertical centering */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    z-index: 12000 !important;
}
body.lang-it .custom-confirm-box {
    width: 400px;                        /* Adjust width for mobile */
    max-width: 70vw !important;          /* Prevent spanning full width */
    min-width: 260px !important;         /* Match desktop min width */
    height: 340px !important;            /* Adjust height for mobile */
    position: fixed !important;
    left: 50% !important;
    top: 120px !important;               /* Move lower on the screen; adjust as needed */
    transform: translate(-50%, 0) !important; /* Remove vertical centering */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    z-index: 12000 !important;
}
body.lang-br .custom-confirm-box {
    width: 400px;                        /* Adjust width for mobile */
    max-width: 70vw !important;          /* Prevent spanning full width */
    min-width: 260px !important;         /* Match desktop min width */
    height: 340px !important;            /* Adjust height for mobile */
    position: fixed !important;
    left: 50% !important;
    top: 120px !important;               /* Move lower on the screen; adjust as needed */
    transform: translate(-50%, 0) !important; /* Remove vertical centering */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    z-index: 12000 !important;
}
body.lang-pl .custom-confirm-box {
    width: 400px;                        /* Adjust width for mobile */
    max-width: 70vw !important;          /* Prevent spanning full width */
    min-width: 260px !important;         /* Match desktop min width */
    height: 340px !important;            /* Adjust height for mobile */
    position: fixed !important;
    left: 50% !important;
    top: 120px !important;               /* Move lower on the screen; adjust as needed */
    transform: translate(-50%, 0) !important; /* Remove vertical centering */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    z-index: 12000 !important;
}
body.lang-ukr .custom-confirm-box {
    width: 400px;                        /* Adjust width for mobile */
    max-width: 70vw !important;          /* Prevent spanning full width */
    min-width: 260px !important;         /* Match desktop min width */
    height: 340px !important;            /* Adjust height for mobile */
    position: fixed !important;
    left: 50% !important;
    top: 120px !important;               /* Move lower on the screen; adjust as needed */
    transform: translate(-50%, 0) !important; /* Remove vertical centering */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    z-index: 12000 !important;
}

/* Custom Adjustments for  */

} /* End of pp768 mobile styles */