/* BD Courier Checker Styles */
.bdcc-container {
    max-width: 896px; /* max-w-4xl */
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #3c434a;
}

.bdcc-title {
    font-size: 23px !important;
    font-weight: 400 !important;
    color: #1d2327 !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    border: none !important;
}

.bdcc-box {
    background: #fff;
    border: 1px solid #c3c4c7;
    box-shadow: 0 1px 1px rgba(0,0,0,0.04);
    padding: 24px;
    margin-bottom: 24px;
}

.bdcc-description {
    font-size: 14px;
    color: #3c434a;
    margin-top: 0;
    margin-bottom: 16px;
    line-height: 1.5;
}

.bdcc-form {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 0;
}

.bdcc-form input[type="text"] {
    flex: 1;
    max-width: 448px;
    padding: 8px 12px;
    border: 1px solid #8c8f94;
    border-radius: 3px;
    font-size: 14px;
    background-color: #fff;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
    outline: none;
    height: auto;
    line-height: 1.5;
    margin: 0;
}

.bdcc-form input[type="text"]:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
}

.bdcc-form button {
    background: #2271b1;
    color: #fff;
    border: 1px solid #2271b1;
    border-radius: 3px;
    padding: 8px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 1px 0 rgba(0,0,0,.08);
}

.bdcc-form button:hover {
    background: #135e96;
    border-color: #135e96;
}

.bdcc-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.bdcc-hidden {
    display: none !important;
}

#bdcc-loader {
    margin-top: 24px;
    font-size: 14px;
    color: #646970;
}

.bdcc-error {
    background: #fcf0f1;
    border-left: 4px solid #d63638;
    padding: 12px;
    color: #1d2327;
    margin-top: 16px;
    font-size: 13px;
}

/* Results section */
.bdcc-results-wrapper {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bdcc-results-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1d2327 !important;
    border-bottom: 1px solid #c3c4c7 !important;
    padding-bottom: 8px !important;
    margin: 0 !important;
}

.bdcc-results-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Card Results */
.bdcc-card {
    border: 1px solid #e2e4e7;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.bdcc-card-header {
    background: #f6f7f7;
    border-bottom: 1px solid #e2e4e7;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bdcc-card-title {
    font-weight: 600;
    font-size: 15px;
    color: #1d2327;
}

.bdcc-badge {
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
}

.bdcc-badge-danger {
    background: #fcf0f1;
    color: #d63638;
    border-color: #d63638;
}

.bdcc-badge-success {
    background: #f0f6ea;
    color: #00a32a;
    border-color: #00a32a;
}

.bdcc-badge-warning {
    background: #fdf2df;
    color: #dba617;
    border-color: #dba617;
}

.bdcc-badge-neutral {
    background: #f0f0f1;
    color: #646970;
    border-color: #c3c4c7;
}

.bdcc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 16px;
}

.bdcc-grid-item {
    padding: 16px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid;
}

.bdcc-item-neutral {
    background: #f9fafb;
    border-color: #f3f4f6;
}

.bdcc-item-success {
    background: #f0f6ea;
    border-color: #c1e1c1;
}

.bdcc-item-danger {
    background: #fcf0f1;
    border-color: #f5c6cb;
}

.bdcc-icon-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.bdcc-stat-val {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.bdcc-text-dark { color: #1d2327; }
.bdcc-text-success { color: #00a32a; }
.bdcc-text-danger { color: #d63638; }

.bdcc-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #646970;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.bdcc-progress-bar {
    width: 100%;
    background: #e5e7eb;
    height: 6px;
    border-radius: 9999px;
    margin-top: 12px;
    overflow: hidden;
}

.bdcc-progress-bar div {
    height: 100%;
}
.bdcc-bg-success { background: #00a32a; }
.bdcc-bg-danger { background: #d63638; }

@media (max-width: 640px) {
    .bdcc-form {
        flex-direction: column;
    }
    .bdcc-form input[type="text"],
    .bdcc-form button {
        width: 100%;
        max-width: none;
    }
    .bdcc-grid {
        grid-template-columns: 1fr;
    }
}
