.small-box {
    border-radius: 15px !important;
    overflow: hidden; overflow-x: auto;
    transition: all 0.3s ease;
    position: relative;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    margin-bottom: 20px;
}

    .small-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    }

.small-box-footer, .inner p a {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px !important;
    background: rgba(255, 255, 255, 0.15);
    margin: 5px 0;
    border-radius: 8px;
    transition: 0.2s;
    text-decoration: none !important;
}

    .small-box-footer:hover, .inner p a:hover {
        background: rgba(255, 255, 255, 0.25) !important;
        padding-right: 20px !important;
    }

    .small-box-footer::after, .inner p a::after {
        content: '\f0da';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        font-size: 14px;
    }

.text-bg-warning {
    background-color: #f39c12 !important;
    color: white !important;
}

.text-bg-primary {
    background-color: #3498db !important;
}

.text-bg-success {
    background-color: #2ecc71 !important;
}

.text-bg-info {
    background-color: #17a2b8 !important;
}

.text-bg-danger {
    background-color: #e74c3c !important;
}

.text-bg-secondary {
    background-color: #95a5a6 !important;
}

.text-bg-dark {
    background-color: #34495e !important;
}

.text-bg-light {
    background-color: #ecf0f1 !important;
    color: #2c3e50 !important;
}

.small-box .inner h3 {
    font-weight: 700;
    font-size: 1.8rem;
}

.small-box-icon {
    opacity: 0.3;
    font-size: 50px !important;
    top: 10px !important;
    right: 15px !important;
}

.app-download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

    .app-download-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        border-color: #007bff;
        background: #fff;
    }

    .app-download-card i {
        font-size: 28px;
        margin-bottom: 12px;
        transition: transform 0.3s ease;
    }

    .app-download-card:hover i {
        transform: scale(1.1);
    }

    .app-download-card span {
        font-size: 13px;
        font-weight: 600;
        color: #444;
    }

@media (max-width: 576px) {
    .row-cols-1 > * {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
#kuryeTakipModal .modal-content {
    background-color: #ffffff;
}

#baslatKonumTakibiBtn {
    background: #2563eb;
    border: none;
}

    #baslatKonumTakibiBtn:hover {
        background: #1d4ed8;
        transform: translateY(-1px);
    }

.pulse-animation {
    animation: pulse-red 2s infinite;
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

@media (max-width: 991.98px) {
    #canliKonumHarita {
        height: 350px !important;
    }
}
.modal-content {
    box-shadow: 0 15px 50px rgba(0,0,0,0.2) !important;
}

.modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
    border: none;
    background: none;
    outline: none;
}

#siparisEkraniModal .modal-header {
    background: linear-gradient(45deg, #2196F3, #1976D2);
}

#paketTeslimatiModal .modal-header {
    background: #2c3e50;
}

#paketTeslimatiModal .bg-warning {
    background-color: #ff9800 !important;
}

.modal-body {
    max-height: 85vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

    .modal-body::-webkit-scrollbar {
        width: 6px;
    }

    .modal-body::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 10px;
    }
.caller-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.caller-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    line-height: 1.4;
}
    .caller-row.phone {
        color: #e74c3c;
        font-size: 16px;
        border-bottom: 1px dashed rgba(0,0,0,0.1);
        padding-bottom: 5px;
    }
    .caller-row.name {
        color: #2ecc71;
        font-weight: 600;
    }
    .caller-row.address {
        color: #3498db;
        font-size: 11px;
        font-style: italic;
        word-break: break-word;
    }
