#chat-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

#chat-widget-container input{
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 15px;
    outline: none;
    transition: 0.3s ease;
    box-sizing: border-box;
}

#chat-widget-form input:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.4);
}

#chat-widget-toggle {
    background: #2c3e50;
    color: white;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

#chat-widget-panel {
    width: 320px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
    position: fixed;
    bottom: 80px; /* butonun üstünde dursun */
    right: 20px;
    z-index: 9999;
    overflow: hidden;
}

#chat-widget-header {
    background: #2c3e50;
    color: white;
    padding: 10px;
    font-weight: bold;
}

#chat-widget-body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-widget-preset {
    width: 100%;
    margin-bottom: 5px;
    padding: 10px;
    border: none;
    background: #ecf0f1;
    cursor: pointer;
}

#chat-widget-message {
    width: 100%;
    min-height: 50px;
    padding: 10px;
    border: 1px solid #ccc;
}

#chat-widget-form input {
    width: 100%;
    padding: 8px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
}

.chat-widget-floating-group {
    position: relative;
    margin-bottom: 16px;
}

.chat-widget-floating-group input {
    width: 100%;
    padding: 16px 12px 6px 12px; /* üst boşluk önemli */
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    background: white;
}

.chat-widget-floating-group label {
    position: absolute;
    top: 1rem;
    left: 12px;
    font-size: 15px;
    color: #999;
    background-color: white;
    padding: 0 4px;
    pointer-events: none;
    transition: 0.2s ease all;
}

.chat-widget-floating-group input:focus + label,
.chat-widget-floating-group input:not(:placeholder-shown) + label {
    top: -1rem;
    left: 10px;
    font-size: 12px;
    color: #3498db;
}
