/* Wrapper general */
.fi-private-note-wrapper {
    max-width: 640px;
    margin: 0rem auto 4rem auto;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Formulario */
#fi-private-note-form {
    margin: 0;
}

#fi-private-note-form p {
    margin: 0 0 1rem;
}

#fi-private-note-form label {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: #111827;
    margin-bottom: 0rem;
}

#fi_pn_content,
#fi_pn_expiration {
    width: 100%;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 0.6rem 0.75rem;
    box-sizing: border-box;
    background-color: #f9fafb;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s;
    font-family: "Poppins"!important;

}

#fi_pn_content {
    min-height: 140px;
    resize: vertical;
}

#fi_pn_content:focus,
#fi_pn_expiration:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.3);
    background-color: #ffffff;
}

/* Botón */
#fi-private-note-form button[type="submit"],
.fi-pn-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: #F9690E;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.02em;
    /*box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);*/
    transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s ease;
    margin-top: 1rem;
}

#fi-private-note-form button[type="submit"]:hover,
.fi-pn-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.45);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

#fi-private-note-form button[type="submit"]:active,
.fi-pn-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
}

#fi-private-note-form button[type="submit"]:focus-visible,
.fi-pn-button:focus-visible {
    outline: 2px solid #1d4ed8;
    outline-offset: 2px;
}

/* Bloque de resultado (previsualización de URL al crear nota) */
.fi-pn-result {
    margin-top: 1rem;
}

.fi-pn-result-box {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    font-size: 1rem;
    color: #1f2937;
}

.fi-pn-result-title {
    margin: 0 0 0.4rem;
    font-weight: 600;
    color: #1d4ed8;
}

.fi-pn-result-text {
    margin: 0 0 0.4rem;
}

.fi-pn-result-url {
    margin: 0.2rem 0 0;
    word-break: break-all;
}

.fi-pn-result-link {
    color: #1d4ed8;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dashed rgba(37, 99, 235, 0.4);
}

.fi-pn-result-link:hover {
    text-decoration: underline;
}

/* Bloque de visualización de nota al entrar por URL */
#fi-pn-note-view {
    margin-top: 1.25rem;
}

.fi-pn-view-box {
    max-width: 600px;
    margin: 0 auto;
    padding: 1.2rem 1rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
}

.fi-pn-view-box--error {
    border-color: #fecaca;
    background: #fef2f2;
    color: #7f1d1d;
}

.fi-pn-view-title {
    margin: 0 0 0.6rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827;
}

.fi-pn-view-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #111827;
    white-space: pre-wrap;
}

.fi-pn-view-new {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
}

.fi-pn-link-new {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted rgba(37, 99, 235, 0.5);
}

.fi-pn-link-new:hover {
    text-decoration: underline;
}

/* Ajustes responsivos suaves */
@media (max-width: 640px) {
    .fi-private-note-wrapper {
        margin: 1.5rem 1rem;
        padding: 1.25rem 1rem;
    }

    .fi-pn-view-box {
        padding: 1rem 0.85rem;
    }
}

.fi-pn-info {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.fi-pn-info strong {
    font-weight: 700;
}

.fi-pn-info--warning {
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    background-color: #fef3c7;
    border: 1px solid #facc15;
    color: #78350f;
}

.fi-pn-info--expires {
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    background-color: #eff6ff;
    border: 1px solid #60a5fa;
    color: #1e3a8a;
}

.fi-pn-content-title {
    margin: 1rem 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.fi-pn-content-box {
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.5;
}

