@import url('https://fonts.googleapis.com/css2?family=Livvic:wght@400;500;600;700&display=swap');


/* =====================================================
   RESET
===================================================== */

* {
    box-sizing: border-box;
}


html,
body {
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;
}


/* =====================================================
   BODY
===================================================== */

body {

    font-family: 'Livvic', sans-serif;

    color: white;

    overflow: hidden;


    background:

        radial-gradient(
            circle at 10% 20%,
            rgba(231, 93, 38, 0.25),
            transparent 28%
        ),

        radial-gradient(
            circle at 90% 80%,
            rgba(116, 119, 255, 0.25),
            transparent 30%
        ),

        linear-gradient(
            120deg,
            #121536,
            #252866,
            #38398E,
            #252866,
            #121536
        );


    background-size: 200% 200%;

    animation:
        backgroundAnimation 16s
        ease-in-out
        infinite;
}


/* =====================================================
   BACKGROUND ANIMATION
===================================================== */

@keyframes backgroundAnimation {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }

}


/* =====================================================
   MAIN PAGE
===================================================== */

.registration-page {

    position: relative;

    width: 100%;

    height: 100vh;


    display: flex;

    align-items: center;

    justify-content: center;


    gap: 60px;


    padding:
        20px
        6%;


    z-index: 2;
}


/* =====================================================
   LEFT SIDE
===================================================== */

.registration-intro {

    width: 50%;

    display: flex;

    align-items: center;

    justify-content: center;
}


.intro-content {

    width: 500px;

    padding: 10px;


    animation:
        introAppear
        0.8s
        ease-out;
}


@keyframes introAppear {

    from {

        opacity: 0;

        transform:
            translateX(-40px);

    }


    to {

        opacity: 1;

        transform:
            translateX(0);

    }

}


/* =====================================================
   LOGO
===================================================== */

.intro-logo img {

    width: 175px;

    max-width: 100%;


    display: block;


    margin-bottom: 8px;


    border-radius: 7px;
}


/* =====================================================
   ROCKET ICON
===================================================== */

.intro-icon {

    width: 55px;

    height: 55px;


    display: flex;

    align-items: center;

    justify-content: center;


    margin-bottom: 10px;


    border-radius: 50%;


    font-size: 27px;


    background:
        rgba(255,255,255,0.09);


    border:
        1px solid
        rgba(255,255,255,0.15);


    backdrop-filter:
        blur(10px);


    animation:
        rocketFloat
        3s
        ease-in-out
        infinite;
}


@keyframes rocketFloat {

    0%,
    100% {

        transform:
            translateY(0)
            rotate(-3deg);

    }


    50% {

        transform:
            translateY(-7px)
            rotate(3deg);

    }

}


/* =====================================================
   SMALL HEADING
===================================================== */

.intro-small {

    margin:
        0
        0
        7px;


    font-size: 14px;


    font-weight: 700;


    letter-spacing: 2px;


    color: #ff9568;
}


/* =====================================================
   MAIN HEADING
===================================================== */

.intro-content h1 {

    margin: 0;


    font-size:
        clamp(
            52px,
            5vw,
            68px
        );


    line-height: 1.02;


    font-weight: 700;


    letter-spacing: -1.5px;
}


.intro-content h1 span {

    display: block;


    color: #ff7040;


    text-shadow:
        0 6px 25px
        rgba(231,93,38,0.28);
}


/* =====================================================
   DESCRIPTION
===================================================== */

.intro-description {

    max-width: 480px;


    margin:
        18px
        0
        22px;


    font-size: 16px;


    line-height: 1.6;


    color:
        rgba(
            255,
            255,
            255,
            0.78
        );
}


/* =====================================================
   BENEFITS
===================================================== */

.benefits {

    display: flex;

    flex-direction: column;


    gap: 9px;


    max-width: 420px;
}


.benefit {

    display: flex;

    align-items: center;


    gap: 12px;


    padding:
        10px
        13px;


    min-height: 54px;


    border-radius: 11px;


    background:
        rgba(
            255,
            255,
            255,
            0.07
        );


    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.09
        );


    backdrop-filter:
        blur(8px);


    transition:
        all 0.3s ease;
}


.benefit:hover {

    transform:
        translateX(7px);


    background:
        rgba(
            255,
            255,
            255,
            0.12
        );
}


