/* Hide footer on regular signup, but show on BYOS landing pages */
.footer{
    display: none !important;
}

.byos-landing-container ~ .footer,
body:has(.byos-landing-container) .footer {
    display: block !important;
}

.form-holder{
    margin: 3% auto;
    width: 30%;
    min-width: 380px;
}

.form-title{
    font-size: 185%;
    margin: 0 auto 7% auto;
    font-weight: 600;
    text-align: center;
}

.form{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-direction: column;
}

/* social auth */
.social-login-holder{
    width: 100%;
}

.social-login-btn-holder{
    display: flex;
    justify-content: center;
}

.g_id_signin{
    border: 1px solid var(--black);
    border-radius: 5px;
}

.apple-signin-button {
    width: 350px;
    max-width: 400px;
    margin-top: 16px;
    cursor: pointer;
    height: 40px;
}

.apple-signin-button div{
    border-radius: 5px;
}

.seperator{
    text-align: center;
    border-bottom: 2px solid gainsboro;
    line-height: 0.1em;
    margin: 8% 0;
}

.seperator span{
    background: white;
    color: #9c9c9c;
    padding: 0 10px;
}
/* social auth end */

.input{
    width: calc(100% - 10px);
    margin-bottom: 4%;
}

.form select{
    width: 100%;
}

.submit{
    background-color: var(--black);
    color: white;
    width: 100%;
    padding: 15px;
    margin: 0 auto 4% auto;
}

.login-signup{
    margin-bottom: 15px;
    text-align: center;
    color: var(--lightGray);
    font-weight: 400;
    font-size: 64%;
}

.login-signup a, .login-forgot a{
    color: var(--black);
    text-decoration: none;
}

.reset-form{
    display: none;
}

.login-forgot{
    margin-top: 15px;
    color: var(--lightGray);
    font-size: 85%;
    cursor: pointer;
}

/* BYOS Branded Signup 2-Column Layout */
.byos-landing-container {
    display: flex;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0px;
}

.byos-landing-left {
    flex: 1;
    border-right: 1px solid #E5E7EB;
    padding: 0 4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-sizing: border-box;
}

.byos-landing-right {
    flex: 1;
    box-sizing: border-box;
}

.byos-signup-container {
    position: sticky;
    top: 100px;
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--boxShadow);
    max-width: 450px;
}

/* Invite Banner */
.byos-invite-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 17px;
    border-radius: 0.5rem;
    border: 1px solid var(--Gray-400, #A4A7AE);
    background: linear-gradient(90deg, rgba(252, 231, 243, 0.10) 0%, rgba(21, 93, 252, 0.04) 61.06%, rgba(152, 16, 250, 0.05) 100%);
}

.byos-invite-brand-info {
    display: flex;
    align-items: center;
    gap: 4px;
}

.byos-invite-banner-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.byos-invite-brand-name {
    font-size: 16px;
    font-weight: 500;
    color: black;
}

.byos-invite-banner-text {
    font-size: 14px;
    font-weight: 400;
    color: var(--brand-purple-dark);
    line-height: 20px;
}

/* Brand Cover */
.byos-brand-cover-img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    height: 15.04688rem;
    aspect-ratio: 428.00/240.75;
}

/* About Section */
.byos-about-section {
    margin-bottom: 12px;
    padding: 12px 16px 0 16px;
}

.byos-about-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: var(--Gray-800);
}

.byos-about-description {
    font-size: 16px;
    line-height: 26px;
    color: var(--Gray-700);
    margin: 0;
}

/* Divider */
.byos-divider {
    height: 2px;
    background: var(--Gray-100);
    width: 90%;
    align-self: center;
}

/* CTA Section */
.byos-cta-section {
    margin-bottom: 24px;
    text-align: center;
}

.byos-cta-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--Gray-800);
}

.byos-cta-subtitle {
    font-size: 12px;
    font-weight: 500;
    color: var(--Gray-600);
    margin: 0 0 24px 0;
}

.byos-app-screenshots {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.byos-app-screenshot {
    max-width: 80%;
}

/* Trust Section */
.byos-trust-section {
    text-align: center;
    margin-bottom: 24px;
}

.byos-trust-text {
    font-size: 14px;
    font-weight: 700;
    color: #6a7282;
    margin-bottom: 8px;
    line-height: 20px;
}

.byos-trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 0 16px;
}

.byos-trust-logos img {
    opacity: 0.75;
    height: 4rem;
}

/* Creators Section */
.byos-creators-section {
    text-align: center;
    margin-bottom: 12px;
}

.byos-avatar-group {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.byos-avatar-group img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: -10px;
    object-fit: cover;
    clip-path: circle(50%);
    transform: scale(1.2);
}

.byos-avatar-group img:first-child {
    margin-left: 0;
}

.byos-creators-text {
    font-size: 14px;
    font-weight: 400;
    color: #6a7282;
    margin-bottom: 12px;
}

.byos-creators-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: var(--Gray-400);
}

.byos-stat-dot {
    color: var(--Gray-400);
}

/* FAQs Section */
.byos-faqs-section {
    margin-bottom: 32px;
}

.byos-faqs-title {
    font-size: 1rem;
    color: #6a7282;
    text-align: center;
}

.byos-faqs-holder {
    display: flex;
    flex-direction: column;
}

