:root {
    --primary: #502A21;
    --secondary: #924444;
    --third: #C17171;
    --dark: #24100c;
    --cream: #f8f5f3;
    --text: #241d1b;
    --muted: #7e7370;
    --border: #ece3e0;
    --success: #2d8a4e;
    --danger: #d64545;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f8f5f3 0%, #f3ece8 100%);
    color: var(--text);
}

.fp-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}

.fp-card {
    width: 100%;
    max-width: 1180px;
    min-height: 680px;
    display: flex;
    border-radius: 26px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 30px 70px rgba(36, 16, 12, 0.12);
    position: relative;
}

/* LEFT PANEL */
.fp-left-panel {
    width: 50%;
    position: relative;
    background: linear-gradient(160deg, var(--dark) 0%, var(--primary) 50%, var(--secondary) 100%);
    color: #fff;
    padding: 42px;
    overflow: hidden;
    align-items: center;
}

.fp-left-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.fp-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    animation: floatBlob 16s ease-in-out infinite;
}

.fp-shape-1 {
    width: 320px;
    height: 320px;
    top: -100px;
    right: -80px;
}

.fp-shape-2 {
    width: 220px;
    height: 220px;
    bottom: -70px;
    left: -60px;
    animation-delay: 2s;
}

.fp-shape-3 {
    width: 150px;
    height: 150px;
    top: 45%;
    left: 25%;
    animation-delay: 4s;
}

@keyframes floatBlob {

    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
    }

    50% {
        transform: translateY(-18px) translateX(14px) scale(1.05);
    }
}

.fp-left-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.fp-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
}

.fp-brand-symbol {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff;
    color: var(--primary);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.fp-brand h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 2px;
}

.fp-brand p {
    margin: 4px 0 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.fp-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.fp-tag span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8ee5b3;
    box-shadow: 0 0 0 5px rgba(142, 229, 179, 0.12);
}

.fp-left-content h3 {
    margin: 0 0 14px;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 700;
}

.fp-left-content>p {
    max-width: 440px;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 26px;
}

.fp-steps-preview {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.fp-step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    backdrop-filter: blur(10px);
}

.fp-step-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f3d2d2;
    font-size: 16px;
    flex-shrink: 0;
}

.fp-step-item strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.fp-step-item span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.52);
}

.fp-illustration {
    margin-top: auto;
    text-align: center;
}

.fp-illustration img {
    max-width: 100%;
    width: 320px;
    animation: floatImage 4s ease-in-out infinite;
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.fp-left-footer {
    margin-top: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.38);
}

/* RIGHT PANEL */
.fp-right-panel {
    width: 50%;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
}

.fp-form-box {
    width: 100%;
    max-width: 430px;
    animation: formRise .6s ease both;
}

@keyframes formRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

.fp-mobile-brand {
    display: none;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.fp-badge {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(80, 42, 33, .08), rgba(146, 68, 68, .06));
    color: var(--primary);
    display: grid;
    place-items: center;
    font-size: 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(80, 42, 33, 0.08);
}

.fp-form-head .fp-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 10px;
}

.fp-form-head h1 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.2;
    color: var(--dark);
    font-weight: 700;
}

.fp-form-head p {
    margin: 0 0 26px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--muted);
}

/* ALERT */
.fp-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 18px;
    font-size: 13px;
}

.fp-alert i {
    font-size: 16px;
    margin-top: 2px;
}

.fp-alert-success {
    background: rgba(45, 138, 78, 0.08);
    color: var(--success);
    border: 1px solid rgba(45, 138, 78, 0.14);
}

.fp-alert-danger {
    background: rgba(214, 69, 69, 0.08);
    color: var(--danger);
    border: 1px solid rgba(214, 69, 69, 0.14);
}

/* FIELD */
.fp-field {
    margin-bottom: 20px;
}

.fp-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.fp-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    background: #fbf9f8;
    transition: .25s ease;
}

.fp-input-wrap:focus-within {
    border-color: var(--secondary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(146, 68, 68, 0.10);
}

.fp-input-icon {
    width: 48px;
    text-align: center;
    color: var(--third);
    font-size: 16px;
    flex-shrink: 0;
}

.fp-input {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    height: 54px;
    padding: 0 14px 0 0 !important;
    font-size: 14px;
    color: var(--text);
}

.fp-input::placeholder {
    color: #b8aaa6;
}

.fp-error-text {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-size: 12px;
    color: var(--danger);
    font-weight: 500;
}

.fp-submit-btn {
    width: 100%;
    height: 54px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 14px 28px rgba(80, 42, 33, 0.20);
    transition: .25s ease;
    cursor: pointer;
}

.fp-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(80, 42, 33, 0.26);
}

.fp-bottom-actions {
    margin-top: 18px;
    text-align: center;
}

.fp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.fp-back-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

.fp-security-strip {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.fp-security-strip span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .fp-page {
        padding: 0;
    }

    .fp-card {
        border-radius: 0;
        min-height: 100vh;
    }

    .fp-left-panel {
        display: none !important;
    }

    .fp-right-panel {
        width: 100%;
        padding: 32px 20px;
    }

    .fp-mobile-brand {
        display: flex;
    }

    .fp-mobile-brand img {
        width: 120px;
    }

    .fp-mobile-brand .fp-brand-symbol {
        width: 42px;
        height: 42px;
        font-size: 18px;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        color: #fff;
        display: grid;
        place-items: center;
        font-weight: 800;
    }

    .fp-mobile-brand h2 {
        margin: 0;
        font-size: 16px;
        font-weight: 800;
        color: var(--primary);
        letter-spacing: 2px;
    }

    .fp-mobile-brand p {
        margin: 3px 0 0;
        font-size: 11px;
        color: var(--muted);
    }
}

@media (max-width: 480px) {
    .fp-form-head h1 {
        font-size: 24px;
    }

    .fp-security-strip {
        gap: 12px;
    }
}

.fp-brand img {
    width: 120px;
}