/* ============================================================
   Influsway — Signup form styles ONLY
   Loaded AFTER landing-base.css. Header/footer/nav/colors come from base.
   ============================================================ */

.signup-shell {
    background: linear-gradient(135deg, #FFF1F5 0%, #F0EEFA 60%, #E8EBFB 100%);
    min-height: calc(100vh - 80px);
    padding: 48px 24px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.signup-card {
    width: 100%;
    max-width: 1080px;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 780px;
}

.signup-hero {
    background: #F0EEFA center top / cover no-repeat;
    min-height: 300px;
}

.signup-hero.placeholder {
    background: linear-gradient(180deg, #F3CADB 0%, #D8C9F0 100%);
}

.signup-form-wrap {
    padding: 56px 56px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.signup-form-wrap h2 {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--color-text-3);
    margin: 28px 0 20px;
}

/* ----- Connect with Google button ----- */
.btn-google {
    width: 100%;
    border: 1px solid #E5E5E5;
    background: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--color-blue);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-google:hover {
    border-color: var(--color-blue);
    background: #F7F8FF;
}

.btn-google img {
    width: 20px;
    height: 20px;
}

/* ----- Business / Influencer pill toggle ----- */
.role-toggle {
    display: flex;
    background: #F7F7F7;
    border-radius: 30px;
    padding: 6px;
    margin: 0 auto 28px;
    width: fit-content;
    gap: 4px;
}

.role-toggle button {
    border: 0;
    background: transparent;
    padding: 10px 36px;
    border-radius: 24px;
    font-weight: 700;
    font-size: 15px;
    color: #000;
    cursor: pointer;
    transition: all 0.2s;
}

.role-toggle button.active {
    background: var(--color-blue-info);
    color: #fff;
}

/* ----- Form fields ----- */
.field {
    position: relative;
    margin-bottom: 14px;
}

.field .icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #828282;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.field input {
    width: 100%;
    height: 48px;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 0 14px 0 44px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(57, 82, 245, 0.12);
}

.field.phone {
    display: grid;
    grid-template-columns: 92px 1fr;
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    overflow: visible;
    position: relative;
}

.field.phone:focus-within {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(57, 82, 245, 0.12);
}

.field.phone .cc {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border-right: 1px solid #E5E5E5;
    font-size: 15px;
    color: var(--color-text);
}

.field.phone input {
    border: 0;
    box-shadow: none;
    padding-left: 14px;
    border-radius: 0 12px 12px 0;
}

.fieldset-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.fieldset-row .field {
    margin-bottom: 0;
}

/* ----- Terms text + Sign Up button + Sign In link ----- */
.terms {
    font-size: 13px;
    color: var(--color-muted);
    margin: 6px 0 16px;
}

.terms a {
    color: var(--color-blue);
    text-decoration: none;
}

.btn-pink {
    background: var(--gradient-brand);
    color: #fff;
    border: 0;
    border-radius: 28px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 8px 20px -6px rgba(252, 71, 120, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.btn-pink:hover {
    color: #fff;
    filter: brightness(1.03);
}

.signup-card .btn-pink {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 16px;
}

.signin-link {
    text-align: center;
    margin-top: 14px;
    color: var(--color-muted);
    font-size: 14px;
}

.signin-link a {
    color: var(--color-blue);
    font-weight: 700;
    text-decoration: none;
}

/* ----- Success state (after business signup) ----- */
.signup-success-card {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    max-width: 560px;
}

.signup-success {
    padding: 64px 40px 56px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.signup-success-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: #fff;
    display: grid;
    place-items: center;
    margin-bottom: 8px;
}

.signup-success h2 {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-text-3);
    margin: 0;
}

.signup-success p {
    color: var(--color-muted);
    font-size: 15px;
    line-height: 22px;
    margin: 0;
    max-width: 420px;
}

.signup-success .btn-pink {
    margin-top: 8px;
}

/* ----- Toaster (top-right corner) ----- */
.signup-toaster {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 2000;
    padding: 14px 22px;
    border-radius: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 360px;
    animation: signup-toaster-in 0.3s ease, signup-toaster-out 0.4s ease 4.5s forwards;
}

.signup-toaster--success {
    background: linear-gradient(135deg, #16a34a 0%, #059669 100%);
}

.signup-toaster--error {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.signup-toaster__icon {
    font-size: 18px;
    flex-shrink: 0;
}

@keyframes signup-toaster-in {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes signup-toaster-out {
    to { opacity: 0; transform: translateX(40px); pointer-events: none; }
}

/* ----- Responsive ----- */
@media (max-width: 991px) {
    .signup-card {
        grid-template-columns: 1fr;
    }

    .signup-hero {
        min-height: 220px;
        background-position: center !important;
    }

    .signup-form-wrap {
        padding: 32px 20px;
    }
}

@media (max-width: 576px) {
    .signup-shell {
        padding: 24px 12px;
    }

    .signup-hero {
        min-height: 180px;
    }

    .fieldset-row {
        grid-template-columns: 1fr;
    }
}
