 /* =====================================================
   TEKLİF MODAL
===================================================== */

.teklif-modal { font-family: Inter;
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


/* MODAL AÇIK */
.teklif-modal.active {
    opacity: 1;
    visibility: visible;
}


/* =====================================================
   MODAL KUTUSU
===================================================== */

.teklif-modal-box {
    width: 100%;
    max-width: 465px;

    background: #ffffff;

    border-radius: 17px;

    overflow: hidden;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.30);

    transform: translateY(25px) scale(0.97);

    transition:
        transform 0.3s ease;
}


.teklif-modal.active .teklif-modal-box {
    transform: translateY(0) scale(1);
}


/* =====================================================
   HEADER
===================================================== */

.teklif-modal-header {
    min-height: 82px;

    padding: 18px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: linear-gradient(
        135deg,
        #173e68,
        #102f51
    );

    color: #ffffff;
}


.teklif-header-sol {
    display: flex;
    align-items: center;
    gap: 14px;
}


/* HEADER ICON */

.teklif-header-icon {
    width: 42px;
    height: 42px;

    border-radius: 9px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.14);

    color: #ffffff;

    font-size: 20px;
}


.teklif-baslik {
    font-size: 15px;
    font-weight: 700;

    margin-bottom: 4px;
}


.teklif-alt-baslik {
    font-size: 11px;

    color: rgba(255, 255, 255, 0.45);

    max-width: 300px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* KAPAT BUTONU */

.teklif-kapat {
    width: 35px;
    height: 35px;

    border: 0;
    border-radius: 9px;

    background: rgba(255, 255, 255, 0.12);

    color: #ffffff;

    font-size: 27px;
    line-height: 30px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.2s ease;
}


.teklif-kapat:hover {
    background: rgba(255, 255, 255, 0.22);
}


/* =====================================================
   FORM
===================================================== */

.teklif-form {
    padding: 25px 24px 24px;
}


.teklif-form-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px 14px;
}


.teklif-field {
    width: 100%;
}


.teklif-field-full {
    margin-top: 18px;
}


.teklif-field label {
    display: block;

    margin-bottom: 7px;

    font-size: 12px;
    font-weight: 700;

    color: #173653;
}


.teklif-field label span {
    color: #ff5a36;
}


/* INPUT */

.teklif-field input,
.teklif-field textarea {
    width: 100%;

    box-sizing: border-box;

    border: 1px solid #dedede;

    border-radius: 9px;

    background: #ffffff;

    color: #333;

    font-family: inherit;

    font-size: 13px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.teklif-field input {
    height: 44px;

    padding: 0 13px;
}


.teklif-field textarea {
    min-height: 98px;

    padding: 12px 13px;

    resize: vertical;
}


.teklif-field input::placeholder,
.teklif-field textarea::placeholder {
    color: #a4a4a4;
}


.teklif-field input:focus,
.teklif-field textarea:focus {
    border-color: #ff633d;

    box-shadow:
        0 0 0 3px rgba(255, 99, 61, 0.10);
}


/* =====================================================
   ALT BUTONLAR
===================================================== */

.teklif-form-buttons {
    display: grid;

    grid-template-columns: 1fr 1.25fr;

    gap: 10px;

    margin-top: 22px;
}


.teklif-form-buttons button {
    height: 43px;

    border: 0;

    border-radius: 9px;

    font-family: inherit;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.2s ease;
}


/* İPTAL */

.teklif-iptal {
    background: #f3f3f3;

    color: #555;
}


.teklif-iptal:hover {
    background: #e8e8e8;
}


/* GÖNDER */

.teklif-gonder {
    background: #ff613a;

    color: #ffffff;

    box-shadow:
        0 5px 12px rgba(255, 97, 58, 0.20);
}


.teklif-gonder:hover {
    background: #f4512c;

    transform: translateY(-1px);
}


.teklif-gonder span {
    margin-right: 6px;
}


/* =====================================================
   MOBİL
===================================================== */

@media (max-width: 600px) {

    .teklif-modal {
        padding: 12px;
    }


    .teklif-modal-box {
        max-width: 100%;

        border-radius: 14px;
    }


    .teklif-modal-header {
        padding: 16px 18px;
    }


    .teklif-form {
        padding: 20px 18px;
    }


    .teklif-form-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .teklif-field-full {
        margin-top: 16px;
    }


    .teklif-form-buttons {
        grid-template-columns: 1fr 1fr;
    }

}