/* Extracted from canvon-floating-buttons/admin/views/settings-page.php */
.canvon-fb-settings-wrapper {
    max-width: 100%;
    margin: 20px 0;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.canvon-fb-left-column {
    min-width: 0;
}

.canvon-fb-right-column {
    position: sticky;
    top: 32px;
    height: fit-content;
}

.canvon-fb-preview-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.canvon-fb-preview-section h2 {
    margin-top: 0;
    font-size: 18px;
    color: #1d2327;
    margin-bottom: 15px;
}

.canvon-fb-browser-mockup {
    background: #E8E8ED;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dcdcde;
}

.canvon-fb-browser-header {
    background: #E8E8ED;
    padding: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.canvon-fb-browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.canvon-fb-browser-dot:nth-child(1) {
    background: #ED6A5E;
}

.canvon-fb-browser-dot:nth-child(2) {
    background: #F5BF4F;
}

.canvon-fb-browser-dot:nth-child(3) {
    background: #61C554;
}

.canvon-fb-browser-content {
    background: white;
    min-height: 500px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.canvon-fb-preview-placeholder {
    text-align: center;
    color: #787c82;
    font-size: 14px;
}

.canvon-fb-preview-icons {
    position: absolute;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
}

/* Position variations */
.canvon-fb-preview-icons[data-position="right"] {
    right: 20px;
}

.canvon-fb-preview-icons[data-position="left"] {
    left: 20px;
}

/* Size variations */
.canvon-fb-preview-icons[data-size="S"] .canvon-fb-preview-icon,
.canvon-fb-preview-icons[data-size="S"] .canvon-fb-preview-info-icon,
.canvon-fb-preview-icons[data-size="S"] .canvon-fb-preview-close {
    width: 40px;
    height: 40px;
}

.canvon-fb-preview-icons[data-size="S"] .canvon-fb-preview-icon svg,
.canvon-fb-preview-icons[data-size="S"] .canvon-fb-preview-info-icon svg,
.canvon-fb-preview-icons[data-size="S"] .canvon-fb-preview-close svg {
    width: 20px;
    height: 20px;
}

.canvon-fb-preview-icons[data-size="M"] .canvon-fb-preview-icon,
.canvon-fb-preview-icons[data-size="M"] .canvon-fb-preview-info-icon,
.canvon-fb-preview-icons[data-size="M"] .canvon-fb-preview-close {
    width: 50px;
    height: 50px;
}

.canvon-fb-preview-icons[data-size="M"] .canvon-fb-preview-icon svg,
.canvon-fb-preview-icons[data-size="M"] .canvon-fb-preview-info-icon svg,
.canvon-fb-preview-icons[data-size="M"] .canvon-fb-preview-close svg {
    width: 25px;
    height: 25px;
}

.canvon-fb-preview-icons[data-size="L"] .canvon-fb-preview-icon,
.canvon-fb-preview-icons[data-size="L"] .canvon-fb-preview-info-icon,
.canvon-fb-preview-icons[data-size="L"] .canvon-fb-preview-close {
    width: 60px;
    height: 60px;
}

.canvon-fb-preview-icons[data-size="L"] .canvon-fb-preview-icon svg,
.canvon-fb-preview-icons[data-size="L"] .canvon-fb-preview-info-icon svg,
.canvon-fb-preview-icons[data-size="L"] .canvon-fb-preview-close svg {
    width: 30px;
    height: 30px;
}

.canvon-fb-preview-icons[data-size="XL"] .canvon-fb-preview-icon,
.canvon-fb-preview-icons[data-size="XL"] .canvon-fb-preview-info-icon,
.canvon-fb-preview-icons[data-size="XL"] .canvon-fb-preview-close {
    width: 70px;
    height: 70px;
}

.canvon-fb-preview-icons[data-size="XL"] .canvon-fb-preview-icon svg,
.canvon-fb-preview-icons[data-size="XL"] .canvon-fb-preview-info-icon svg,
.canvon-fb-preview-icons[data-size="XL"] .canvon-fb-preview-close svg {
    width: 35px;
    height: 35px;
}

/* Shape variations */
.canvon-fb-preview-icons[data-shape="round"] .canvon-fb-preview-icon,
.canvon-fb-preview-icons[data-shape="round"] .canvon-fb-preview-info-icon,
.canvon-fb-preview-icons[data-shape="round"] .canvon-fb-preview-close {
    border-radius: 50%;
}

.canvon-fb-preview-icons[data-shape="square"] .canvon-fb-preview-icon,
.canvon-fb-preview-icons[data-shape="square"] .canvon-fb-preview-info-icon,
.canvon-fb-preview-icons[data-shape="square"] .canvon-fb-preview-close {
    border-radius: 0;
}

.canvon-fb-preview-icons.expanded {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

.canvon-fb-preview-icon {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.2s;
}

.canvon-fb-preview-icon:hover {
    transform: scale(1.05);
}

.canvon-fb-preview-icon svg {
    fill: white;
}

.canvon-fb-preview-info-icon {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.2s;
}

.canvon-fb-preview-info-icon:hover {
    transform: scale(1.05);
}

/* Widget icon with text wrapper */
.canvon-fb-widget-with-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.canvon-fb-preview-icons[data-position="right"] .canvon-fb-widget-with-text {
    flex-direction: row-reverse;
}

.canvon-fb-preview-icons[data-position="left"] .canvon-fb-widget-with-text {
    flex-direction: row;
}

.canvon-fb-widget-text {
    background: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.canvon-fb-preview-close {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.2s;
    margin-top: 5px;
}

.canvon-fb-preview-close:hover {
    transform: scale(1.05);
}

.canvon-fb-preview-close svg {
    stroke: white;
    fill: none;
    stroke-width: 3;
}

@media (max-width: 1200px) {
    .canvon-fb-settings-wrapper {
        grid-template-columns: 1fr;
    }

    .canvon-fb-right-column {
        position: static;
    }
}

.canvon-fb-settings-panel {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.canvon-fb-settings-panel-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 30px 0;
}

.canvon-fb-settings-panel-header h1 {
    margin: 0;
    font-size: 36px;
    font-weight: 600;
}

.wrap>.canvon-fb-license-notice-row.fs-notice {
    width: auto;
    max-width: none;
    box-sizing: border-box;
    margin: 0 0 18px;
    padding: 14px 16px;
    float: none;
    clear: both;
}

.wrap>.canvon-fb-license-notice-row.fs-notice .fs-notice-body {
    margin: 0;
}

.wrap>.canvon-fb-license-notice-row.fs-notice ol {
    margin: 10px 0 0 20px;
}

.canvon-fb-social-section {
    padding: 12px 30px 30px;
    margin-bottom: 0;
}

.canvon-fb-social-section h2 {
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 20px;
    color: #1d2327;
}

.canvon-fb-social-section p {
    margin: 0 0 20px 0;
    padding: 0;
    color: #A7AAAD;
}

.canvon-fb-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.canvon-fb-social-item {
    text-align: center;
}

.canvon-fb-social-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    position: relative;
    filter: grayscale(100%) opacity(0.5);
}

.canvon-fb-social-button:hover {
    transform: scale(1.05);
    filter: grayscale(0%) opacity(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.canvon-fb-social-button.active {
    filter: grayscale(0%) opacity(1);
    box-shadow: 0 0 0 3px #2271b1;
}

.canvon-fb-social-button.active:hover {
    filter: grayscale(0%) opacity(1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.canvon-fb-social-button svg {
    width: 35px;
    height: 35px;
    fill: white;
}

/* Platform colors */
.canvon-fb-phone {
    background: #34B7F1;
}

.canvon-fb-whatsapp {
    background: #25D366;
}

.canvon-fb-line {
    background: #00B900;
}

.canvon-fb-wechat {
    background: #09B83E;
}

.canvon-fb-kakao {
    background: #FEE500;
}

.canvon-fb-kakao svg {
    fill: #000000 !important;
}

.canvon-fb-kakao svg text {
    fill: #FEE500 !important;
}

.canvon-fb-discord {
    background: #5865F2;
}

.canvon-fb-email {
    background: #EA4335;
}

.canvon-fb-tiktok {
    background: #000000;
}

.canvon-fb-twitter {
    background: #000000;
}

.canvon-fb-linkedin {
    background: #0A66C2;
}

.canvon-fb-threads {
    background: #000000;
}

.canvon-fb-facebook {
    background: #1877F2;
}

.canvon-fb-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.canvon-fb-youtube {
    background: #FF0000;
}

.canvon-fb-social-item label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #1d2327;
}

.canvon-fb-channels-section {
    padding: 30px;
}

.canvon-fb-channels-section h2 {
    margin-top: 0;
    font-size: 36px;
    color: #1d2327;
}

.canvon-fb-premium-activated-banner {
    position: relative;
    margin: 0 0 18px;
    padding: 12px 14px;
    padding-right: 44px;
    border: 1px solid #c3e6cb;
    border-left: 4px solid #46b450;
    background: #f1fbf3;
    color: #1d2327;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.45;
}

.canvon-fb-premium-activated-banner-dismiss {
    position: absolute;
    top: 8px;
    right: 10px;
    color: #6f7a70;
    text-decoration: none;
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
}

.canvon-fb-premium-activated-banner-dismiss:hover {
    color: #1d2327;
}

.canvon-fb-channel-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 60px 15px 15px;
    background: #f6f7f7;
    border-radius: 6px;
    margin-bottom: 10px;
    position: relative;
    cursor: move;
}

.canvon-fb-drag-handle {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    cursor: grab;
    color: #8c8f94;
    display: flex;
    align-items: center;
    justify-content: center;
}

.canvon-fb-drag-handle:active {
    cursor: grabbing;
}

.canvon-fb-drag-handle svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.canvon-fb-channel-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.canvon-fb-channel-icon svg {
    width: 25px;
    height: 25px;
    fill: white;
}

.canvon-fb-channel-content {
    flex: 1;
}

.canvon-fb-channel-label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #1d2327;
}

.canvon-fb-channel-content input[type="text"],
.canvon-fb-channel-content input[type="email"],
.canvon-fb-channel-content input[type="tel"],
.canvon-fb-channel-content input[type="url"] {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.canvon-fb-channel-content input[type="text"]:focus,
.canvon-fb-channel-content input[type="email"]:focus,
.canvon-fb-channel-content input[type="tel"]:focus,
.canvon-fb-channel-content input[type="url"]:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 1px #2271b1;
}

.canvon-fb-channel-help {
    display: block;
    margin-top: 5px;
    color: #646970;
    font-size: 12px;
    line-height: 1.35;
}

.canvon-fb-wechat-qr-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.canvon-fb-wechat-qr-preview {
    width: 56px;
    height: 56px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    object-fit: cover;
    background: #fff;
}

.canvon-fb-wechat-qr-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.canvon-fb-wechat-qr-button,
.canvon-fb-wechat-qr-remove {
    border: 1px solid #0D99FF;
    background: #fff;
    color: #0D99FF;
    border-radius: 4px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.canvon-fb-wechat-qr-remove {
    border-color: #d63638;
    color: #d63638;
}

.canvon-fb-channel-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    border-radius: 4px;
    padding: 8px;
    cursor: pointer;
    font-size: 0;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.canvon-fb-channel-remove:hover {
    opacity: 0.7;
}

.canvon-fb-channel-remove svg {
    width: 25px;
    height: 25px;
    stroke: #0D99FF;
    fill: none;
    stroke-width: 2;
}

.canvon-fb-show-on-control {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
}

.canvon-fb-show-on-label {
    font-size: 13px;
    color: #787c82;
    font-weight: 500;
    white-space: nowrap;
    margin-right: 2px;
}

.canvon-fb-show-on-btn {
    background: none;
    border: 1.5px solid #dcdcde;
    border-radius: 4px;
    padding: 2px 3px;
    cursor: pointer;
    color: #c3c4c7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    transition: color .15s, border-color .15s, background .15s;
}

.canvon-fb-show-on-btn:hover {
    color: #0D99FF;
    border-color: #0D99FF;
}

.canvon-fb-show-on-btn.canvon-fb-show-on-active {
    color: #0D99FF;
    border-color: #0D99FF;
    background: #f0f9ff;
}

.canvon-fb-channel-placeholder {
    background: #e0e0e0;
    border: 2px dashed #8c8f94;
    border-radius: 6px;
    margin-bottom: 10px;
    height: 80px;
    visibility: visible !important;
}

.canvon-fb-empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #787c82;
}

.canvon-fb-save-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.canvon-fb-save-section .button-primary {
    background: #0D99FF;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    text-shadow: none;
    box-shadow: none;
    margin: 0;
    height: 40px;
    line-height: 1.4;
}

.canvon-fb-save-section .button-primary:hover {
    background: #0B87E0;
}

.canvon-fb-save-section .button-primary:active {
    background: #0B87E0;
}

.canvon-fb-secondary-link-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #0D99FF;
    text-decoration: none;
    font-weight: 500;
    background: #fff;
    border: 1px solid #0D99FF;
    padding: 5px 11px;
    border-radius: 4px;
    margin-left: auto;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.canvon-fb-secondary-link-button:hover {
    background: #f4f9ff;
    border-color: #0B87E0;
    color: #0B87E0;
}

.canvon-fb-secondary-link-button:focus {
    color: #0D99FF;
    box-shadow: 0 0 0 1px #fff, 0 0 0 3px rgba(13, 153, 255, 0.35);
    outline: none;
}


/* Extracted from canvon-floating-buttons/admin/views/appearance-page.php */
.canvon-fb-settings-wrapper {
    max-width: 100%;
    margin: 20px 0;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.canvon-fb-left-column {
    min-width: 0;
}

.canvon-fb-right-column {
    position: sticky;
    top: 32px;
    height: fit-content;
}

.canvon-fb-preview-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.canvon-fb-preview-section h2 {
    margin-top: 0;
    font-size: 18px;
    color: #1d2327;
    margin-bottom: 15px;
}

.canvon-fb-browser-mockup {
    background: #E8E8ED;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #dcdcde;
}

.canvon-fb-browser-header {
    background: #E8E8ED;
    padding: 12px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.canvon-fb-browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.canvon-fb-browser-dot:nth-child(1) {
    background: #ED6A5E;
}

.canvon-fb-browser-dot:nth-child(2) {
    background: #F5BF4F;
}

.canvon-fb-browser-dot:nth-child(3) {
    background: #61C554;
}

.canvon-fb-browser-content {
    background: white;
    min-height: 500px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.canvon-fb-preview-placeholder {
    text-align: center;
    color: #787c82;
    font-size: 14px;
}

.canvon-fb-appearance-panel {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.canvon-fb-appearance-panel-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 6px 16px;
    padding: 20px 25px 0;
}

.canvon-fb-appearance-panel-header h1 {
    margin: 0;
    font-size: 36px;
    font-weight: 600;
}

.canvon-fb-appearance-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.canvon-fb-appearance-title {
    margin: 0;
}

.canvon-fb-appearance-title-description {
    margin: 0;
    color: #A7AAAD;
    font-size: 14px;
    line-height: 1.5;
    grid-column: 1 / -1;
}

.wrap>.canvon-fb-license-notice-row.fs-notice {
    width: auto;
    max-width: none;
    box-sizing: border-box;
    margin: 0 0 18px;
    padding: 14px 16px;
    float: none;
    clear: both;
}

.wrap>.canvon-fb-license-notice-row.fs-notice .fs-notice-body {
    margin: 0;
}

.wrap>.canvon-fb-license-notice-row.fs-notice ol {
    margin: 10px 0 0 20px;
}

.canvon-fb-appearance-section {
    padding: 25px;
}

.canvon-fb-appearance-section h2 {
    margin-top: 0;
    font-size: 18px;
    color: #1d2327;
    margin-bottom: 20px;
}

.canvon-fb-form-field {
    margin-bottom: 0;
}

.canvon-fb-form-field label {
    display: block;
    font-weight: 600;
    color: #1d2327;
}

.canvon-fb-form-field input[type="number"],
.canvon-fb-form-field select {
    width: 100%;
    max-width: 300px;
    padding: 8px 12px;
    border: 1px solid #8c8f94;
    border-radius: 4px;
    font-size: 14px;
}

.canvon-fb-form-field .description {
    margin-top: 6px;
    font-size: 13px;
    color: #646970;
}

.canvon-fb-radio-group {
    display: flex;
    gap: 0;
    margin: 0;
    border: 1px solid #0D99FF;
    border-radius: 6px;
    overflow: hidden;
    width: fit-content;
}

.canvon-fb-radio-option {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 500;
    padding: 10px 32px;
    background: white;
    color: #0D99FF;
    border-right: 1px solid #0D99FF;
    margin: 0;
}

.canvon-fb-radio-option:last-child {
    border-right: none;
}

.canvon-fb-radio-option:hover {
    background: #EBF6FF;
}

.canvon-fb-radio-option input[type="radio"] {
    display: none;
}

.canvon-fb-radio-option input[type="radio"]:checked+span {
    background: transparent;
    color: inherit;
}

.canvon-fb-radio-option:has(input[type="radio"]:checked) {
    background: #EBF6FF;
    color: #0D99FF;
}

.canvon-fb-radio-option span {
    font-size: 15px;
    color: inherit;
}

/* Shape options with icons */
.canvon-fb-shape-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    display: inline-block;
    color: #0D99FF;
}

.canvon-fb-shape-icon.round {
    border-radius: 50%;
    background: currentColor;
}

.canvon-fb-shape-icon.square {
    border-radius: 4px;
    background: currentColor;
}

.canvon-fb-radio-option:has(input[type="radio"]:checked) .canvon-fb-shape-icon {
    background: #0D99FF;
}

/* Premium Banner */
.canvon-fb-premium-banner {
    background: #F5DEB3;
    padding: 16px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    border: 1px solid #E5CE9F;
    position: sticky;
    top: 42px;
    z-index: 1000;
}

.canvon-fb-premium-banner svg {
    stroke: #1d2327;
}

.canvon-fb-premium-banner-link {
    color: #1d2327;
    font-size: 16px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.canvon-fb-premium-banner-link:hover,
.canvon-fb-premium-banner-link:focus {
    color: #0D66D0;
}

.canvon-fb-banner-close {
    background: #4A9EFF;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
}

.canvon-fb-banner-close:hover {
    background: #3585E0;
}

.canvon-fb-banner-close svg {
    stroke: white;
}

.canvon-fb-pro-summary-banner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    margin: 0 25px 20px;
    padding: 20px 22px;
    border: 1px solid #f0c96a;
    border-left: 6px solid #dba617;
    border-radius: 6px;
    background: #fff8e5;
    box-shadow: 0 8px 18px rgba(219, 166, 23, 0.16);
}

.canvon-fb-pro-summary-copy h2 {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.3;
    color: #5c4200;
}

.canvon-fb-pro-summary-copy p {
    margin: 0;
    color: #50575e;
    font-size: 13px;
    line-height: 1.5;
}

.canvon-fb-pro-summary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 16px;
    border-radius: 4px;
    background: #0D99FF;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    justify-self: start;
    box-shadow: 0 3px 8px rgba(13, 153, 255, 0.25);
}

.canvon-fb-pro-summary-button:hover,
.canvon-fb-pro-summary-button:focus {
    background: #0B87E0;
    color: #fff;
}

@media (max-width: 782px) {
    .canvon-fb-pro-summary-banner {
        grid-template-columns: 1fr;
    }
}

/* Color picker */
.canvon-fb-color-picker {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.canvon-fb-color-option {
    position: relative;
    cursor: pointer;
}

.canvon-fb-color-option input[type="radio"] {
    display: none;
}

.canvon-fb-color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.canvon-fb-color-option:hover .canvon-fb-color-swatch {
    transform: scale(1.1);
}

.canvon-fb-color-swatch svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: white;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: none;
}

.canvon-fb-color-option input[type="radio"]:checked~.canvon-fb-color-swatch svg {
    display: block;
}

/* Widget icon picker */
.canvon-fb-widget-icon-picker {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.canvon-fb-widget-icon-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.canvon-fb-widget-icon-display {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #0D99FF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.canvon-fb-widget-icon-option:hover .canvon-fb-widget-icon-display {
    transform: scale(1.05);
}

.canvon-fb-widget-icon-display svg {
    width: 30px;
    height: 30px;
}

.canvon-fb-widget-icon-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto 0 auto;
    flex-shrink: 0;
}

.canvon-fb-widget-icon-option input[type="radio"]:checked {
    border-color: #0D99FF;
}

.canvon-fb-widget-icon-option input[type="radio"]:checked::before {
    content: '';
    display: block;
    float: none;
    width: 8px;
    height: 8px;
    margin: 0;
    border-radius: 50%;
    background: #0D99FF;
}

/* Selected indicator for the custom-upload label (radio is outside the label) */
.canvon-fb-widget-icon-option.selected::after {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    border: 2px solid #0D99FF;
    border-radius: 50%;
    margin: 4px auto 0;
    background: radial-gradient(circle, #0D99FF 40%, transparent 41%);
}

/* Widget icon text field */
.canvon-fb-widget-text-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.canvon-fb-widget-text-input {
    width: 100%;
    padding: 10px 60px 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.canvon-fb-widget-text-input:focus {
    outline: none;
    border-color: #0D99FF;
}

.canvon-fb-char-counter {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #666;
    pointer-events: none;
}

/* iOS-style toggle switch */
.canvon-fb-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
}

.canvon-fb-toggle-label {
    font-size: 14px;
    color: #333;
}

.canvon-fb-toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.canvon-fb-toggle-switch input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.canvon-fb-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .3s;
    border-radius: 24px;
}

.canvon-fb-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 50%;
}

.canvon-fb-toggle-switch input[type="checkbox"]:checked+.canvon-fb-toggle-slider {
    background-color: #34C759;
}

.canvon-fb-toggle-switch input[type="checkbox"]:checked+.canvon-fb-toggle-slider:before {
    transform: translateX(20px);
}

.canvon-fb-save-button {
    background: #0D99FF;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.canvon-fb-save-button:hover {
    background: #0B87E0;
}

.canvon-fb-preview-icons {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.canvon-fb-preview-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.canvon-fb-preview-icon svg {
    width: 25px;
    height: 25px;
    fill: white;
}

.canvon-fb-preview-icons.expanded {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

.canvon-fb-preview-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #3F9166;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.canvon-fb-preview-info-icon svg {
    width: 25px;
    height: 25px;
}

.canvon-fb-preview-close {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #3F9166;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    margin-top: 5px;
}

.canvon-fb-preview-close svg {
    width: 20px;
    height: 20px;
    stroke: white;
    fill: none;
    stroke-width: 3;
}

/* Platform colors */
.canvon-fb-phone {
    background: #25D366;
}

.canvon-fb-whatsapp {
    background: #25D366;
}

.canvon-fb-line {
    background: #00B900;
}

.canvon-fb-wechat {
    background: #09B83E;
}

.canvon-fb-kakao {
    background: #FEE500;
}

.canvon-fb-kakao svg {
    fill: #3C1E1E;
}

.canvon-fb-kakao svg text {
    fill: #FEE500 !important;
}

.canvon-fb-discord {
    background: #5865F2;
}

.canvon-fb-email {
    background: #EA4335;
}

.canvon-fb-tiktok {
    background: #000000;
}

.canvon-fb-twitter {
    background: #000000;
}

.canvon-fb-linkedin {
    background: #0A66C2;
}

.canvon-fb-threads {
    background: #000000;
}

.canvon-fb-facebook {
    background: #1877F2;
}

.canvon-fb-instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

.canvon-fb-youtube {
    background: #FF0000;
}

@media (max-width: 1200px) {
    .canvon-fb-settings-wrapper {
        grid-template-columns: 1fr;
    }

    .canvon-fb-right-column {
        position: static;
    }
}


/* Extracted from canvon-floating-buttons/admin/views/preview-section.php */
.canvon-fb-preview-icons {
    position: absolute;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
}

.canvon-fb-preview-icons[data-position="right"] {
    right: 20px;
}

.canvon-fb-preview-icons[data-position="left"] {
    left: 20px;
}

/* Size variations */
.canvon-fb-preview-icons[data-size="S"] .canvon-fb-preview-icon,
.canvon-fb-preview-icons[data-size="S"] .canvon-fb-preview-info-icon,
.canvon-fb-preview-icons[data-size="S"] .canvon-fb-preview-close {
    width: 40px;
    height: 40px;
}

.canvon-fb-preview-icons[data-size="S"] .canvon-fb-preview-icon svg,
.canvon-fb-preview-icons[data-size="S"] .canvon-fb-preview-info-icon svg,
.canvon-fb-preview-icons[data-size="S"] .canvon-fb-preview-close svg {
    width: 20px;
    height: 20px;
}

.canvon-fb-preview-icons[data-size="M"] .canvon-fb-preview-icon,
.canvon-fb-preview-icons[data-size="M"] .canvon-fb-preview-info-icon,
.canvon-fb-preview-icons[data-size="M"] .canvon-fb-preview-close {
    width: 50px;
    height: 50px;
}

.canvon-fb-preview-icons[data-size="M"] .canvon-fb-preview-icon svg,
.canvon-fb-preview-icons[data-size="M"] .canvon-fb-preview-info-icon svg,
.canvon-fb-preview-icons[data-size="M"] .canvon-fb-preview-close svg {
    width: 25px;
    height: 25px;
}

.canvon-fb-preview-icons[data-size="L"] .canvon-fb-preview-icon,
.canvon-fb-preview-icons[data-size="L"] .canvon-fb-preview-info-icon,
.canvon-fb-preview-icons[data-size="L"] .canvon-fb-preview-close {
    width: 60px;
    height: 60px;
}

.canvon-fb-preview-icons[data-size="L"] .canvon-fb-preview-icon svg,
.canvon-fb-preview-icons[data-size="L"] .canvon-fb-preview-info-icon svg,
.canvon-fb-preview-icons[data-size="L"] .canvon-fb-preview-close svg {
    width: 30px;
    height: 30px;
}

.canvon-fb-preview-icons[data-size="XL"] .canvon-fb-preview-icon,
.canvon-fb-preview-icons[data-size="XL"] .canvon-fb-preview-info-icon,
.canvon-fb-preview-icons[data-size="XL"] .canvon-fb-preview-close {
    width: 70px;
    height: 70px;
}

.canvon-fb-preview-icons[data-size="XL"] .canvon-fb-preview-icon svg,
.canvon-fb-preview-icons[data-size="XL"] .canvon-fb-preview-info-icon svg,
.canvon-fb-preview-icons[data-size="XL"] .canvon-fb-preview-close svg {
    width: 35px;
    height: 35px;
}

/* Shape variations */
.canvon-fb-preview-icons[data-shape="round"] .canvon-fb-preview-icon,
.canvon-fb-preview-icons[data-shape="round"] .canvon-fb-preview-info-icon,
.canvon-fb-preview-icons[data-shape="round"] .canvon-fb-preview-close {
    border-radius: 50%;
}

.canvon-fb-preview-icons[data-shape="square"] .canvon-fb-preview-icon,
.canvon-fb-preview-icons[data-shape="square"] .canvon-fb-preview-info-icon,
.canvon-fb-preview-icons[data-shape="square"] .canvon-fb-preview-close {
    border-radius: 0;
}

.canvon-fb-preview-icons.expanded {
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

.canvon-fb-preview-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.canvon-fb-preview-icon svg {
    width: 25px;
    height: 25px;
    fill: white;
}

.canvon-fb-preview-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background: #0D99FF;
}

/* Widget icon with text wrapper */
.canvon-fb-widget-with-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.canvon-fb-preview-icons[data-position="right"] .canvon-fb-widget-with-text {
    flex-direction: row-reverse;
}

.canvon-fb-preview-icons[data-position="left"] .canvon-fb-widget-with-text {
    flex-direction: row;
}

.canvon-fb-widget-text {
    background: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.canvon-fb-preview-close {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.canvon-fb-preview-close svg {
    width: 25px;
    height: 25px;
    fill: white;
}

/* Platform colors */
.canvon-fb-phone {
    background: #007bff;
}

.canvon-fb-whatsapp {
    background: #25D366;
}

.canvon-fb-line {
    background: #00B900;
}

.canvon-fb-wechat {
    background: #09B83E;
}

.canvon-fb-kakao {
    background: #FEE500;
}

.canvon-fb-kakao svg {
    fill: #3C1E1E;
}

.canvon-fb-kakao svg text {
    fill: #FEE500 !important;
}

.canvon-fb-discord {
    background: #5865F2;
}

.canvon-fb-email {
    background: #D44638;
}

.canvon-fb-tiktok {
    background: #000000;
}

.canvon-fb-twitter {
    background: #000000;
}

.canvon-fb-linkedin {
    background: #0077B5;
}

.canvon-fb-threads {
    background: #000000;
}

.canvon-fb-facebook {
    background: #1877F2;
}

.canvon-fb-instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

.canvon-fb-youtube {
    background: #FF0000;
}


/* Extracted from canvon-floating-buttons/admin/views/preview-section.php */
.canvon-fb-preview-device-btn {
    background: none;
    border: none;
    padding: 6px 10px;
    cursor: pointer;
    color: #c3c4c7;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color .15s;
}

.canvon-fb-preview-device-btn:hover {
    color: #0D99FF;
}

.canvon-fb-preview-device-btn.canvon-fb-preview-device-active {
    color: #0D99FF;
}

/* Mobile mode — hide browser chrome, show only the phone frame */
.canvon-fb-browser-mockup.canvon-fb-mobile-mode {
    background: transparent;
    border: none;
    box-shadow: none;
}

.canvon-fb-browser-mockup.canvon-fb-mobile-mode .canvon-fb-browser-header {
    display: none;
}

.canvon-fb-browser-content.canvon-fb-mobile-view {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
}

.canvon-fb-mobile-frame {
    width: 200px;
    min-height: 360px;
    height: 420px;
    border: 3px solid #dcdcde;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    background: #fff;
    margin: 16px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

.canvon-fb-mobile-frame .canvon-fb-preview-placeholder,
.canvon-fb-mobile-frame .canvon-fb-preview-icons {
    position: absolute;
}