/* Match Add-to-Cart container EXACTLY */
.delhivery-pincode-section {
    width: 100%;
    margin-bottom: 20px;
}

/* Grey pill container (same as add-to-cart) */
.delhivery-pincode-wrapper {
    width: 100%;
    max-width: 100%;
    background: #f2f2f2;
    border-radius: 20px;        /* EXACT pill radius */
    padding: 8px 10px;          /* Same as cart wrapper */
    border: none;
    box-shadow: none;
}

/* Title */
.delhivery-title {
    font-size: 13px;
    font-weight: 600;
    color: #2f7d32;
    margin: 0 0 6px 6px;
}

/* Inner row */
.delhivery-input-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Input – same height as qty input */
.delhivery-input-group input {
    flex: 1;
    height: 40px;
    padding: 0 14px;
    border-radius: 14px;
    border: none;
    background: #ffffff;
    font-size: 14px;
    outline: none;
}

/* Button – same as Add to Cart button */
.delhivery-input-group button {
    height: 40px;
    padding: 0 22px;
    border-radius: 14px;
    border: none;
    background: #5fbf47;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

/* Result messages */
.delhivery-success,
.delhivery-error,
.delhivery-loading {
    font-size: 13px;
    font-weight: 600;
    margin-top: 6px;
    padding-left: 6px;
}

.delhivery-success { color: #2e7d32; }
.delhivery-error { color: #c62828; }
.delhivery-loading { color: #555; }

/* Mobile behavior – identical to theme */
@media (max-width: 480px) {
    .delhivery-input-group {
        flex-direction: row;
    }
}
