/* =========================================================
   IDEYFINDHOUSE
   SPONSORED ADVERTISER PORTAL
   ========================================================= */


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

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background:
        #f4f7f6;

    color: #14221e;

    -webkit-font-smoothing: antialiased;

    text-rendering: optimizeLegibility;
}

button,
input {
    font-family: inherit;
}

button {
    border: 0;
}

a {
    text-decoration: none;
}


/* =========================================================
   PAGE LOADER
   ========================================================= */

#pageLoader {
    position: fixed;
    inset: 0;

    z-index: 99999;

    background: #071c17;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    opacity: 1;

    transition:
        opacity .45s ease,
        visibility .45s ease;
}

#pageLoader.page-loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    color: #ffffff;

    font-size: 22px;
    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 24px;
}

.loader-logo span {
    display: block;

    color: #d9b76c;

    font-size: 10px;

    text-align: center;

    letter-spacing: 4px;

    margin-top: 3px;
}

.loader-spinner {
    width: 35px;
    height: 35px;

    border: 3px solid rgba(255,255,255,.16);

    border-top-color: #d9b76c;

    border-radius: 50%;

    animation:
        loaderSpin .8s linear infinite;
}

@keyframes loaderSpin {
    to {
        transform: rotate(360deg);
    }
}


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

.ads-page {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}


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

.ads-header {
    height: 74px;

    padding: 0 5%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #ffffff;

    border-bottom: 1px solid #e6ece9;

    position: relative;

    z-index: 10;
}


/* BRAND */

.brand {
    display: flex;

    align-items: center;

    gap: 11px;

    color: #10231d;
}

.brand-mark {
    width: 39px;
    height: 39px;

    border-radius: 11px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #0d5c49;

    color: #ffffff;

    box-shadow:
        0 5px 14px rgba(13,92,73,.22);
}

.brand-mark i {
    font-size: 17px;
}

.brand-name {
    display: flex;

    flex-direction: column;

    line-height: 1;
}

.brand-name strong {
    font-size: 16px;

    font-weight: 850;

    letter-spacing: .4px;
}

.brand-name span {
    margin-top: 4px;

    color: #b08b3d;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 3.2px;
}


/* HEADER RIGHT */

.header-right {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 12px;
}

.header-label {
    color: #66756f;

    font-weight: 600;
}

.header-dot {
    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #ccd5d1;
}

.header-secure {
    display: flex;

    align-items: center;

    gap: 5px;

    color: #347360;

    font-weight: 700;
}


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

.ads-container {
    width: min(1400px, 92%);

    margin: 36px auto;

    flex: 1;

    display: grid;

    grid-template-columns:
        minmax(0, 1.03fr)
        minmax(430px, .97fr);

    min-height: 730px;

    background: #ffffff;

    border-radius: 28px;

    overflow: hidden;

    box-shadow:
        0 20px 70px rgba(22,48,40,.10);
}


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

.brand-panel {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 90% 8%,
            rgba(217,183,108,.16),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            #061d17 0%,
            #0a3328 45%,
            #0c4b3c 100%
        );

    color: #ffffff;
}


/* CONTENT */

.brand-panel-content {
    position: relative;

    z-index: 3;

    padding: 66px 58px;

    max-width: 690px;
}


/* EYEBROW */

.eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 13px;

    border: 1px solid rgba(255,255,255,.16);

    border-radius: 30px;

    background: rgba(255,255,255,.07);

    color: #e5c97f;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.6px;

    margin-bottom: 28px;
}

.eyebrow-icon {
    width: 23px;
    height: 23px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(217,183,108,.17);

    color: #e5c97f;
}

.eyebrow-icon i {
    font-size: 10px;
}


/* HEADING */

.brand-panel h1 {
    font-size: clamp(39px, 4.2vw, 61px);

    line-height: 1.02;

    letter-spacing: -2.2px;

    font-weight: 850;

    margin-bottom: 25px;
}

.brand-panel h1 span {
    display: block;

    color: #d9b76c;
}


/* INTRO */

.brand-intro {
    max-width: 600px;

    color: #c8d9d3;

    font-size: 16px;

    line-height: 1.8;

    margin-bottom: 40px;
}


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

.benefits {
    display: flex;

    flex-direction: column;

    gap: 19px;

    margin-bottom: 38px;
}

.benefit {
    display: flex;

    align-items: flex-start;

    gap: 15px;
}

.benefit-icon {
    flex: 0 0 39px;

    width: 39px;
    height: 39px;

    border-radius: 12px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.08);

    color: #e1c274;
}

.benefit-icon i {
    font-size: 14px;
}

.benefit strong {
    display: block;

    color: #ffffff;

    font-size: 14px;

    font-weight: 750;

    margin-bottom: 4px;
}

