body {
    min-height: 100vh;
    background-color: #f8f9fb;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    font-family: "Poppins", sans-serif;
    /*    padding: 15px;*/
}

.copy-tooltip {
    position: absolute;
    background: #333;
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 9999;
}


.login-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 40px 30px;
    width: 100%;
    max-width: 480px;
    transition: all 0.3s ease;
}

    .login-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    }

    .login-card h3 {
        color: #333;
        font-weight: 600;
        text-align: center;
        margin-bottom: 25px;
    }

.form-label {
    font-weight: 500;
    color: #555;
}

.form-control {
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 10px 14px;
    transition: all 0.3s;
}

    .form-control:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    }

.btn-login {
    width: 100%;
    border-radius: 10px;
    font-weight: 600;
    padding: 10px;
    background-color: #0d6efd;
    color: #fff;
    transition: 0.3s;
    border: none;
}

    .btn-login:hover {
        background-color: #0b5ed7;
    }

.login-footer {
    text-align: center;
    margin-top: 20px;
    color: #555;
    font-size: 0.9rem;
}

    .login-footer a {
        color: #0d6efd;
        text-decoration: none;
    }

        .login-footer a:hover {
            text-decoration: underline;
        }

/* form page style */
.page-container {
    max-width: 950px;
    margin: auto;
}

.card-custom {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

    .card-custom:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }

.card-header {
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    padding: 15px;
}

.form-control {
    border-radius: 10px;
    border: 1px solid #ddd;
    padding: 10px 14px;
    transition: all 0.3s;
}

    .form-control:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
    }

.btn-save {
    border-radius: 10px;
    font-weight: 600;
    background-color: #0d6efd;
    color: #fff;
    padding: 10px 20px;
    border: 1px solid #bcd0ff;
    width: 100%;
    transition: 0.3s;
}

    .btn-save:hover {
        background-color: #0b5ed7;
    }

thead {
    background-color: #f1f3f5;
    text-align: center;
}

th {
    color: #555;
    font-weight: 600;
}

td {
    vertical-align: middle;
    text-align: center;
}

.action-btn {
    cursor: pointer;
    margin: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: #fff;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

    .action-btn i {
        font-size: 16px;
    }

    .action-btn.delete {
        color: #dc3545;
        border-color: #f0b6b9;
        background-color: #fff;
    }

        .action-btn.delete:hover {
            background-color: #dc3545;
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(220, 53, 69, 0.25);
        }

.card-body {
    padding: 25px;
}

/* shipment tracking */
:root {
    --dhl-yellow: #ffd700;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f6f8fb;
}

.dhl-brand img {
    width: 350px;
}

.status-badge {
    background: #fff6d9;
    color: #8a5a00;
    border: 1px solid rgba(0,0,0,0.04);
}

.timeline-event {
    position: relative;
    padding-left: 2rem;
    padding-bottom: 1.5rem;
    border-left: 3px solid #e9ecef;
}

    .timeline-event:last-child {
        border-left-color: transparent;
        padding-bottom: 0;
    }

.timeline-icon {
    position: absolute;
    left: -8px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.03);
}

.icon-delivered {
    background: #16a34a;
}

.icon-intransit {
    background: #0ea5e9;
}

.icon-processed {
    background: #f59e0b;
}

.piece-badge {
    background: #ebeff4;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.proof-link {
    background: #fff8f0;
    border: 1px solid #ffe8c7;
    color: #b25a00;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.text-warning {
    --bs-text-opacity: 1;
    color: #f2b600bd !important;
}

.proof-link:hover {
    background: #ffedd5;
    color: #b25a00;
}

.map-placeholder {
    border: 2px dashed #ffb300;
    border-radius: 12px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fff8e16e, #ffefc205);
}

.border-warning {
    --bs-border-opacity: 1;
    border-color: #d9b3404d !important;
}

.map-placeholder .city-name {
    font-size: 1.5rem;
    color: #d32f2f;
    letter-spacing: 1px;
}

.main-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

    .main-logo img {
        width: 300px;
    }

.dataTables_wrapper .dataTables_filter {
    margin-bottom: 10px !important;
}

.white-space-nowrap {
    white-space: nowrap;
}

thead.bg-secondary th {
    background-color: var(--bs-secondary);
    color: #fff;
}

#filterSection {
    transition: all 0.3s ease-in-out;
}

#btnToggleFilter {
    background-color: cadetblue;
    color: white
}

#searchbtn {
    background-color: cadetblue;
    color: white
}
.profit {
    background-color: cadetblue;
    color: white
}
    .profit:hover {
        background-color: #5f9ea0 !important;
        color: white
    }
.spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #ccc;
    border-top: 3px solid #28a745; /* green */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#sidebar {
    background-color: cadetblue;
}

    #sidebar .nav-link {
        border-radius: 10px;
        padding: 12px 18px;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }

        #sidebar .nav-link:hover {
            background-color: rgba(255, 255, 255, 0.15) !important;
        }

        #sidebar .nav-link.active {
            background-color: rgba(255, 255, 255, 0.25) !important;
            color: #ffffff !important;
            font-weight: 700;
            border-radius: 10px;
        }

            #sidebar .nav-link.active::before {
                content: '';
                position: absolute;
                left: 0;
                top: 0;
                bottom: 0;
                width: 5px;
                background: #ffffff;
                border-radius: 0 5px 5px 0;
            }

#searchbtn {
    background-color: cadetblue !important;
    color: white !important;
}

    #searchbtn:hover {
        background-color: #5f9ea0 !important;
    }

.card-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

.table-bordered th, .table-bordered td {
    border: 1px solid #dee2e6 !important;
}

.table-info {
    background-color: #d1ecf1 !important; 
}
.center-container {
    display: flex;
    flex-direction: column;
    align-items: center; 
    margin-top: 20px;
}

.profit-table {
    width: 450px;
    border-collapse: collapse;
    margin-bottom: 50px;
    font-family: Arial, sans-serif;
}

    .profit-table th,
    .profit-table td {
        border: 1px solid #000;
        padding: 8px 10px;
    }

    .profit-table th {
        background: #f2f2f2;
        font-weight: bold;
        text-align: left;
    }

.title-row {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}
@media print {
    body * {
        visibility: hidden;
    }

    #data, #data * {
        visibility: visible;
    }

    #data {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }

    /* Hide buttons */
    #downloadBtn, #printBtn {
        display: none !important;
    }
}