.dy-permit,
.dy-permit * {
    box-sizing: border-box;
}

.dy-permit {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
}

.dy-permit-card {
    width: 100%;
    height: 58px;
    padding: 0 18px;
    border-radius: 14px;
    color: #fff;
    background: #c41622;
    box-shadow: 0 8px 18px rgba(0, 0, 0, .1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dy-permit-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
}

.dy-permit-check {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dy-permit-check svg {
    display: block;
}

.dy-permit-title {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.2;
    white-space: nowrap;
}

.dy-permit-no {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    padding: 4px 4px 4px 14px;
}

.dy-permit-no-label {
    font-weight: 500;
    opacity: .95;
}

.dy-permit-no strong,
.dy-permit-no a,
.dy-permit a[href^="tel"] {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    pointer-events: none;
}

.dy-permit-copybtn {
    border: 0;
    background: #fff;
    color: #c41622;
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
    border-radius: 999px;
    padding: 6px 12px;
    cursor: pointer;
    flex: 0 0 auto;
}

.dy-permit-copybtn:hover {
    background: #fff5f5;
}

@media (max-width: 992px) {
    .dy-permit-title {
        font-size: 16px;
    }

    .dy-permit-no {
        font-size: 14px;
    }

    .dy-permit-card {
        padding: 0 16px;
    }

    .dy-permit-row {
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .dy-permit-card {
        height: auto;
        padding: 16px;
    }

    .dy-permit-row {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 10px;
    }

    .dy-permit-title,
    .dy-permit-no {
        white-space: normal;
        text-align: center;
    }

    .dy-permit-wrap {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Tutar ve adet kutuları aynı genişlikte kalsın */
.bagisKutusu .contact-form form > .d-flex:has(.adetKontrol) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 8px;
    width: 100%;
}

.bagisKutusu .contact-form form > .d-flex:has(.adetKontrol) > .input-box {
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
}

.bagisKutusu .contact-form form > .d-flex:has(.adetKontrol) > .ms-2 {
    margin: 0 !important;
}

.bagisKutusu .contact-form .adetKontrol {
    display: contents;
    margin-left: 0;
}

.bagisKutusu .adetKontrol .adetzorunlu,
.bagisKutusu .adetKontrol select.ozelVaryantSelect {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 62px;
    margin: 0;
}

.bagisKutusu .adetKontrol input.adetzorunlu {
    border: 1px solid #e3e9f4;
    border-radius: 8px;
    background: #fff;
}

.bagisKutusu .adetKontrol .adetText {
    margin-left: 0 !important;
    white-space: nowrap;
}
