/* =========================================
   GLOBAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}


html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}


body {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    margin: 0;
    background: #faf9f7;
    color: #111111;
    overflow-x: hidden !important;
}




/* =========================================
   REGISTER SECTION
========================================= */

.register-section {

    width: 100%;
    min-height: 100vh;

    background: #faf9f7;

    display: flex;

    justify-content: center;

    align-items: flex-start;

    padding: 35px 20px 50px;

}



/* =========================================
   MAIN CONTAINER
========================================= */

.register-container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;

}



/* =========================================
   BRAND
========================================= */

.register-brand {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    margin-bottom: 22px;

}



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

.brand-logo {

    width: 36px;

    height: 36px;

    background: linear-gradient(135deg, #0B2A46 0%, #0D7C87 100%);

    border-radius: 9px;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    flex-shrink: 0;
    color: #ffffff;
    font-size: 18px;

}


.brand-logo img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    display: block;

}



/* =========================================
   BRAND NAME
========================================= */

.brand-name {

    color: #0B2A46;

    font-size: 22px;

    font-weight: 600;

    letter-spacing: -0.5px;

}

.brand-name .brand-connect,
.brand-connect {
    color: #2FC6D1;
}



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

.register-heading {

    text-align: center;

    margin-bottom: 32px;

}


.register-heading h1 {

    margin: 0 0 8px;

    color: #111111;

    font-size: 26px;

    line-height: 1.2;

    font-weight: 600;

    letter-spacing: -0.7px;

}


.register-heading p {

    margin: 0;

    color: #77736f;

    font-size: 14px;

    line-height: 1.5;

}



/* =========================================
   REGISTER CARD
========================================= */

.register-card {

    width: 100%;

    max-width: 448px;

    background: #ffffff;

    border: 1px solid #e5e1dc;

    border-radius: 8px;

    padding: 32px;

}

.alert-error-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 16px;
    font-size: 12.5px;
}

.alert-error-box ul {
    margin-left: 18px;
    margin-top: 4px;
}


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

.register-card form {

    width: 100%;

}


.form-group {

    width: 100%;

    margin-bottom: 14px;

}


.form-group label {

    display: block;

    margin-bottom: 7px;

    color: #383532;

    font-size: 13px;

    font-weight: 500;

}



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

.form-group input,
.form-group select {

    width: 100%;

    height: 43px;

    padding: 0 12px;

    border: 1px solid #d8d3ce;

    border-radius: 6px;

    background: #ffffff;

    color: #252525;

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

    font-size: 13px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;

}


.form-group input::placeholder {

    color: #aaa6a1;

}


.form-group select {

    color: #aaa6a1;

    cursor: pointer;

    appearance: auto;

}


.form-group select:valid {

    color: #252525;

}


.form-group input:focus,
.form-group select:focus {

    border-color: #0D7C87;

    box-shadow:
        0 0 0 3px rgba(47, 198, 209, 0.2);

}



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

