﻿/* IMEI Sol register page redesign - scoped to this page */
.auth-page, .auth-page * {
    box-sizing: border-box;
    font-family: Poppins,"Segoe UI",Arial,sans-serif
}

.auth-page {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg,#fff 0%,#fff1f5 54%,#f8faff 100%);
    color: #242733
}

    /* Header */
    .auth-page .auth-topbar {
        position: sticky;
        top: 0;
        z-index: 9999;
        min-height: 82px;
        background: rgba(255,255,255,.97);
        box-shadow: 0 8px 24px rgba(17,24,39,.08);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px)
    }

        .auth-page .auth-topbar .navbar {
            width: min(1180px,calc(100% - 48px));
            min-height: 82px;
            margin: 0 auto;
            padding: 0;
            background: transparent !important
        }

    .auth-page .auth-logo {
        display: flex;
        align-items: center;
        margin-right: 34px;
        padding: 0
    }

    .auth-page .logo-img {
        display: block;
        width: auto;
        height: 46px;
        object-fit: contain
    }

    .auth-page .auth-nav {
        align-items: center;
        gap: 10px
    }

        .auth-page .auth-nav .nav-link {
            padding: 12px 10px !important;
            color: #303441 !important;
            font-size: 14px;
            font-weight: 500;
            line-height: 1.3;
            text-decoration: none
        }

            .auth-page .auth-nav .nav-link:hover {
                color: #EF476E !important
            }

    .auth-page .auth-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: 18px
    }

        .auth-page .auth-actions a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            height: 42px;
            padding: 0 18px;
            border-radius: 24px;
            font-size: 14px;
            font-weight: 700;
            text-decoration: none !important;
            white-space: nowrap
        }

    .auth-page .register-action {
        color: #F76D49 !important
    }

    .auth-page .login-action {
        min-width: 92px;
        background: #F76D49;
        color: #fff !important;
        box-shadow: 0 12px 24px rgba(247,109,73,.24)
    }

        .auth-page .login-action:hover {
            background: #ef5d38;
            color: #fff !important
        }

    /* Keep navbar text exactly as written; never auto-uppercase */
    .auth-page .navbar a,
    .auth-page .navbar-nav .nav-link,
    .auth-page .auth-nav .nav-link,
    .auth-page .auth-actions a {
        text-transform: none !important;
        letter-spacing: normal !important;
    }

    /* Main */
    .auth-page .auth-shell {
        position: relative;
        isolation: isolate;
        overflow: hidden;
        width: min(1180px,100%);
        min-height: calc(100vh - 82px);
        margin: 0 auto;
        padding: 58px 24px 72px;
        display: grid;
        grid-template-columns: minmax(0,.88fr) minmax(560px,1.12fr);
        gap: 54px;
        align-items: center
    }

        .auth-page .auth-shell:before {
            content: "";
            position: absolute;
            z-index: -1;
            width: 560px;
            height: 560px;
            right: -260px;
            top: 55px;
            border-radius: 50%;
            background: linear-gradient(135deg,rgba(239,71,110,.18),rgba(247,109,73,.12))
        }

        .auth-page .auth-shell:after {
            content: "";
            position: absolute;
            z-index: -1;
            width: 360px;
            height: 360px;
            left: -245px;
            bottom: -190px;
            border-radius: 50%;
            background: rgba(36,88,255,.06)
        }

    /* Left copy */
    .auth-page .auth-eyebrow {
        display: block;
        margin-bottom: 14px;
        color: #EF476E;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .22em;
        text-transform: uppercase
    }

    .auth-page .auth-copy h1 {
        max-width: 540px;
        margin: 0 0 18px;
        color: #151a27;
        font-size: clamp(38px,4vw,48px);
        line-height: 1.12;
        font-weight: 800;
        letter-spacing: -.045em;
        text-transform: none
    }

    .auth-page .auth-copy > p {
        max-width: 590px;
        margin: 0;
        color: #5f6673;
        font-size: 17px;
        line-height: 1.72
    }

    .auth-page .auth-points {
        display: grid;
        gap: 14px;
        margin: 30px 0 0;
        padding: 0
    }

        .auth-page .auth-points li {
            list-style: none;
            display: flex;
            align-items: center;
            color: #3c4250;
            font-size: 14px
        }

            .auth-page .auth-points li:before {
                content: "✓";
                flex: 0 0 22px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 22px;
                height: 22px;
                margin-right: 10px;
                border-radius: 50%;
                background: #F76D49;
                color: #fff;
                font-size: 12px;
                font-weight: 800
            }

    /* Card */
    .auth-page .auth-card {
        position: relative;
        z-index: 1;
        width: 100%;
        padding: 34px 36px 30px;
        border: 1px solid #fff1f5;
        border-radius: 24px;
        background: rgba(255,255,255,.95);
        box-shadow: 0 24px 60px rgba(239,71,110,.12)
    }

    .auth-page .auth-card-heading h2 {
        margin: 0 0 7px;
        color: #151a27;
        font-size: 30px;
        line-height: 1.2;
        font-weight: 800;
        letter-spacing: -.03em;
        text-transform: none
    }

    .auth-page .auth-card-heading p {
        margin: 0 0 24px;
        color: #6b7280;
        font-size: 14px;
        line-height: 1.6
    }

    .auth-page .auth-form-grid {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        column-gap: 16px;
        row-gap: 14px
    }

    .auth-page .auth-field {
        min-width: 0;
        text-align: left
    }

        .auth-page .auth-field label {
            display: block;
            margin: 0 0 7px;
            color: #303441;
            font-size: 12px;
            font-weight: 700;
            text-transform: none
        }

        .auth-page .auth-field input, .auth-page .auth-field select, .auth-page .auth-field .wide {
            display: block;
            width: 100% !important;
            height: 49px;
            margin: 0 !important;
            padding: 0 14px !important;
            border: 1px solid #e2e6ef !important;
            border-radius: 13px !important;
            outline: none !important;
            background: #fff !important;
            color: #151a27 !important;
            font-size: 14px !important;
            font-weight: 400 !important;
            line-height: normal !important;
            box-shadow: none !important;
            text-transform: none !important
        }

            .auth-page .auth-field input::placeholder {
                color: #a7adb9;
                opacity: 1
            }

            .auth-page .auth-field input:focus, .auth-page .auth-field select:focus {
                border-color: #F76D49 !important;
                box-shadow: 0 0 0 4px rgba(247,109,73,.12) !important
            }

    /* Submit */
    .auth-page .auth-submit-wrap, .auth-page .contact_btn_main.auth-submit-wrap {
        display: block !important;
        width: 100%;
        margin-top: 22px;
        text-align: center
    }

        .auth-page .auth-submit-wrap .send_bt {
            float: none !important;
            display: block !important;
            width: 100%;
            margin: 0 !important;
            padding: 0 !important
        }

            .auth-page .auth-submit, .auth-page .auth-submit-wrap .send_bt a {
                display: flex !important;
                align-items: center;
                justify-content: center;
                width: 100%;
                min-height: 52px;
                padding: 0 24px !important;
                border: 0 !important;
                border-radius: 26px !important;
                background: #F76D49 !important;
                color: #fff !important;
                font-size: 15px !important;
                font-weight: 800 !important;
                text-decoration: none !important;
                text-transform: none !important;
                box-shadow: 0 14px 28px rgba(247,109,73,.24) !important
            }

                .auth-page .auth-submit:hover, .auth-page .auth-submit-wrap .send_bt a:hover {
                    background: #ef5d38 !important;
                    color: #fff !important
                }

    .auth-page .auth-switch {
        margin: 20px 0 0;
        text-align: center;
        color: #6b7280;
        font-size: 13px
    }

        .auth-page .auth-switch a {
            color: #F76D49 !important;
            font-weight: 800;
            text-decoration: none;
            text-transform: none !important
        }

