#pfc-floating-wrap {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.pfc-toggle {
    border: 0;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    padding: 13px 19px;
    min-height: 50px;
    box-shadow: 0 8px 28px rgba(0,0,0,.22);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 700;
    transition: transform .2s ease, box-shadow .2s ease;
}

.pfc-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0,0,0,.28);
}

.pfc-toggle-icon {
    font-size: 18px;
    line-height: 1;
}

.pfc-panel {
    position: absolute;
    right: 0;
    bottom: 62px;
    width: 350px;
    max-width: calc(100vw - 28px);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 55px rgba(0,0,0,.22);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(.98);
    transform-origin: bottom right;
    transition: all .2s ease;
}

.pfc-floating-wrap.pfc-open .pfc-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.pfc-header {
    background: #111827;
    color: #fff;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.pfc-header strong {
    display: block;
    font-size: 18px;
}

.pfc-header small {
    display: block;
    opacity: .78;
    margin-top: 4px;
    font-size: 12px;
}

.pfc-close {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.pfc-form {
    padding: 17px;
}

.pfc-field {
    margin-bottom: 12px;
}

.pfc-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 5px;
}

.pfc-field label span {
    color: #dc2626;
}

.pfc-field input,
.pfc-field select,
.pfc-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 11px;
    background: #fff;
    color: #111827;
    font-size: 14px;
    outline: none;
}

.pfc-field textarea {
    resize: vertical;
    min-height: 85px;
}

.pfc-field input:focus,
.pfc-field select:focus,
.pfc-field textarea:focus {
    border-color: #111827;
    box-shadow: 0 0 0 2px rgba(17,24,39,.08);
}

.pfc-submit {
    width: 100%;
    border: 0;
    border-radius: 8px;
    padding: 12px;
    background: #111827;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.pfc-submit:disabled {
    opacity: .65;
    cursor: wait;
}

.pfc-response {
    display: none;
    margin-top: 10px;
    padding: 9px 10px;
    border-radius: 7px;
    font-size: 12px;
}

.pfc-response.success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
}

.pfc-response.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
}

@media (max-width: 480px) {
    #pfc-floating-wrap {
        right: 12px;
        bottom: 12px;
    }

    .pfc-panel {
        width: 330px;
        max-width: calc(100vw - 24px);
    }

    .pfc-toggle-text {
        display: none;
    }

    .pfc-toggle {
        width: 50px;
        height: 50px;
        justify-content: center;
        padding: 0;
    }
}
