.custom-file-label {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    color: #333;
    font-size: 14px;
}

.file-input {
    display: none;
}

#fileName {
    margin-left: 10px;
    font-size: 14px;
    color: #888;
}


#agreement {
    margin-right: 10px;
}

/* Blog Card Ana Yapı */
.blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

/* Blog Card Görsel Alanı */
.blog-card__image {
    display: block;
    position: relative;
    overflow: hidden;
    padding-top: 66.67%; /* 3:2 aspect ratio */
}

.blog-card__image-inner {
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s ease;
}

.blog-card__image:hover .blog-card__image-inner {
    transform: scale(1.1);
}

/* Blog Card İçerik Alanı */
.blog-card__content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

/* Blog Card Meta Bilgileri */
.blog-card__meta {
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
}

.blog-card__meta li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card__meta a {
    color: #666;
    text-decoration: none;
}

/* Blog Card Başlık */
.blog-card__title {
    font-size: 1.25rem;
    line-height: 1.5;
    min-height: 3.2rem;
    margin-bottom: 0.5rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-card__title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card__title a:hover {
    color: #0056b3;
}

/* Blog Card Metin */
.blog-card__text {
    min-height: 4.2rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    color: #666;
    margin-bottom: 0.75rem;
}

/* Blog Card Buton */
.blog-card__btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-top: 1px solid #eee;
    color: #333;
    transition: background-color 0.3s ease;
}

.blog-card__btn:hover {
    background-color: #f8f9fa;
}

.blog-card__btn-icon {
    display: flex;
    transition: transform 0.3s ease;
}

.blog-card__btn:hover .blog-card__btn-icon {
    transform: translateX(5px);
}

/*** Whatsapp Button ***/
.cs_whatsapp {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #25d366;
    cursor: pointer;
    transition: all 0.3s ease-in-out;

    &:hover {
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.16), 0 0 10px rgba(0, 0, 0, 0.23);
        transition: all 0.3s ease-in-out;
    }

    a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        text-decoration: none;
        color: #fff;

        svg {
            fill: #eeeeee;
            width: 24px;
            height: 24px;
        }
    }
}

/*** Whatsapp Button End ***/


/*** Request Offer Button ***/
.cs_request_offer {
    position: fixed;
    bottom: 40px;
    left: 40px;
    z-index: 9999;

    button {
        border: none;
        outline: none;
        background-color: #000000;
        color: #ffffff;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        transition: all 0.3s ease-in-out;

        &:hover {
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.16), 0 0 10px rgba(0, 0, 0, 0.23);
            transition: all 0.3s ease-in-out;
        }
    }
}

/*** Request Offer Button End ***/

/*** Request Offer Modal ***/
.cs_request_offer_modal_show {
    opacity: 1 !important;
    visibility: visible !important;
    transition: all 0.3s ease-in-out;
}

.cs_request_offer_modal {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;

    .cs_request_offer_modal_in {
        background-color: #fffdfd;
        padding: 40px;
        border-radius: 10px;
        max-width: 800px;
        width: 100%;

        .cs_request_offer_modal_header {
            position: relative;

            h2 {
                font-size: 24px;
                font-weight: 600;
                margin: 0 0 20px;
                color: #000000;
                text-align: center;
            }

            p {
                font-size: 14px;
                font-weight: 500;
                color: #000000;
                text-align: center;
            }

            .cs_request_offer_modal_close {
                cursor: pointer;
                position: absolute;
                right: -25px;
                top: -20px;
                background: transparent;
                border-radius: 50%;
                width: 30px;
                height: 30px;
                display: flex;
                justify-content: center;
                align-items: center;
                outline: #d3d3d4 solid 1px;

                &:hover {
                    color: #fff !important;
                    outline: #ffffff solid 1px;
                    box-shadow: 0 0 10px rgba(0, 0, 0, 0.16), 0 0 10px rgba(0, 0, 0, 0.23);
                    transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
                }

                button {
                    border: none;
                    outline: none;

                    &:hover {
                        outline: none;
                        box-shadow: none;
                        color: #eeeeee;
                    }

                    &:focus {
                        outline: none;
                    }

                    &:active {
                        outline: none;
                    }

                }
            }
        }

        .cs_request_offer_modal_body {
            max-height: 500px;
            overflow-y: auto;
            overflow-x: hidden;

            .cs_request_offer_form {
                max-width: 500px;
                max-height: 500px;
                margin: 0 auto;

                .cs_form-group {
                    margin-bottom: 20px;

                    label {
                        font-size: 16px;
                        font-weight: 500;
                        color: #000000;
                        margin-bottom: 10px;
                    }

                    input, textarea {
                        border: 1px solid #d3d3d4;
                        border-radius: 5px;
                        padding: 10px 15px;
                        width: 100%;
                        outline: none;
                        font-size: 16px;
                        font-weight: 500;
                        color: #000000;
                    }

                    textarea {
                        height: 100px;
                        resize: none;

                        &:focus {
                            outline: none;
                            box-shadow: 0 0 10px rgba(0, 0, 0, 0.16), 0 0 10px rgba(0, 0, 0, 0.23);
                            transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
                        }
                    }

                    button {
                        background-color: #000000;
                        color: #ffffff;
                        border: none;
                        outline: none;
                        padding: 10px 20px;
                        border-radius: 5px;
                        cursor: pointer;
                        font-size: 16px;
                        font-weight: 500;
                        width: 100%;

                        &:hover {
                            box-shadow: 0 0 10px rgba(0, 0, 0, 0.16), 0 0 10px rgba(0, 0, 0, 0.23);
                            transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
                        }

                        &:disabled {
                            opacity: 0.5;
                            cursor: not-allowed;
                        }
                    }

                    input {
                        &:focus {
                            outline: none;
                            box-shadow: 0 0 10px rgba(0, 0, 0, 0.16), 0 0 10px rgba(0, 0, 0, 0.23);
                            transition: all 0.3s cubic-bezier(.25, .8, .25, 1);
                        }
                    }
                }
            }
        }
    }
}

/*** End Request Offer Modal ***/