/* Responsive */
@media(max-width:900px) {
    .auth-page .auth-shell {
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 50px 20px 64px
    }

    .auth-page .auth-copy {
        text-align: center
    }

        .auth-page .auth-copy h1, .auth-page .auth-copy > p {
            margin-left: auto;
            margin-right: auto
        }

    .auth-page .auth-points {
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        text-align: left
    }

    .auth-page .auth-card {
        max-width: 700px;
        margin: 0 auto
    }

    .auth-page .navbar-collapse {
        position: absolute;
        top: 72px;
        left: 18px;
        right: 18px;
        z-index: 10000;
        padding: 18px;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 18px 40px rgba(17,24,39,.13)
    }

    .auth-page .auth-nav {
        align-items: stretch;
        gap: 2px
    }

    .auth-page .auth-actions {
        margin: 10px 0 0
    }

        .auth-page .auth-actions a {
            flex: 1
        }
}

@media(max-width:600px) {
    .auth-page .auth-topbar, .auth-page .auth-topbar .navbar {
        min-height: 72px
    }

        .auth-page .auth-topbar .navbar {
            width: calc(100% - 28px)
        }

    .auth-page .logo-img {
        height: 38px
    }

    .auth-page .auth-shell {
        min-height: calc(100vh - 72px);
        padding: 40px 16px 52px
    }

    .auth-page .auth-copy h1 {
        font-size: 34px
    }

    .auth-page .auth-copy > p {
        font-size: 15px
    }

    .auth-page .auth-card {
        padding: 26px 20px 24px;
        border-radius: 20px
    }

    .auth-page .auth-card-heading h2 {
        font-size: 26px
    }

    .auth-page .auth-form-grid {
        grid-template-columns: 1fr;
        gap: 13px
    }
}