.benefit > span {

    width: 38px;

    height: 38px;


    display: flex;

    align-items: center;

    justify-content: center;


    flex-shrink: 0;


    border-radius: 9px;


    background:
        rgba(
            255,
            255,
            255,
            0.10
        );


    font-size: 19px;
}


.benefit strong {

    display: block;


    font-size: 15px;
}


.benefit small {

    display: block;


    margin-top: 2px;


    color:
        rgba(
            255,
            255,
            255,
            0.58
        );


    font-size: 11px;
}


/* =====================================================
   BOTTOM NOTE
===================================================== */

.intro-bottom {

    display: flex;

    align-items: center;


    gap: 8px;


    margin-top: 14px;


    font-size: 11px;


    color:
        rgba(
            255,
            255,
            255,
            0.62
        );
}


.pulse-dot {

    width: 8px;

    height: 8px;


    flex-shrink: 0;


    border-radius: 50%;


    background: #E75D26;


    animation:
        pulse
        1.8s
        infinite;
}


@keyframes pulse {

    0% {

        box-shadow:
            0 0 0 0
            rgba(
                231,
                93,
                38,
                0.5
            );

    }


    70% {

        box-shadow:
            0 0 0 8px
            rgba(
                231,
                93,
                38,
                0
            );

    }


    100% {

        box-shadow:
            0 0 0 0
            rgba(
                231,
                93,
                38,
                0
            );

    }

}


/* =====================================================
   RIGHT FORM AREA
===================================================== */

.registration-form-area {

    width: 50%;


    display: flex;

    align-items: center;

    justify-content: center;


    animation:
        formAppear
        0.8s
        ease-out;
}


@keyframes formAppear {

    from {

        opacity: 0;

        transform:
            translateX(40px)
            scale(0.97);

    }


    to {

        opacity: 1;

        transform:
            translateX(0)
            scale(1);

    }

}


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

form {

    width: 100%;


    max-width: 430px;


    padding:
        36px
        28px
        30px;


    background:
        rgba(
            255,
            255,
            255,
            0.98
        );


    border-radius: 20px;


    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.8
        );


    box-shadow:

        0 25px 65px
        rgba(
            0,
            0,
            0,
            0.30
        ),

        0 8px 28px
        rgba(
            0,
            0,
            0,
            0.14
        );


    font-family:
        'Livvic',
        sans-serif;
}


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

.form-header {

    display: flex;

    align-items: center;


    gap: 13px;


    margin-bottom: 20px;
}


.form-icon {

    width: 50px;

    height: 50px;


    display: flex;

    align-items: center;

    justify-content: center;


    flex-shrink: 0;


    border-radius: 12px;


    background:
        #38398E;


    font-size: 24px;


    box-shadow:
        0 8px 18px
        rgba(
            56,
            57,
            142,
            0.25
        );
}


.form-header h2 {

    margin: 0;


    color: #38398E;


    font-size: 28px;


    font-weight: 700;
}


.form-header p {

    margin:
        4px
        0
        0;


    color: #888;


    font-size: 12px;
}


/* =====================================================
   INPUTS
===================================================== */

input,
textarea {

    width: 100%;


    padding:
        13px
        15px;


    margin:
        7px
        0;


    border:
        1px solid
        #ddd;


    border-radius: 9px;


    background:
        #fafafa;


    color: #222;


    font-family:
        'Livvic',
        sans-serif;


    font-size: 15px;


    outline: none;


    transition:
        all 0.3s ease;
}


input {

    height: 46px;
}


textarea {

    height: 88px;

    min-height: 88px;


    resize: none;
}


input:focus,
textarea:focus {

    background:
        #ffffff;


    border-color:
        #38398E;


    box-shadow:
        0 0 0 3px
        rgba(
            56,
            57,
            142,
            0.10
        );


    transform:
        translateY(-1px);
}


input::placeholder,
textarea::placeholder {

    color: #999;
}


/* =====================================================
   REGISTER BUTTON
===================================================== */

.register-button {

    position: relative;


    overflow: hidden;


    width: 100%;


    display: flex;

    align-items: center;

    justify-content: space-between;


    padding:
        15px
        18px;


    margin-top: 13px;


    border: none;


    border-radius: 10px;


    cursor: pointer;


    color: white;


    font-family:
        'Livvic',
        sans-serif;


    font-size: 16px;


    font-weight: 600;


    background:

        linear-gradient(
            135deg,
            #E75D26,
            #f27b45
        );


    box-shadow:

        0 10px 24px
        rgba(
            231,
            93,
            38,
            0.30
        );


    transition:
        all 0.3s ease;
}


