.pc-floating-wrapper {
    position: fixed;
    z-index: 9998;
    top: 30%;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: "Segoe UI", Arial, sans-serif;
}

.pc-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: 11px 14px;
    border: 1px solid transparent;
    background: #093a18;
    border-radius: 6px 0 0 6px;
    box-shadow: -2px 2px 6px rgba(0, 0, 0, 0.25);
    color: #ffffff;
    cursor: pointer;
    font: 600 14px/1.2 "Segoe UI", Arial, sans-serif;
    text-decoration: none;
}

.pc-float-btn:hover,
.pc-float-btn:focus-visible {
    border-color: #61ce70;
    background: #004d08;
    color: #ffffff;
    outline: none;
}

.pc-slide-form {
    position: fixed;
    z-index: 9999;
    top: 18%;
    right: 0;
    width: min(370px, calc(100vw - 30px));
    max-height: 78vh;
    overflow-y: auto;
    padding: 24px;
    border-left: 5px solid #093a18;
    background: #ffffff;
    border-radius: 10px 0 0 10px;
    box-shadow: -3px 3px 18px rgba(0, 0, 0, 0.3);
    font-family: "Segoe UI", Arial, sans-serif;
    transform: translateX(110%);
    transition: transform 0.25s ease;
    visibility: hidden;
}

.pc-slide-form.open {
    transform: translateX(0);
    visibility: visible;
}

.pc-slide-form h2 {
    margin: 0 30px 18px 0;
    color: #093a18;
    font-size: 1.45rem;
}

.pc-slide-form label {
    display: block;
    margin-top: 10px;
    color: #1f2937;
    font-size: 0.86rem;
    font-weight: 600;
}

.pc-slide-form input,
.pc-slide-form select {
    width: 100%;
    margin-top: 5px;
    padding: 10px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    border-radius: 6px;
    color: #111827;
    font: inherit;
}

.pc-slide-form input:focus,
.pc-slide-form select:focus {
    border-color: #22c55e;
    outline: 3px solid rgba(34, 197, 94, 0.2);
}

.pc-slide-form button[type="submit"] {
    width: 100%;
    margin-top: 16px;
    padding: 11px;
    border: 0;
    background: #093a18;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.pc-slide-form button[type="submit"]:disabled {
    cursor: wait;
    opacity: 0.65;
}

.pc-close {
    position: absolute;
    top: 8px;
    right: 12px;
    padding: 5px 9px;
    border: 0;
    background: transparent;
    color: #093a18;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

.pc-form-status {
    display: none;
    margin-top: 14px;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
}

.pc-form-status.success,
.pc-form-status.error {
    display: block;
}

.pc-form-status.success {
    background: #dcfce7;
    color: #166534;
}

.pc-form-status.error {
    background: #fee2e2;
    color: #991b1b;
}

.pc-slide-form .pga-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 600px) {
    .pc-floating-wrapper {
        top: auto;
        right: 8px;
        bottom: 8px;
        left: 8px;
        flex-direction: row;
        justify-content: center;
    }

    .pc-float-btn {
        flex: 1;
        min-width: 0;
        border-radius: 6px;
    }

    .pc-slide-form {
        top: auto;
        bottom: 0;
        width: 100%;
        max-height: 88vh;
        border-top: 5px solid #093a18;
        border-left: 0;
        border-radius: 12px 12px 0 0;
        transform: translateY(110%);
    }

    .pc-slide-form.open {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pc-slide-form {
        transition: none;
    }
}
