﻿:root {
    --fp-primary: #1a5d3a;
    --fp-primary-2: #2d7a4e;
    --fp-primary-3: #3d8b5a;
    --fp-card: #ffffff;
    --fp-text: #0f172a;
    --fp-muted: #64748b;
    --fp-border: #e5e7eb;
    --fp-shadow: 0 18px 60px rgba(0,0,0,.22);
    --fp-radius: 18px;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--fp-text);
}

.fp-bg {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 14px;
    /* tu background exacto */
    background: linear-gradient(135deg, #1a5d3a 0%, #2d7a4e 30%, #3d8b5a 60%, #1a5d3a 100%);
    position: relative;
}

    .fp-bg::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(900px 500px at 12% 12%, rgba(255,255,255,.18), transparent 55%), radial-gradient(800px 520px at 90% 35%, rgba(0,0,0,.18), transparent 55%);
        pointer-events: none;
    }

.fp-shell {
    width: min(1100px, 100%);
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    border-radius: var(--fp-radius);
    overflow: hidden;
    box-shadow: var(--fp-shadow);
    position: relative;
    z-index: 1;
}

/* ASIDE */
.fp-aside {
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(14px);
    border-right: 1px solid rgba(255,255,255,.14);
    color: #fff;
    padding: 34px 30px;
}

.fp-aside-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fp-brand {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 22px;
}

.fp-logo {
    width: 180px;
    max-width: 40vw;
    height: auto;
    filter: drop-shadow(0 12px 18px rgba(0,0,0,.22));
}

.fp-brand-text h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .2px;
}

.fp-brand-text p {
    margin: 4px 0 0;
    font-size: 12.5px;
    color: rgba(255,255,255,.80);
    line-height: 1.35;
}

.fp-bullets {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}

.fp-bullet {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.14);
}

.fp-dot {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.16);
}

.fp-bullet h3 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 800;
}

.fp-bullet p {
    margin: 4px 0 0;
    font-size: 12px;
    color: rgba(255,255,255,.78);
    line-height: 1.35;
}

.fp-aside-footer {
    margin-top: auto;
    font-size: 12px;
    color: rgba(255,255,255,.72);
    display: flex;
    gap: 10px;
    align-items: center;
}

.fp-divider {
    opacity: .7;
}

/* CARD */
.fp-card {
    background: var(--fp-card);
    padding: 34px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fp-card-inner {
    width: min(420px, 100%);
}

.fp-header {
    text-align: center;
    margin-bottom: 18px;
}

.fp-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
    background: rgba(26,93,58,.10);
    border: 1px solid rgba(26,93,58,.20);
    color: var(--fp-primary);
    font-size: 18px;
}

.fp-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .2px;
}

.fp-header p {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--fp-muted);
    line-height: 1.35;
}

/* Alerts */
.fp-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border-radius: 14px;
    padding: 12px 12px;
    margin: 12px 0;
    border: 1px solid var(--fp-border);
    font-size: 13px;
}

    .fp-alert i {
        margin-top: 2px;
    }

.fp-alert-success {
    background: rgba(34,197,94,.10);
    border-color: rgba(34,197,94,.22);
    color: #14532d;
}

.fp-alert-danger {
    background: rgba(239,68,68,.10);
    border-color: rgba(239,68,68,.22);
    color: #7f1d1d;
}

.fp-validation {
    margin: 0;
}

    .fp-validation ul {
        margin: 0;
        padding-left: 16px;
    }

/* Form */
.fp-form {
    margin-top: 6px;
}

.fp-field {
    margin: 14px 0;
}

.fp-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #334155;
    margin-bottom: 6px;
}

.fp-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid var(--fp-border);
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}

    .fp-input-wrap:focus-within {
        border-color: rgba(26,93,58,.55);
        box-shadow: 0 0 0 4px rgba(26,93,58,.12);
    }

.fp-input-icon {
    width: 20px;
    color: #94a3b8;
    display: grid;
    place-items: center;
}

.fp-input {
    width: 100%;
    border: 0;
    outline: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--fp-text);
}

    .fp-input::placeholder {
        color: #9ca3af;
        font-weight: 400;
    }

.fp-error {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #dc2626;
}

/* Button */
.fp-btn {
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 12px 14px;
    margin-top: 8px;
    background: linear-gradient(135deg, #1a5d3a 0%, #2d7a4e 55%, #3d8b5a 100%);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform .06s ease, filter .18s ease, box-shadow .18s ease;
    box-shadow: 0 10px 26px rgba(26,93,58,.26);
}

    .fp-btn:hover {
        filter: brightness(1.03);
    }

    .fp-btn:active {
        transform: translateY(1px);
    }

    .fp-btn.is-loading {
        opacity: .9;
        cursor: not-allowed;
    }

/* Link back */
.fp-actions {
    margin-top: 14px;
    text-align: center;
}

.fp-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    color: #0f172a;
}

    .fp-link:hover {
        color: var(--fp-primary);
    }

/* Footer */
.fp-footer {
    margin-top: 22px;
    text-align: center;
}

.fp-footer-links {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #64748b;
}

    .fp-footer-links a {
        color: #64748b;
        text-decoration: none;
        font-weight: 700;
    }

        .fp-footer-links a:hover {
            color: var(--fp-primary);
        }

.fp-copy {
    margin-top: 10px;
    font-size: 12px;
    color: #94a3b8;
}

/* Highlight */
.fp-highlight {
    animation: fpPulse 1.1s ease-in-out 1;
    box-shadow: 0 0 0 6px rgba(26,93,58,.14);
    border-radius: 12px;
}

@keyframes fpPulse {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.01);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .fp-shell {
        grid-template-columns: 1fr;
    }

    .fp-card {
        padding: 28px 16px;
    }
}