.register-button:hover {

    transform:
        translateY(-2px);


    box-shadow:

        0 14px 28px
        rgba(
            231,
            93,
            38,
            0.38
        );
}


.button-arrow {

    font-size: 22px;


    transition:
        transform 0.3s ease;
}


.register-button:hover
.button-arrow {

    transform:
        translateX(5px);
}


/* =====================================================
   SECURE NOTE
===================================================== */

.secure-note {

    margin-top: 10px;


    text-align: center;


    color: #999;


    font-size: 10px;
}


/* =====================================================
   FLOATING EMOJIS
===================================================== */

.floating-elements {

    position: fixed;


    inset: 0;


    overflow: hidden;


    pointer-events: none;


    z-index: 1;
}


.float-item {

    position: absolute;


    font-size: 22px;


    opacity: 0.13;


    animation:
        floatingEmoji
        9s
        ease-in-out
        infinite;
}


.item1 {

    left: 5%;

    top: 18%;
}


.item2 {

    left: 43%;

    top: 12%;


    animation-delay: 2s;
}


.item3 {

    right: 5%;

    top: 20%;


    animation-delay: 4s;
}


.item4 {

    left: 8%;

    bottom: 15%;


    animation-delay: 1s;
}


.item5 {

    right: 14%;

    bottom: 15%;


    animation-delay: 3s;
}


.item6 {

    left: 48%;

    bottom: 8%;


    animation-delay: 5s;
}


.item7 {

    right: 40%;

    top: 50%;


    animation-delay: 6s;
}


@keyframes floatingEmoji {

    0%,
    100% {

        transform:
            translateY(0)
            rotate(-5deg);


        opacity: 0.08;
    }


    50% {

        transform:
            translateY(-20px)
            rotate(8deg);


        opacity: 0.18;
    }

}


/* =====================================================
   QR POPUP
===================================================== */

#qrPopup {

    display: none;


    position: fixed;


    inset: 0;


    align-items: center;

    justify-content: center;


    padding: 15px;


    background:
        rgba(
            10,
            12,
            40,
            0.78
        );


    backdrop-filter:
        blur(8px);


    z-index: 9999;
}


.qr-popup-inner {

    width: 410px;


    max-width: 100%;


    padding: 25px;


    text-align: center;


    background:
        #ffffff;


    border-radius: 18px;


    box-shadow:

        0 30px 70px
        rgba(
            0,
            0,
            0,
            0.40
        );


    animation:
        qrAppear
        0.4s
        ease-out;
}


@keyframes qrAppear {

    from {

        opacity: 0;

        transform:
            scale(0.88)
            translateY(20px);

    }


    to {

        opacity: 1;

        transform:
            scale(1)
            translateY(0);

    }

}


.payment-icon {

    font-size: 27px;

    margin-bottom: 3px;
}


.scan-head {

    margin: 0;


    color:
        #38398E;


    font-size: 21px;
}


.payment-text {

    margin:
        5px
        0
        10px;


    color: #777;


    font-size: 12px;
}


#qrPopup img {

    display: block;


    width: 200px;


    max-width: 75%;


    margin:
        8px
        auto
        12px;


    border-radius: 7px;


    box-shadow:

        0 8px 20px
        rgba(
            0,
            0,
            0,
            0.12
        );
}


.receipt-label {

    display: block;


    margin-bottom: 5px;


    color: #333;


    font-size: 12px;
}


.receipt-label span {

    color: #999;
}


#qrPopup input[type="file"] {

    width: 100%;


    margin:
        5px
        0
        8px;


    padding: 9px;


    font-size: 12px;


    background:
        #f7f7f7;
}


#shareReceiptBtn {

    width: 100%;


    padding: 12px;


    margin-top: 7px;


    border: none;


    border-radius: 9px;


    background:

        linear-gradient(
            135deg,
            #25D366,
            #19a950
        );


    color: white;


    font-family:
        'Livvic',
        sans-serif;


    font-size: 13px;


    font-weight: 600;


    cursor: pointer;


    transition:
        all 0.3s ease;
}


#shareReceiptBtn:hover {

    transform:
        translateY(-2px);


    box-shadow:

        0 8px 20px
        rgba(
            37,
            211,
            102,
            0.30
        );
}


/* =====================================================
   SHORT LAPTOP SCREEN
===================================================== */

