:root {
    --fab: #727272;
    --panel: #fff;
    --text: #0f172a;
    --muted: #64748b;
    --ring: rgba(37, 99, 235, .35);
}

.fab-launcher {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    padding: 20px 18px 12px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 64px;
    min-height: 64px;
    gap: 14px;
    transition: box-shadow 0.2s;

}

.fab-mail:hover {
    background: #ea580c;
    border-color: #ea580c;
}

.fab-row a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.fab-tooltip {
    position: absolute;
    right: 0;
    bottom: 75px;
    background: #fa4515;
    color: #ffff;
    border-radius: 12px;
    padding: 8px 10px;
    font: 600 12px / 1.2 system-ui;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .18);
    text-align: center;
    font-family: 'Funnel Display';
}

.fab-tooltip::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: -6px;
    width: 12px;
    height: 12px;
    background: #fa4515;
    transform: rotate(45deg);
}

.fab-panel.open+.fab-tooltip {
    display: none;
}

.fab-form label {
    display: block;
    font: 600 12px/1 system-ui;
    color: var(--muted);
    margin: 10px 0 6px;
}

.fab-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin-bottom: 8px;
    object-fit: cover;
    border: 2px solid #eee;
    background: #f7f7f7;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.fab-btn:focus {
    box-shadow: 0 0 0 4px var(--ring), 0 10px 20px rgba(0, 0, 0, .18);
}

.fab-btn:hover {
    transform: translateY(-1px);
}

.fab-panel {
    position: fixed;
    right: 20px;
    bottom: 86px;
    width: 320px;
    max-width: calc(100vw - 40px);
    background: var(--panel);
    color: var(--text);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .22);
    padding: 16px;
    display: none;
}

.fab-panel.open {
    display: block;
    animation: pop .16s ease-out;
}

@keyframes pop {
    from {
        transform: translateY(6px);
        opacity: .0
    }

    to {
        transform: translateY(0);
        opacity: 1
    }
}

.fab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.fab-title {
    font: 600 16px/1.2 system-ui;
}

.fab-close {
    border: none;
    background: transparent;
    font: 700 18px/1 system-ui;
    cursor: pointer;
    color: var(--muted);
}

.fab-row {
    display: flex;
    gap: 8px;
    margin: 8px 0 12px;
    flex-wrap: wrap;
}

.fab-chip {
    flex: 1 1 auto;
    min-width: 92px;
    text-decoration: none;
    text-align: center;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--text);
    font: 600 13px/1.1 system-ui;
    background: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.fab-whatsapp {
    flex: 1 1 auto;
    min-width: 92px;
    text-decoration: none;
    text-align: center;
    border: 1px solid #4FCE5D;
    border-radius: 12px;
    padding: 10px 12px;
    color: #fff;
    font: 600 13px/1.1 system-ui;
    background: #4FCE5D;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.fab-phone {
    flex: 1 1 auto;
    min-width: 92px;
    text-decoration: none;
    text-align: center;
    border: 1px solid #0ea5e9;
    border-radius: 12px;
    padding: 10px 12px;
    color: #fff;
    font: 600 13px/1.1 system-ui;
    background: #0ea5e9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.fab-mail {
    flex: 1 1 auto;
    min-width: 92px;
    text-decoration: none;
    text-align: center;
    border: 1px solid #f97316;
    border-radius: 12px;
    padding: 10px 12px;
    color: #fff;
    font: 600 13px/1.1 system-ui;
    background: #f97316;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.fab-chip:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.fab-whatsapp:hover {
    background: #43ba51;
    border-color: #43ba51;
}

.fab-phone:hover {
    background: #0284c7;
    border-color: #0284c7;
}

.fab-mail:hover {
    background: #ea580c;
    border-color: #ea580c;
}

.fab-row a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.fab-form label {
    display: block;
    font: 600 12px/1 system-ui;
    color: var(--muted);
    margin: 10px 0 6px;
}

.fab-input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 10px 12px;
    font: 500 14px/1.2 system-ui;
    background: #fff;
}

.fab-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--ring);
    border-color: #bfdbfe;
}

.fab-submit {
    margin-top: 12px;
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 12px;
    background: var(--fab);
    color: #fff;
    font: 700 14px/1 system-ui;
    cursor: pointer;
}

.fab-foot {
    margin-top: 8px;
    text-align: center;
    font: 500 11px/1.2 system-ui;
    color: var(--muted);
}

@media (max-width:420px) {
    .fab-panel {
        right: 10px;
        left: 10px;
        width: auto;
    }

    .fab-launcher {
        right: 10px;
        bottom: 10px;
    }
}

.fab-kvkk {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
}

.fab-kvkk input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #0078d4;
    /* Daha modern bir renk */
}

.fab-kvkk label {
    line-height: 1.5;
}

.fab-kvkk a {
    color: #0078d4;
    text-decoration: none;
}

.fab-kvkk a:hover {
    text-decoration: underline;
}

html.light .fab-input,
html.light .fab-input::placeholder {
    color: #727272 !important;
}

/* Dark modda input yazıları siyah */
html.dark .fab-input,
html.dark .fab-input::placeholder {
    color: #727272 !important;
}

.fab-error {
    color: #dc2626;
    font-size: 12px;
    margin-top: 4px;
    display: none;
    font-weight: 500;
}

.fab-input.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-success {
    background: #dcfce7;
    color: #166534;
    padding: 12px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 14px;
    display: none;
    text-align: center;
}

.form-error {
    background: #fef2f2;
    color: #dc2626;
    padding: 12px;
    border-radius: 8px;
    margin-top: 12px;
    font-size: 14px;
    display: none;
    text-align: center;
}