.benefit p {
    color: #a9c2ba;

    font-size: 12px;

    line-height: 1.6;

    max-width: 450px;
}


/* =========================================================
   CATEGORIES
   ========================================================= */

.category-box {
    padding: 20px;

    border-radius: 17px;

    background: rgba(0,0,0,.12);

    border: 1px solid rgba(255,255,255,.09);

    margin-top: 5px;
}

.category-title {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #ffffff;

    font-size: 13px;

    font-weight: 750;

    margin-bottom: 8px;
}

.category-title i {
    color: #d9b76c;
}

.category-box > p {
    color: #a9c2ba;

    font-size: 11px;

    margin-bottom: 12px;
}

.category-list {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}

.category-list span {
    padding: 6px 9px;

    border-radius: 8px;

    background: rgba(255,255,255,.07);

    color: #c9d9d4;

    font-size: 10px;

    font-weight: 600;
}


/* NOTE */

.brand-note {
    display: flex;

    gap: 8px;

    align-items: flex-start;

    margin-top: 22px;

    color: #9db6ae;

    font-size: 10px;

    line-height: 1.6;
}

.brand-note i {
    color: #d9b76c;

    margin-top: 2px;
}


/* =========================================================
   DECORATION
   ========================================================= */

.panel-circle {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.circle-one {
    width: 420px;
    height: 420px;

    right: -220px;
    top: -180px;

    border: 1px solid rgba(255,255,255,.06);
}

.circle-two {
    width: 570px;
    height: 570px;

    right: -330px;
    top: -270px;

    border: 1px solid rgba(217,183,108,.08);
}

.panel-grid {
    position: absolute;

    width: 360px;
    height: 260px;

    right: -20px;
    bottom: -30px;

    opacity: .12;

    background-image:
        linear-gradient(
            rgba(255,255,255,.5) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.5) 1px,
            transparent 1px
        );

    background-size: 28px 28px;

    transform: rotate(-9deg);

    pointer-events: none;
}


/* =========================================================
   AUTH PANEL
   ========================================================= */

.auth-panel {
    position: relative;

    display: flex;

    flex-direction: column;

    padding: 43px 52px 25px;

    background: #ffffff;
}


/* =========================================================
   AUTH TOP
   ========================================================= */

.auth-top {
    display: none;

    align-items: center;

    gap: 10px;

    margin-bottom: 27px;
}

.mobile-brand-icon {
    width: 37px;
    height: 37px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background: #e9f4f0;

    color: #0d644f;
}

.auth-mini-title {
    display: block;

    font-size: 10px;

    font-weight: 850;

    color: #18352d;

    letter-spacing: 1px;
}

.auth-mini-subtitle {
    display: block;

    font-size: 10px;

    color: #7a8984;

    margin-top: 2px;
}


/* =========================================================
   AUTH FORMS
   ========================================================= */

.auth-form {
    width: 100%;

    max-width: 470px;

    margin: auto;
}

.login-form {
    display: none;
}

.register-form,
.login-form {
    animation:
        authIn .35s ease both;
}

