﻿.custom-modal .modal-body {
    padding: 0;
}
    .custom-modal .modal-body .close-modal {
        position: absolute;
        top: 24px;
        right: 24px;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        outline: none;
        box-shadow: none;
        border: none;
        padding: 0;
    }

.modal-other-images {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 8px;
    padding: 21px 0;
    border-top: 1px solid #E0E0E0;
    border-bottom: 1px solid #E0E0E0;
}

.modal-image, .modal-image img {
    aspect-ratio: 1/1.15;
    object-fit: cover;
}
.modal-content-area {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 40px;
    padding: 0 32px;
}

.modal-other-image, .modal-other-image img {
    aspect-ratio: 1/1;
    object-fit: cover;
}

    .modal-other-image .active {
        border: 1px solid #D1000F;
    }

.modal-informations {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

.modal-artist-name {
    font-family: Inter;
    font-weight: 300;
    font-size: 18.7px;
    line-height: 20.91px;
    letter-spacing: -0.47px;
    color: #000000;
}

.modal-artifact-name {
    font-family: Inter;
    font-weight: 400;
    font-size: 18.26px;
    line-height: 20.91px;
    letter-spacing: -0.47px;
    color: #000000;
}

.modal-artifact-date {
    font-family: Inter;
    font-weight: 300;
    font-size: 19px;
    line-height: 20.91px;
    letter-spacing: -0.47px;
    color: #000000;
}

.modal-artifact-description {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    row-gap: 6px;
}

.modal-artifact-description-title {
    font-family: Inter;
    font-weight: 400;
    font-size: 14.77px;
    line-height: 22.5px;
    color: #000000;
}

.modal-artifact-description-text {
    font-family: Inter;
    font-weight: 400;
    font-size: 17.58px;
    line-height: 27px;
    color: #000000;
}

.contact-artifact {
    display: flex;
    align-items: center;
    column-gap: 12px;
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    text-decoration: none;
    cursor: pointer;
    width: max-content;
    max-width: 100%;
}

    .contact-artifact svg path {
        fill: #D1000F;
    }



    /*Teklif Formu*/

.offer-form {
    padding: 24px;
}

    .offer-form form {
        display: flex;
        flex-direction: column;
        row-gap: 20px;
    }

.offer-form-text {
    display: flex;
    flex-direction: column;
    row-gap: 8px;
}

.offer-form-title {
    font-family: Inter;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #101828;
}

.offer-form-description {
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #667085;
}

.offer-form-input-area .form-group {
    display: flex;
    flex-direction: column;
    row-gap: 6px;
}

    .offer-form-input-area .form-group input, .offer-form-input-area .form-group textarea {
        padding: 12px 16px;
        font-family: Inter;
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        color: #667085;
        border: 1px solid #D0D5DD;
        box-shadow: 0px 1px 2px 0px #1018280D;
        border-radius: 8px;
        outline: none;
    }

        .offer-form-input-area .form-group input::-webkit-outer-spin-button,
        .offer-form-input-area .form-group input::-webkit-inner-spin-button {
            /* display: none; <- Crashes Chrome on hover */
            -webkit-appearance: none;
            margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
        }

    .offer-form-input-area .form-group textarea {
        resize: none;
        min-height: 128px;
        max-height: 128px;
    }

.offer-form-area {
    display: flex;
    flex-direction: column;
    row-gap: 32px;
}

.offer-form-buttons {
    display: flex;
    column-gap: 12px;
    justify-content: space-between;
    align-items: center;
}

    .offer-form-buttons .dismiss-button {
        padding: 10px;
        width: 100%;
        font-family: Inter;
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
        color: #344054;
        background: #fff;
        border: 1px solid #D0D5DD;
        box-shadow: 0px 1px 2px 0px #1018280D;
    }

    .offer-form-buttons .accept-button {
        font-family: Inter;
        font-weight: 600;
        font-size: 16px;
        line-height: 24px;
        color: #D1000F;
        background: #fff;
        border: 1px solid #D1000F;
        padding: 10px;
        width: 100%;
        box-shadow: 0px 1px 2px 0px #1018280D;
    }


@media only screen and (max-width: 991px)
{
    .modal-image, .modal-image img {
        aspect-ratio: 2/1.5;
        object-fit: cover;
    }

    .custom-modal .modal-body {
        padding: 16px !important;
        padding-top: 62px !important;
    }

    .modal-content-area {
        padding: 0;
        padding-top: 32px;
    }

    .custom-modal .modal-body .close-modal {
        top: 12px;
        right: 12px;
    }
}