html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #dc3545;
}

html {
    position: relative;
    min-height: 100%;
}

/* Genel stiller */
body {
    font-family: 'Exo 2', sans-serif;
}

/* Chat panelini açma düğmesi */
.chatBtn {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 380px;
    padding: 10px;
    background-color: #dc3545;
    color: white;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

    .chatBtn:hover {
        background-color: #a71d2a;
    }

    .chatBtn span {
        padding-left: 5px;
    }

/* Chat paneli stilleri */
.chat-panel {
    position: fixed;
    bottom: 66px;
    right: 0;
    width: 400px;
    height: auto;
    background-color: #fff;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    display: block;
    flex-direction: column;
    z-index: 999999;
}

.chat-header {
    background-color: #dc3545;
    color: white;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .chat-header span {
        font-size: 18px;
        font-weight: 400;
    }

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.chat-body {
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: 330px;
}

.chat-messages {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
    background-color: #f1f1f1;
}

.chat-input-area {
    display: flex;
    border-top: 1px solid #ddd;
}

    .chat-input-area input {
        flex-grow: 1;
        border: none;
        padding: 10px;
        outline: none;
        width: 100%;
        max-width: 400px;
    }

    .chat-input-area button {
        background-color: #dc3545;
        color: white;
        border: none;
        padding: 8px;
        cursor: pointer;
        width: 400px;
        font-size: 16px;
        font-weight: 400;
    }

        .chat-input-area button:hover {
            background-color: #a71d2a;
        }

.site-ad {
    margin: 0;
    padding-bottom: 1px;
    padding-right: 16px;
    text-align: right;
    background-color: #dc3545;
    border-bottom: 1px solid #ccc;
}

    .site-ad a {
        color: white;
        text-decoration: none;
        font-size: 13px;
    }

        .site-ad a:hover {
            text-decoration: underline;
        }

.bLinks {
    color: #dc3545;
}

@media only screen and (max-width: 600px) {
    .chatBtn {
        width: 100%;
        height: auto;
    }

        .chatBtn span {
            padding-left: 15px;
        }

    .chat-panel {
        width: 100%;
        height: auto;
    }

    .chat-input-area input {
        width: 100%;
        height: auto;
    }

    .chat-input-area button {
        width: 344px;
        min-width: 100%;
        height: auto;
    }
}

.img-res {
    padding-top: 2%;
    height: 140px;
    width: 100%;
    object-fit: cover;
}

.margin-b {
    margin-bottom: 3px;
}




/* Sabit Buton */

#chatButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #dc3545;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 999999;
}

/* Chat Penceresi */
#chatIframeContainer {
    display: none;
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 350px;
    height: 400px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    overflow: hidden;
    z-index: 999999;
}

@media only screen and (max-width: 600px) {
    #chatIframeContainer {
        width: 90%;
    }
}

/* Üst Çubuk */
#chatHeader {
    font-family: 'Exo 2', sans-serif;
    background-color: #dc3545;
    color: white;
    padding: 5px;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Kapatma Butonu */
#closeChat {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

/* Chat İçeriği (Iframe) */
#chatIframe {
    width: 100%;
    height: 100%;
    border: none;
}