.register-button {

    width: 100%;

    height: 41px;

    margin-top: 2px;

    border: none;

    border-radius: 6px;

    background: linear-gradient(135deg, #0B2A46 0%, #0D7C87 100%);

    color: #ffffff;

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

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;

}


.register-button:hover {

    background: #1d4ed8;

    box-shadow:
        0 7px 18px rgba(37, 99, 235, 0.16);

}


.register-button:active {

    transform: translateY(1px);

}



/* =========================================
   SIGN IN
========================================= */

.signin-text {

    text-align: center;

    margin-top: 21px;

    font-size: 13px;

    color: #55514d;

}


.signin-text a {

    color: #1d4ed8;

    font-weight: 600;

    text-decoration: none;

    margin-left: 3px;

}


.signin-text a:hover {

    text-decoration: underline;

}



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

@media (max-width: 768px) {

    .register-section {

        padding:
            32px 20px 45px;

    }


    .register-heading h1 {

        font-size: 25px;

    }


    .register-card {

        max-width: 448px;

    }

}



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

@media (max-width: 480px) {

    .register-section {

        min-height: 100vh;

        padding:
            27px 16px 40px;

    }


    .register-container {

        max-width: 100%;

    }


    .register-brand {

        margin-bottom: 19px;

    }


    .brand-logo {

        width: 34px;

        height: 34px;

        border-radius: 8px;

    }


    .brand-name {

        font-size: 20px;

    }


    .register-heading {

        margin-bottom: 24px;

    }


    .register-heading h1 {

        font-size: 23px;

    }


    .register-heading p {

        font-size: 13px;

        padding: 0 8px;

    }


    .register-card {

        width: 100%;

        padding: 25px 20px;

        border-radius: 8px;

    }


    .form-group {

        margin-bottom: 14px;

    }


    .form-group input,
    .form-group select {

        height: 44px;

    }


    .register-button {

        height: 43px;

    }


    .signin-text {

        font-size: 12.5px;

    }

}



/* =========================================
   SMALL PHONES
========================================= */

@media (max-width: 360px) {

    .register-section {

        padding-left: 12px;

        padding-right: 12px;

    }


    .register-card {

        padding:
            22px 17px;

    }


    .register-heading h1 {

        font-size: 22px;

    }


    .register-heading p {

        font-size: 12px;

    }

}


/* =========================================
   TERMS & PRIVACY
========================================= */

.consent-text {
    margin-top: 4px;
    margin-bottom: 14px;

    color: #77736f;

    font-size: 10px;
    line-height: 1.5;

    text-align: center;
}


.consent-text a {
    color: #1d4ed8;

    font-weight: 500;

    text-decoration: none;
}


.consent-text a:hover {
    text-decoration: underline;
}


/* =========================================
   MOBILE TERMS
========================================= */

@media (max-width: 480px) {

    .consent-text {
        font-size: 9.5px;

        line-height: 1.5;

        margin-bottom: 13px;
    }

}


/* =========================================
   SUCCESS FLOW STYLE
========================================= */

.success-flow-container {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

.success-flow-card {
    background: linear-gradient(160deg, #ffffff 0%, #eff6ff 100%);
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    padding: 38px 28px 32px;
    text-align: center;
    box-shadow: 
        0 20px 40px -15px rgba(37, 99, 235, 0.18),
        0 0 0 1px rgba(37, 99, 235, 0.05);
    position: relative;
    overflow: hidden;
}

.success-flow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0B2A46 0%, #0D7C87 50%, #2FC6D1 100%);
}

.success-flow-icon-box {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(47, 198, 209, 0.15);
    animation: pulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.icon-inner {
    position: relative;
    z-index: 2;
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #0B2A46 0%, #0D7C87 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 30px;
    box-shadow: 0 8px 20px rgba(13, 124, 135, 0.35);
}

@keyframes pulseRing {
    0% {
        transform: scale(0.85);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.35);
        opacity: 0;
    }
    100% {
        transform: scale(0.85);
        opacity: 0;
    }
}

.success-flow-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #dbeafe;
    color: #1d4ed8;
    border: 1px solid #93c5fd;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 0.2px;
}

.success-flow-card h2 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px;
    letter-spacing: -0.5px;
}

.success-flow-message {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0 0 24px;
}

.flow-timer-wrapper {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.flow-timer-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 10px;
    width: 0%;
    animation: flowFill 5s linear forwards;
}

@keyframes flowFill {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

.flow-redirect-text {
    font-size: 12.5px;
    color: #6b7280;
    margin-bottom: 24px;
}

.flow-redirect-text strong,
.flow-redirect-text span {
    color: #0D7C87;
    font-weight: 700;
}

.success-flow-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.btn-flow-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 13px 20px;
    background: linear-gradient(135deg, #0D7C87 0%, #2FC6D1 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(13, 124, 135, 0.28);
    transition: all 0.25s ease;
}

.btn-flow-primary:hover {
    background: linear-gradient(135deg, #0B2A46 0%, #0D7C87 100%);
    box-shadow: 0 8px 24px rgba(11, 42, 70, 0.4);
    transform: translateY(-1px);
}

.btn-flow-primary i {
    transition: transform 0.25s ease;
}

.btn-flow-primary:hover i {
    transform: translateX(4px);
}

.btn-flow-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 20px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-flow-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #111827;
}
