/* custom.css - Final Corrected Version */

/* --- DESKTOP STYLES --- */
.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.register-content {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
}

/* --- MOBILE STYLES (max-width: 768px) --- */
@media (max-width: 768px) {

    /* CRITICAL: Override the injected style that causes the left margin */
    html.ai-assist-html, body {
        width: 100% !important;
        overflow-x: hidden !important;
        position: static !important; /* Reset position */
        min-height: auto !important; /* Remove fixed min-height */
    }

    /* Remove fixed min-height from login wrapper */
    .login-wrapper {
        min-height: auto !important;
    }

    /* Override original CSS that forces a large width */
    .main, .login-wrapper {
        min-width: 0 !important;
    }

    /* Center the logo */
    .headerLogo {
        position: static !important;
        display: block !important;
        margin: 20px auto !important;
        float: none !important;
        width: 150px !important;
    }

    /* Hide nav and footer */
    .headerNav, .footer {
        display: none !important;
    }
   
    /* Adjust form container and content */
    .register-container {
        display: block !important;
        padding: 0 !important;
        min-height: 0 !important;
        height: auto !important; /* Ensure height is not fixed */
        position: static !important; /* Remove absolute positioning */
    }

    .register-content {
        width: 100% !important;
        margin: 0 auto !important;
        box-shadow: none !important;
        padding: 20px !important;
        padding-bottom: 90px !important;
        left: 0;
        top:110px !important;
    }

    .register-content .title h2 {
        text-align: center;
        margin: 0px 0 20px 0 !important;
        padding: 0 !important;
    }

    /* Adjust floating service icons - horizontal layout at bottom */
    .OnlineService_Bg {
        width: 100% !important;
        height: 75px !important;
        left: 0 !important;
        right: auto !important;
        bottom: 0 !important;
        background: rgba(0, 0, 0, 0.8) !important;
        padding: 5px 10px !important;
        box-sizing: border-box !important;
    }

    .OnlineService_Box {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: 100% !important;
        gap: 20px !important;
    }

    .OnlineService_Phone,
    .OnlineService_mail,
    .OnlineService_app,
    .OnlineService_Top {
        width: 70px !important;
        height: 70px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
    }

    .OnlineService_Phone a,
    .OnlineService_mail a,
    .OnlineService_app a,
    .OnlineService_Top a {
        width: 70px !important;
        height: 70px !important;
        padding-top: 56px !important;
        font-size: 12px !important;
        background-size: 42px 42px !important;
        background-position: center 14px !important;
        color: #fff !important;
    }
}




