#cfSupportButton {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    line-height: 56px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 9998;
    padding: 0;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
#cfSupportButton:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
#cfSupportButton:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

#cfSupportPanel {
    position: fixed;
    right: 20px;
    bottom: 90px;
    width: 340px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    overflow: hidden;
}

.cf-support-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: linear-gradient(135deg, #4a90e2, #357abd);
    color: #fff;
}
.cf-support-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}
.cf-support-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.85;
}
.cf-support-close:hover { opacity: 1; }

.cf-support-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cf-support-body input,
.cf-support-body textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    resize: vertical;
}
.cf-support-body input:focus,
.cf-support-body textarea:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
}
.cf-support-send {
    background: #4a90e2;
    color: #fff;
    border: none;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.cf-support-send:hover { background: #357abd; }
.cf-support-send:disabled { opacity: 0.6; cursor: not-allowed; }

.cf-support-status {
    font-size: 13px;
    line-height: 1.4;
    min-height: 1.2em;
}
.cf-support-attach {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: #555;
}
.cf-support-attach input[type="file"] {
    font-size: 12px;
    padding: 0;
    border: none;
}
.cf-support-attach-warn {
    color: #c0392b;
    font-size: 12px;
    line-height: 1.4;
}
.cf-support-status.error  { color: #c0392b; }
.cf-support-status.ok     { color: #27ae60; }

@media (max-width: 480px) {
    #cfSupportPanel {
        left: 10px;
        right: 10px;
        width: auto;
        bottom: 80px;
    }
    #cfSupportButton {
        right: 12px;
        bottom: 12px;
    }
}
