/* ================================
   Signup V4 — Clean Checkout
   ================================ */

[v-cloak] { display: none; }

body {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #1e1c1b;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/* Layout */

.signup-container {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
}

#payment-form {
    display: flex;
    gap: 48px;
    justify-content: center;
}

.left-col {
    flex-grow: 1;
    max-width: 450px;
}

.signup-area {
    margin-top: 60px;
}


/* Logo */

a.login-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    margin-bottom: 1.5rem;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #DB504A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
}

svg.logo-img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 8%;
    box-sizing: border-box;
}

.logo-area .logo-text {
    color: #1e1c1b;
    font-family: 'Instrument Sans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-left: 2px;
    text-decoration: none;
    text-transform: capitalize;
}


/* Heading */

h1 {
    font-size: 30px !important;
    font-weight: 700 !important;
    color: #1e1c1b;
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
}

.signup-subtitle {
    font-size: 18px;
    color: #635e58;
    margin: 0 0 18px 0;
}


/* Signup Card */

.signup-card {
    background: white;
    border: 1px solid rgba(30, 25, 20, 0.07);
    border-radius: 14px;
    padding: 24px;
}


/* Form Labels */

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 5px;
    color: #4a4642;
}

.form-fields .form-label:first-child {
    margin-top: 0;
}


/* Form Inputs */

.form-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(30, 25, 20, 0.16);
    background: white;
    box-sizing: border-box;
    box-shadow:
        inset 0 1px 1px rgba(30, 25, 20, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.form-input:hover {
    border-color: rgba(30, 25, 20, 0.22);
    box-shadow:
        inset 0 1px 1px rgba(30, 25, 20, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.form-input:focus {
    border-color: #5C5CD8;
    box-shadow:
        inset 0 1px 1px rgba(30, 25, 20, 0.04),
        0 0 0 3px rgba(92, 92, 216, 0.12);
}

.form-input::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

.form-input-error {
    border-color: #fca5a5;
}


/* Error States */

.field-error {
    color: #ef4444;
    font-size: 14px;
    margin-top: 6px;
}

.personal-email-note {
    color: #d97706;
    font-size: 14px;
    margin-top: 6px;
}


/* Agree Checkbox */

.agree-area {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    margin-bottom: 8px;
}

.agree-text {
    font-size: 13px;
    color: #4a4642;
}

.agree-text a {
    color: #7878c0;
    text-decoration: none;
}

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

input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #5c5cd8;
    margin: 0;
    flex-shrink: 0;
}


/* Submit Button — Polaris-inspired 3D depth */

.gradient-btn {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #5C5CD8;
    color: white;
    padding: 14px 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 2.5px solid rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.08);
    font-weight: 700;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 150ms ease;
    margin-top: 16px;
    text-decoration: none;
}

.gradient-btn:hover {
    background: #5050c8;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.gradient-btn:active {
    background: #4545b8;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
    transition-duration: 50ms;
}

.gradient-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.gradient-btn .btn-text {
    font-weight: 700;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gradient-btn .btn-arrow {
    display: inline-block;
    transition: transform 150ms ease;
    font-size: 18px;
}

.gradient-btn:hover .btn-arrow {
    transform: translateX(3px);
}

.gradient-btn .btn-loading {
    display: inline-flex;
    align-items: center;
}


/* Or Divider */

.or-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 18px 0;
}

.or-divider .line {
    flex: 1;
    height: 1px;
    background: rgba(30, 25, 20, 0.08);
}

.or-divider .label {
    font-size: 13px;
    color: #949494;
    font-weight: 400;
}


/* Google SSO */

.google-sso-container {
    display: flex;
    justify-content: center;
    min-height: 45px;
}


/* Sign In Link */

.sign-in-link {
    text-align: center;
    font-size: 13px;
    color: #7a756f;
    margin-top: 16px;
}

.sign-in-link a {
    color: #7878c0;
    text-decoration: none;
}

.sign-in-link a:hover {
    text-decoration: underline;
}


/* Right Column */

.right-col {
    width: 240px;
    flex-shrink: 0;
    padding-top: 8rem;
}

.right-card {
    padding: 0;
}


/* What's Next */

.whats-next-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e1c1b;
    margin: 0 0 20px 0;
    letter-spacing: -0.01em;
}

.whats-next-title .underlined {
    text-decoration: underline;
    text-decoration-thickness: 2.5px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(30, 25, 20, 0.15);
}


/* Next Sections */

.next-section {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(30, 25, 20, 0.06);
}

.next-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.next-section-header {
    display: flex !important;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
}

.next-section-header svg,
.next-item svg {
    flex-shrink: 0;
    display: inline-block !important;
}

.next-section-header h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1e1c1b;
    margin: 0;
}

.next-item {
    display: flex !important;
    align-items: center;
    gap: 7px;
    padding: 3px 0;
    padding-left: 1px;
}

.next-item span {
    font-size: 14px;
    color: #635e58;
}


/* Footer */

.page-footer {
    margin-top: auto;
    text-align: center;
    padding: 2.5rem 0;
}

.page-footer .footer-links {
    font-size: 13px;
    color: #c4bfb9;
    margin-bottom: 6px;
}

.page-footer .footer-links a {
    color: #c4bfb9;
    text-decoration: none;
}

.page-footer .footer-links a:hover {
    color: #9e958b;
}

.page-footer .footer-copyright {
    font-size: 12px;
    color: #d4d0cc;
}

.page-footer .sep {
    margin: 0 10px;
    color: #d4d0cc;
}


/* Spinner */

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

.spinner-icon {
    animation: spin 1s linear infinite;
    margin-left: -4px;
    margin-right: 12px;
    width: 20px;
    height: 20px;
}


/* Responsive */

@media (max-width: 768px) {
    #payment-form {
        flex-direction: column;
        align-items: center;
    }

    .right-col {
        padding-top: 0;
        width: 100%;
        max-width: 400px;
    }

    .left-col {
        max-width: 100%;
    }
}
