.kargobas-alan {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px !important;
    height: 100%;
    overflow: auto;
}

.kargobas-uyari {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 12px;
    line-height: 1.5;
}

.kargobas-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px 12px;
    align-items: end;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.kargobas-grup {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.kargobas-grup-dar input {
    max-width: 90px;
}

.kargobas-grup-vurgu .duzenle-kontrol {
    border-color: #10b981;
    background: #ecfdf5;
}
.kargobas-grup-vurgu .duzenle-kontrol:focus {
    border-color: #059669;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.15);
}

.kargobas-grup label {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.kargobas-ipucu {
    font-weight: 400;
    color: #94a3b8;
    font-size: 9px;
    text-transform: none;
    letter-spacing: 0;
}

.kargobas-form .duzenle-kontrol,.kargobas-bilgi-serit .duzenle-kontrol {
    height: 32px;
    padding: 4px 8px;
    font-size: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
}

.kargobas-aksiyonlar {
    display: flex;
    gap: 8px;
    align-items: end;
    justify-content: flex-end;
}

.kargobas-buton {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 34px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #1e293b;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, box-shadow 0.15s;
    white-space: nowrap;
    flex: 1 1 auto;
    justify-content: center;
}

.kargobas-buton:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.kargobas-buton:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    border-color: #cbd5e1;
}

.kargobas-buton-notr { }

.kargobas-buton-kaydet {
    background: #2563eb;
    color: #fff;
    border-color: #1d4ed8;
}

.kargobas-buton-kaydet:hover:not(:disabled) {
    background: #1d4ed8;
    border-color: #1e40af;
}

.kargobas-bilgi-serit {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.kargobas-bilgi-serit:empty { display: none; }

.kargobas-adres-alan {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid #e2e8f0;
}

.kargobas-adres-alan:last-child { border-bottom: none; }

.kargobas-adres-alan label {
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.kargobas-adres-alan select {
    height: 32px;
}

.kargobas-mesaj { font-size: 12px; }
.kargobas-mesaj:empty { display: none; }

.kargobas-mesaj-ok,
.kargobas-mesaj-hata {
    padding: 8px 14px;
    border-bottom: 1px solid #e2e8f0;
    border-left: 3px solid transparent;
    line-height: 1.5;
}

.kargobas-mesaj-ok {
    color: #166534;
    background: #f0fdf4;
    border-left-color: #10b981;
}

.kargobas-mesaj-hata {
    color: #991b1b;
    background: #fef2f2;
    border-left-color: #ef4444;
}

.kargobas-siparis-ozet,
.kargobas-cari-ozet {
    padding: 8px 14px;
    background: #fff;
    color: #475569;
    font-size: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.kargobas-siparis-ozet:last-child,
.kargobas-cari-ozet:last-child { border-bottom: none; }

.kargobas-siparis-ozet b,
.kargobas-cari-ozet b { color: #1e293b; }

.kargobas-onizleme-sarmal {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: safe center;
    justify-content: safe center;
    gap: 12px;
    padding: 20px;
    background: #e9edf3;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    overflow: auto;
    min-height: 300px;
}

.kargobas-onizleme-zoom {
    flex: 0 0 auto;
    position: relative;
}

.kargobas-onizleme-yuzey {
    position: relative;
    background: #fff;
    border: 1px solid #94a3b8;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    flex: 0 0 auto;
    transform-origin: top left;
}

.kargobas-onizleme-yuzey .etiket-parca {
    position: absolute;
    box-sizing: border-box;
    line-height: 1.15;
    word-break: break-word;
}

.kargobas-onizleme-yuzey .etiket-parca-resim-img {
    width: 100%;
    height: auto;
    display: block;
}

.kargobas-onizleme-sarmal.kargobas-bos .kargobas-onizleme-zoom,
.kargobas-onizleme-sarmal.kargobas-bos .kargobas-zoom-kontrol {
    display: none;
}

.kargobas-onizleme-bilgi {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #64748b;
    font-style: italic;
}

.kargobas-zoom-kontrol {
    display: flex;
    align-items: center;
    gap: 6px;
    font-style: normal;
}

.kargobas-zoom-kontrol button {
    width: 24px;
    height: 24px;
    border: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    line-height: 1;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kargobas-zoom-kontrol button:hover {
    background: #e2e8f0;
}

#kargobas-zoom-deger {
    min-width: 46px;
    text-align: center;
    font-weight: 600;
    color: #475569;
}