@keyframes authIn {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


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

.form-heading {
    display: flex;

    align-items: flex-start;

    gap: 14px;

    margin-bottom: 28px;
}

.heading-icon {
    flex: 0 0 43px;

    width: 43px;
    height: 43px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 13px;

    background: #eaf5f1;

    color: #0b624d;
}

.heading-icon i {
    font-size: 16px;
}

.form-heading h2 {
    color: #172c25;

    font-size: 25px;

    line-height: 1.2;

    letter-spacing: -.5px;

    font-weight: 800;

    margin-bottom: 5px;
}

.form-heading p {
    color: #788781;

    font-size: 12px;

    line-height: 1.55;
}


/* =========================================================
   STATUS MESSAGE
   ========================================================= */

.status-message {
    display: none;

    padding: 12px 14px;

    border-radius: 11px;

    margin-bottom: 17px;

    font-size: 12px;

    line-height: 1.5;

    align-items: flex-start;

    gap: 9px;
}

.status-message.success {
    display: flex;

    background: #edf8f2;

    color: #236b4c;

    border: 1px solid #cdebdc;
}

.status-message.error {
    display: flex;

    background: #fff2f2;

    color: #a03d3d;

    border: 1px solid #f1d2d2;
}

.status-message i {
    margin-top: 2px;
}


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

.field {
    margin-bottom: 17px;
}

.field label {
    display: block;

    color: #33463f;

    font-size: 11px;

    font-weight: 750;

    margin-bottom: 7px;
}

.input-wrap {
    position: relative;

    display: flex;

    align-items: center;

    width: 100%;

    border: 1px solid #dce5e1;

    border-radius: 12px;

    background: #fbfcfc;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.input-wrap > i {
    width: 43px;

    text-align: center;

    color: #8a9994;

    font-size: 13px;

    pointer-events: none;
}

.input-wrap input {
    flex: 1;

    width: 100%;

    height: 46px;

    border: 0;

    outline: 0;

    background: transparent;

    color: #1b2f28;

    font-size: 13px;

    padding: 0 43px 0 0;
}

.input-wrap input::placeholder {
    color: #a9b4b0;
}

.input-wrap.focused,
.input-wrap:focus-within {
    border-color: #1b765f;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(27,118,95,.08);
}


/* =========================================================
   PASSWORD TOGGLE
   ========================================================= */

.password-toggle {
    position: absolute;

    right: 11px;

    top: 50%;

    transform: translateY(-50%);

    width: 29px;
    height: 29px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 7px;

    background: transparent;

    color: #899792;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease;
}

.password-toggle:hover {
    background: #eef4f1;

    color: #176850;
}

.password-toggle i {
    font-size: 12px;
}


/* =========================================================
   PASSWORD STRENGTH
   ========================================================= */

.password-strength {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 6px;
}

.strength-bars {
    display: flex;

    gap: 3px;

    flex: 1;

    max-width: 95px;
}

.strength-bars span {
    height: 3px;

    flex: 1;

    border-radius: 5px;

    background: #e4e9e7;

    transition: background .2s ease;
}

.strength-bars span.filled {
    background: #5a9b83;
}

.strength-text {
    color: #98a49f;

    font-size: 9px;
}


/* =========================================================
   LABEL ROW
   ========================================================= */

.label-row {
    display: flex;

    align-items: center;

    justify-content: space-between;
}

.forgot-link {
    color: #16725a;

    font-size: 10px;

    font-weight: 700;

    transition: color .2s ease;
}

.forgot-link:hover {
    color: #0a4f3e;

    text-decoration: underline;
}


/* =========================================================
   CAPTCHA
   ========================================================= */

.captcha-box {
    display: flex;

    justify-content: center;

    min-height: 78px;

    margin: 6px 0 11px;

    overflow: hidden;
}

.g-recaptcha {
    transform-origin: center center;
}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.primary-button {
    position: relative;

    width: 100%;

    min-height: 49px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #0c664f,
            #0a503f
        );

    color: #ffffff;

    font-size: 12px;

    font-weight: 750;

    cursor: pointer;

    box-shadow:
        0 9px 22px rgba(12,102,79,.19);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        opacity .2s ease;
}

.primary-button:hover:not(:disabled) {
    transform: translateY(-1px);

    box-shadow:
        0 12px 26px rgba(12,102,79,.25);
}

.primary-button:active:not(:disabled) {
    transform: translateY(0);
}

.primary-button:disabled {
    cursor: not-allowed;

    opacity: .72;
}

.primary-button i {
    font-size: 11px;

    transition: transform .2s ease;
}

.primary-button:hover:not(:disabled) i {
    transform: translateX(3px);
}


/* BUTTON LOADER */

.button-loader {
    display: none;

    width: 15px;
    height: 15px;

    border: 2px solid rgba(255,255,255,.35);

    border-top-color: #ffffff;

    border-radius: 50%;

    animation:
        buttonSpin .7s linear infinite;
}

.primary-button.loading .button-loader {
    display: block;
}

.primary-button.loading .button-text,
.primary-button.loading > i {
    display: none;
}

@keyframes buttonSpin {
    to {
        transform: rotate(360deg);
    }
}


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

.terms-text {
    margin-top: 11px;

    color: #9aa6a2;

    font-size: 9px;

    line-height: 1.55;

    text-align: center;
}


/* =========================================================
   AUTH SWITCH
   ========================================================= */

.auth-switch {
    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 4px;

    margin-top: 26px;

    padding-top: 19px;

    border-top: 1px solid #edf0ef;

    color: #7c8985;

    font-size: 11px;
}

.auth-switch button {
    background: transparent;

    color: #0b6952;

    font-size: 11px;

    font-weight: 800;

    cursor: pointer;
}

.auth-switch button:hover {
    text-decoration: underline;
}


/* =========================================================
   SECURE LOGIN
   ========================================================= */

.secure-login {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    margin-top: 18px;

    color: #82908b;

    font-size: 10px;
}