@media screen
and (max-height: 700px)
and (min-width: 768px) {


    .registration-page {

        gap: 35px;

        padding:
            12px
            5%;
    }


    .intro-logo img {

        width: 150px;
    }


    .intro-icon {

        width: 48px;

        height: 48px;

        font-size: 23px;

        margin-bottom: 6px;
    }


    .intro-content h1 {

        font-size: 50px;
    }


    .intro-description {

        margin:
            10px
            0
            13px;

        font-size: 14px;
    }


    .benefits {

        gap: 6px;
    }


    .benefit {

        min-height: 43px;

        padding:
            6px
            10px;
    }


    .benefit > span {

        width: 31px;

        height: 31px;

        font-size: 16px;
    }


    .benefit strong {

        font-size: 13px;
    }


    .benefit small {

        font-size: 10px;
    }


    .intro-bottom {

        margin-top: 8px;
    }


    form {

        max-width: 410px;


        padding:
            25px
            24px
            22px;
    }


    .form-header {

        margin-bottom: 12px;
    }


    .form-icon {

        width: 42px;

        height: 42px;

        font-size: 20px;
    }


    .form-header h2 {

        font-size: 24px;
    }


    input {

        height: 40px;

        padding:
            10px
            13px;

        margin:
            5px
            0;

        font-size: 14px;
    }


    textarea {

        height: 65px;

        min-height: 65px;

        padding:
            10px
            13px;

        margin:
            5px
            0;
    }


    .register-button {

        padding:
            12px
            16px;

        margin-top: 8px;
    }


    .secure-note {

        margin-top: 6px;
    }

}


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

@media screen
and (max-width: 767px) {


    body {

        overflow-y: auto;

        overflow-x: hidden;
    }


    .registration-page {

        height: auto;

        min-height: 100vh;


        flex-direction: column;


        padding:
            25px
            12px
            35px;


        gap: 25px;
    }


    .registration-intro,
    .registration-form-area {

        width: 100%;
    }


    .registration-intro {

        text-align: center;
    }


    .intro-content {

        width: 100%;
    }


    .intro-logo img {

        width: 160px;

        margin-left: auto;

        margin-right: auto;
    }


    .intro-icon {

        width: 52px;

        height: 52px;


        margin:
            0
            auto
            10px;
    }


    .intro-content h1 {

        font-size: 40px;
    }


    .intro-description {

        margin:
            12px
            auto
            17px;


        font-size: 13px;
    }


    .benefits {

        max-width: 430px;

        margin:
            auto;
    }


    .intro-bottom {

        justify-content: center;
    }


    form {

        max-width: 480px;

        padding:
            27px
            18px
            25px;


        border-radius: 17px;
    }


    .floating-elements {

        display: none;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media screen
and (max-width: 480px) {


    .registration-page {

        padding:
            18px
            10px
            25px;
    }


    .intro-logo img {

        width: 145px;
    }


    .intro-content h1 {

        font-size: 34px;
    }


    .intro-description {

        font-size: 12px;

        line-height: 1.5;
    }


    .benefit {

        min-height: 50px;
    }


    form {

        padding:
            22px
            15px
            22px;
    }


    .form-header h2 {

        font-size: 24px;
    }


    input {

        height: 44px;

        font-size: 14px;
    }


    textarea {

        height: 75px;

        min-height: 75px;
    }


    .register-button {

        padding:
            13px
            15px;

        font-size: 15px;
    }


    #qrPopup {

        padding: 12px;
    }


    .qr-popup-inner {

        padding:
            20px
            14px;
    }


    #qrPopup img {

        width: 185px;
    }

}



/* =====================================================
   BATCH SELECTION
===================================================== */

.batch-selection {
    width: 100%;
    margin: 4px 0 16px;
}

.batch-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #38398E;
    margin-bottom: 10px;
}

.batch-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 8px;
    border: 1px solid #e2e2ee;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.batch-option:hover {
    border-color: #38398E;
    background: #f8f8ff;
}

.batch-option input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
    accent-color: #38398E;
    cursor: pointer;
}

.batch-option span {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 14px;
    font-weight: 600;
    color: #333854;
}

.batch-option small {
    font-size: 12px;
    font-weight: 400;
    color: #777;
}

.batch-option:has(input:checked) {
    border-color: #38398E;
    background: #f5f4ff;
    box-shadow: 0 0 0 1px #38398E;
}