/* =====================================================
   NAVBAR - THREE SEPARATE SECTIONS
   Logo | Main Navigation | Login/Register
   ===================================================== */

.auth-page .auth-topbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}


    .auth-page .auth-topbar .navbar {
        width: min(1180px, calc(100% - 48px));
        min-height: 82px;
        margin: 0 auto;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: transparent !important;
    }


/* Logo */

.auth-page .nav-logo-section {
    flex: 0 0 auto;
}


.auth-page .auth-logo {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}


.auth-page .logo-img {
    width: auto;
    height: 46px;
    display: block;
    object-fit: contain;
}


/* Navbar collapse */

.auth-page .auth-navbar-collapse {
    flex: 1;
    align-items: center;
    justify-content: space-between;
    margin-left: 70px;
}


/* Main center menu */

.auth-page .nav-main-section {
    flex: 1;
    display: flex;
    justify-content: center;
}


.auth-page .auth-main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin: 0;
}


/* Account section */

.auth-page .nav-account-section {
    flex: 0 0 auto;
    margin-left: 45px;
}


.auth-page .auth-account-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
}


    /* =====================================================
   NEVER AUTOMATICALLY UPPERCASE NAVBAR ITEMS
   ===================================================== */

    .auth-page .navbar a,
    .auth-page .navbar-nav a,
    .auth-page .navbar-nav .nav-link,
    .auth-page .auth-main-nav .nav-link,
    .auth-page .auth-account-nav a {
        text-transform: none !important;
        letter-spacing: normal !important;
    }


/* Main menu */

.auth-page .auth-main-nav .nav-link {
    padding: 12px 4px !important;
    color: #303441 !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}


    .auth-page .auth-main-nav .nav-link:hover {
        color: #F76D49 !important;
    }


/* Register/Login list */

.auth-page .auth-account-nav li {
    display: flex;
    align-items: center;
}


.auth-page .auth-account-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}


.auth-page .register-action {
    color: #303441 !important;
}


    .auth-page .register-action:hover,
    .auth-page .register-action.active {
        color: #F76D49 !important;
    }


.auth-page .login-action {
    min-width: 92px;
    background: #F76D49;
    color: #ffffff !important;
    box-shadow: 0 12px 24px rgba(247, 109, 73, 0.24);
}


    .auth-page .login-action:hover {
        background: #ef5d38;
        color: #ffffff !important;
    }