.caller-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #bdc3c7;
    padding: 20px 0;
}
.yanip-sonme {
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(1);
        color: #e74c3c;
    }

    50% {
        transform: scale(1.1);
        color: #c0392b;
    }

    100% {
        transform: scale(1);
        color: #e74c3c;
    }
}
.cari-full-compact {
    background: #fff;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-top:3vh;
}

    .cari-full-compact .section-header {
        font-size: 10px;
        font-weight: 800;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .cari-full-compact .section-header::after {
            content: "";
            flex: 1;
            height: 1px;
            background: #f1f5f9;
        }

    .cari-full-compact .input-group-text {
        background-color: #f8fafc;
        border-right: none;
        color: #94a3b8;
        font-size: 12px;
        min-width: 35px;
        justify-content: center;
    }

    .cari-full-compact .form-control {
        border-left: none;
        font-size: 13px;
        padding: 6px 10px;
        height: 35px;
    }

    .cari-full-compact textarea.form-control {
        height: auto;
        min-height: 45px;
        font-size: 12px;
    }

    .cari-full-compact .form-control:focus {
        border-color: #cbd5e1;
        box-shadow: none;
        background-color: #fff;
    }

    .cari-full-compact .input-group:focus-within {
        box-shadow: 0 0 0 2px rgba(21, 105, 205, 0.1);
        border-radius: 6px;
    }
:root {
    --card-bg: #ffffff;
    --primary-color: #4361ee;
    --text-main: #2b2d42;
    --text-muted: #8d99ae;
    --bg-soft: #f8f9fa;
}

.personel-card-modern {
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden; overflow-x: auto;
    position: relative;
}

    .personel-card-modern:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
    }

.personel-header-modern {
    padding: 25px 20px 15px;
    text-align: center;
    background: linear-gradient(180deg, rgba(67, 97, 238, 0.05) 0%, transparent 100%);
}

.img-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 15px;
}

.personel-resim-modern {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.status-indicator.online {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 14px;
    height: 14px;
    background: #2ec4b6;
    border: 2px solid #fff;
    border-radius: 50%;
}

.personel-isim {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.badge-modern {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.personel-info-list {
    padding: 0 20px 20px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.icon-box {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 0.9rem;
}

.bg-soft-primary {
    background: #eef2ff;
    color: #4361ee;
}

.bg-soft-info {
    background: #e0f7fa;
    color: #00acc1;
}

.bg-soft-success {
    background: #e8f5e9;
    color: #43a047;
}

.info-text label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1;
}

.info-text span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.personel-actions {
    display: flex;
    gap: 10px;
    padding: 15px 20px 20px;
    border-top: 1px dashed #eee;
}

.btn-main {
    flex-grow: 1;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.2s;
    font-size: 0.9rem;
}

    .btn-main:hover {
        background: #3046bc;
    }

.btn-icon {
    width: 42px;
    background: var(--bg-soft);
    color: var(--text-muted);
    border: none;
    border-radius: 12px;
    transition: 0.2s;
}

    .btn-icon:hover {
        background: #e9ecef;
        color: var(--text-main);
    }
.clickable-address {
    transition: all 0.2s ease;
}
    .clickable-address:hover {
        color: #0a58ca !important; 
        text-decoration: underline !important; 
    }
@media (max-width: 768px) {
    .table-responsive-sm { overflow-x: auto !important; }
    .card .header h2,
    .card .header h3 {
        font-size: 1rem !important;
        line-height: 1.4;
    }
    .btn-group,
    .nav-align-top {
        flex-wrap: wrap !important;
        gap: 0.25rem;
    }
    .input-group {
        flex-wrap: wrap;
    }
    .modal-dialog {
        margin: 0.5rem !important;
        max-width: calc(100vw - 1rem) !important;
    }
    section.content {
        padding: 0.5rem !important;
    }
    .footerimages-row img {
        width: 60px !important;
        height: 60px !important;
        object-fit: cover;
    }
}
@media (max-width: 576px) {
    .card {
        margin-bottom: 0.75rem;
    }
    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1.1rem; }
    .btn-action { padding: 0.35rem 0.5rem; }
}
@media (min-width: 992px) {
    .row-cols-lg-7 > * {
        flex: 0 0 auto;
        width: 14.2857%; 
    }
}