.secure-login i {
    color: #37836d;

    font-size: 12px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.auth-footer {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    color: #a0aaa6;

    font-size: 9px;

    padding-top: 18px;
}

.footer-separator {
    color: #d1d7d4;
}


/* =========================================================
   LOADING OVERLAY
   ========================================================= */

.loading-overlay {
    position: fixed;

    inset: 0;

    z-index: 99990;

    display: flex;

    align-items: center;

    justify-content: center;

    background: rgba(5,25,20,.45);

    backdrop-filter: blur(5px);

    -webkit-backdrop-filter: blur(5px);

    opacity: 0;

    visibility: hidden;

    transition:
        opacity .2s ease,
        visibility .2s ease;
}

.loading-overlay.active {
    opacity: 1;

    visibility: visible;
}

.loading-card {
    width: min(310px, 88%);

    padding: 27px 25px;

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    border-radius: 19px;

    background: #ffffff;

    box-shadow:
        0 25px 70px rgba(0,0,0,.2);
}

.loading-spinner {
    width: 38px;
    height: 38px;

    border: 3px solid #dcece6;

    border-top-color: #0b654f;

    border-radius: 50%;

    animation:
        loaderSpin .8s linear infinite;

    margin-bottom: 15px;
}

.loading-card strong {
    color: #19332a;

    font-size: 14px;

    margin-bottom: 5px;
}

.loading-card span {
    color: #87948f;

    font-size: 10px;

    line-height: 1.5;
}


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

@media (max-width: 1050px) {

    .ads-container {
        width: 94%;

        grid-template-columns:
            minmax(0, .95fr)
            minmax(390px, 1.05fr);

        margin: 25px auto;

        min-height: 680px;
    }

    .brand-panel-content {
        padding: 48px 38px;
    }

    .brand-panel h1 {
        font-size: 43px;
    }

    .brand-intro {
        font-size: 14px;
    }

    .auth-panel {
        padding:
            40px 36px
            25px;
    }

}


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

@media (max-width: 780px) {

    body {
        background: #ffffff;
    }

    .ads-header {
        height: 65px;

        padding: 0 20px;
    }

    .header-label,
    .header-dot {
        display: none;
    }

    .header-secure {
        font-size: 10px;
    }

    .brand-mark {
        width: 35px;
        height: 35px;

        border-radius: 10px;
    }

    .brand-name strong {
        font-size: 14px;
    }

    .brand-name span {
        font-size: 7px;

        letter-spacing: 2.6px;
    }


    .ads-container {
        width: 100%;

        margin: 0;

        border-radius: 0;

        display: block;

        min-height: auto;

        box-shadow: none;
    }


    /* BRAND PANEL */

    .brand-panel {
        min-height: auto;
    }

    .brand-panel-content {
        padding:
            42px
            25px
            39px;
    }

    .brand-panel h1 {
        font-size: 39px;

        letter-spacing: -1.5px;
    }

    .brand-intro {
        font-size: 13px;

        line-height: 1.7;

        margin-bottom: 27px;
    }

    .benefits {
        gap: 15px;

        margin-bottom: 28px;
    }

    .benefit-icon {
        width: 34px;
        height: 34px;

        flex-basis: 34px;
    }

    .benefit strong {
        font-size: 12px;
    }

    .benefit p {
        font-size: 10px;
    }

    .category-box {
        padding: 15px;
    }

    .category-list span {
        font-size: 9px;

        padding: 5px 7px;
    }

    .brand-note {
        font-size: 9px;
    }


    /* AUTH */

    .auth-panel {
        padding:
            30px
            25px
            20px;
    }

    .auth-top {
        display: flex;
    }

    .auth-form {
        max-width: none;

        margin: 0;
    }

    .form-heading {
        margin-bottom: 24px;
    }

    .form-heading h2 {
        font-size: 23px;
    }

    .form-heading p {
        font-size: 11px;
    }

    .field {
        margin-bottom: 15px;
    }

    .input-wrap input {
        height: 48px;
    }

    .captcha-box {
        transform: scale(.94);
    }

    .auth-footer {
        margin-top: 20px;
    }

}


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

@media (max-width: 420px) {

    .ads-header {
        padding: 0 15px;
    }

    .header-secure {
        display: none;
    }

    .brand-panel-content {
        padding:
            35px
            20px
            32px;
    }

    .eyebrow {
        font-size: 8px;

        margin-bottom: 20px;
    }

    .brand-panel h1 {
        font-size: 34px;

        line-height: 1.04;
    }

    .brand-intro {
        font-size: 12px;
    }

    .category-list {
        gap: 5px;
    }

    .category-list span {
        font-size: 8px;
    }

    .auth-panel {
        padding:
            26px
            20px
            18px;
    }

    .form-heading h2 {
        font-size: 21px;
    }

    .heading-icon {
        width: 39px;
        height: 39px;

        flex-basis: 39px;
    }

    .captcha-box {
        transform: scale(.86);
        margin-left: -20px;
        margin-right: -20px;
    }

    .auth-switch {
        font-size: 10px;
    }

}


/* =========================================================
   VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 350px) {

    .brand-panel h1 {
        font-size: 30px;
    }

    .benefit p {
        font-size: 9px;
    }

    .auth-panel {
        padding-left: 16px;
        padding-right: 16px;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;
    }

}