.byos-faq-holder {
    padding: 16px 0;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.byos-faq-holder:last-child {
    border-bottom: none;
}

.byos-faq-title-holder {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.byos-faq-question {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
}

.byos-faq-btn {
    width: 15px;
    height: 15px;
    transition: transform 0.3s;
    margin-right: 10px;
}

.byos-faq-answer {
    display: none;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    color: #666;
}

/* Signup Form Styles */
.byos-signup-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 8px 0;
    color: var(--black);
}

.byos-signup-description {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin: 0 0 24px 0;
    text-align: center;
}

.byos-signup-form .social-login-holder {
    width: 100%;
}

.byos-signup-form .input {
    width: calc(100% - 10px);
}

.byos-signup-form .submit {
    width: 100%;
}

/* Back button - hidden on desktop */
.byos-back-btn {
    display: none;
}

/* Campaign Section */
.byos-campaign-section {
    padding: 0 16px;
}

.byos-campaign-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--Gray-800);
    margin: 0;
}

.byos-campaign-date {
    font-size: 12px;
    color: var(--Gray-400);
    margin-bottom: 12px;
}

.byos-campaign-images {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.byos-campaign-images img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.2s;
}

.byos-campaign-images img:hover {
    opacity: 0.8;
}

.show-all-holder {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.show-all-holder-2 .img {
    width: 49%;
    height: 27vw;
    margin-bottom: 2%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 800px) {
    .show-all-holder-2 .img {
        width: 100%;
        height: auto;
        max-height: none;
    }
}

.byos-campaign-paid {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--Success-500);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 12px;
}

.byos-campaign-paid svg {
    flex-shrink: 0;
}

.byos-campaign-description {
    font-size: 14px;
    line-height: 20px;
    color: var(--Gray-700);
    margin: 0 0 12px 0;
    max-height: 130px;
    overflow: hidden;
}

.byos-campaign-deadline {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    background: var(--Gray-100);
    border-radius: 10px;
    margin-bottom: 12px;
}

.byos-campaign-deadline svg {
    flex-shrink: 0;
}

.byos-campaign-deadline-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.byos-deadline-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--Gray-700);
}

.byos-deadline-date {
    font-size: 14px;
    color: var(--Gray-500);
}

.byos-campaign-requirements {
    background: var(--Gray-100);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
}

.byos-requirements-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--Gray-700);
}

.byos-requirements-toggle {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.byos-requirements-content {
    display: none;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--Gray-200);
    flex-direction: column;
    gap: 16px;
}

.byos-requirements-checklist {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.byos-requirement-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.byos-requirement-item svg {
    flex-shrink: 0;
}

.byos-requirement-item span {
    font-size: 14px;
    line-height: 21px;
    color: var(--Gray-600);
    letter-spacing: -0.15px;
}

.byos-content-requirement-box {
    background: white;
    border: 1px solid var(--Gray-300);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.byos-content-requirement-header {
    display: flex;
    align-items: center;
    gap: 5px;
}

.byos-content-requirement-header svg {
    flex-shrink: 0;
}

.byos-content-requirement-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: black;
}

.byos-content-requirement-description {
    font-size: 14px;
    line-height: 21px;
    color: var(--Gray-600);
    letter-spacing: -0.15px;
    white-space: pre-wrap;
    max-height: 400px;
    overflow-y: auto;
}

/* Mobile CTA - hidden on desktop */
.byos-mobile-cta {
    display: none;
}

@media only screen and (max-width: 800px) {
    #content{
        padding-bottom: 100px;
    }

    .form-holder{
        width: 90%;
        margin: 5% auto;
        min-width: initial;
    }

    /* BYOS Mobile Styles */
    .byos-landing-container {
        flex-direction: column;
        gap: 32px;
        padding: 20px 0;
    }

    .byos-landing-left {
        max-width: 100%;
        border-right: none;
        padding: 0 16px;
    }

    .byos-landing-right {
        width: 100%;
        padding: 0;
    }

    .byos-signup-container {
        position: static;
        padding: 16px;
        box-shadow: none;
        max-width: 100%;
    }
    
    .byos-invite-banner {
        flex-wrap: wrap;
    }

    .byos-app-screenshots {
        gap: 8px;
    }

    .byos-app-screenshot {
        width: 32%;
    }

    .byos-trust-logos {
        gap: 16px;
    }

    .byos-trust-logo {
        height: 20px;
    }

    .byos-avatar-group img {
        width: 40px;
        height: 40px;
    }

    .byos-signup-title {
        font-size: 20px;
    }

    .byos-faq-question {
        font-size: 13px;
    }

    /* Campaign mobile styles */
    .byos-campaign-section {
        padding: 0;
    }

    .byos-campaign-images img {
        width: 56px;
        height: 56px;
    }

    .byos-campaign-description {
        max-height: none;
    }

    /* Hide signup form on mobile when campaign CTA exists */
    .byos-mobile-cta + .byos-divider + .byos-signup-container,
    .byos-landing-left:has(.byos-mobile-cta) ~ .byos-landing-right .byos-signup-container {
        display: none;
    }

    /* Fix social login buttons to fit mobile container */
    .byos-signup-form .social-login-btn-holder {
        width: 100%;
    }

    .byos-signup-form .g_id_signin,
    .byos-signup-form .apple-signin-button {
        width: 100% !important;
        max-width: 100% !important;
    }

    .byos-signup-form .g_id_signin {
        overflow: hidden;
    }

    /* Mobile CTA button */
    .byos-mobile-cta {
        display: block;
        padding: 16px 0;
    }

    .byos-apply-btn {
        width: 100%;
        background: #222;
        color: white;
        padding: 16px 30px;
        border-radius: 8.735px;
        border: none;
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 14px;
        line-height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        cursor: pointer;
    }

    .byos-apply-btn svg {
        flex-shrink: 0;
    }

    /* Back button - visible on mobile */
    .byos-back-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        background: none;
        border: none;
        padding: 0;
        margin-bottom: 16px;
        margin-left: -4px;
        font-family: 'Inter', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        color: #4a5565;
        cursor: pointer;
        letter-spacing: -0.3px;
    }

    .byos-back-btn svg {
        flex-shrink: 0;
    }
}